Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

the libav fork of ffmpeg has a fractional part in the fps output

  • Loading branch information...
commit 6113d32a60d2e92fa9655d0f740887b51c6c7b11 1 parent bd5a6aa
chad3814 chad3814 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/processor.js
2  lib/processor.js
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.