Skip to content

Commit

Permalink
the libav fork of ffmpeg has a fractional part in the fps output
Browse files Browse the repository at this point in the history
  • Loading branch information
chad3814 committed Dec 19, 2012
1 parent bd5a6aa commit 6113d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/processor.js
Expand Up @@ -374,7 +374,7 @@ exports = module.exports = function Processor(command) {
var ll = lastLine[lastLine.length - 2];
var progress;
if (ll) {
progress = ll.split(/frame=([0-9\s]+)fps=([0-9\s]+)q=([0-9\.\s]+)(L?)size=([0-9\s]+)kB time=(([0-9]{2}):([0-9]{2}):([0-9]{2}).([0-9]{2})) bitrate=([0-9\.\s]+)kbits/ig);
progress = ll.split(/frame=([0-9\s]+)fps=([0-9\.\s]+)q=([0-9\.\s]+)(L?)size=([0-9\s]+)kB time=(([0-9]{2}):([0-9]{2}):([0-9]{2}).([0-9]{2})) bitrate=([0-9\.\s]+)kbits/ig);
}
if (progress && progress.length > 10) {
// build progress report object
Expand Down

0 comments on commit 6113d32

Please sign in to comment.