[FFmpeg-user] Let ffmpeg pick correct fps from stdin

Jean-Marie Baran jean-marie.baran at ama.bzh
Fri Jan 15 09:32:17 CET 2016


>> Input #1, mjpeg, from 'pipe:':
>>     Duration: N/A, bitrate: N/A
>>       Stream #1:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown),
>> 720x480 [SAR 1:1 DAR 3:2], 25 tbr, 1200k tbn, 25 tbc
> mjpeg has no timestamps and therefore no framerate,
> 25fps is the default.
> The mjpeg demuxer understands the "framerate" option,
> you can use it to specify a framerate.
>
Just to make sure, this means that I have no other choice than to 
specify "-r myfps" before the input video stream ?

-- 
*Jean-Marie Baran*



More information about the ffmpeg-user mailing list