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

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 14 20:29:42 CET 2016

Jean-Marie Baran <jean-marie.baran <at> ama.bzh> writes:

> 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.

Carl Eugen

More information about the ffmpeg-user mailing list