[FFmpeg-user] ffmpeg duplicating frames

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Oct 22 23:23:58 CEST 2012


Yogesh Tyagi <yogesh.bit2006 <at> gmail.com> writes:

> ffmpeg -i temp.ts.ts -frames 200 temp.yuv
> ffmpeg version 0.9.2, Copyright (c) 2000-2012 the FFmpeg developers

(This is old, please test current git head.)

[...]

> frame=  200 fps= 11 q=0.0 Lsize=  607500kB time=00:00:06.67
> bitrate=745750.3kbits/s dup=3 drop=0
> video:607500kB audio:0kB global headers:0kB muxing overhead 0.000000%
> 
> ffmpeg shows that is has duplicated 3 frames.Why ffmpeg needs to
> duplicated frames even in case of decoding to YUV?

ffmpeg tries to output cfr, it seems that the input is not cfr, 
so frames have to be duplicated to produce cfr.

-vsync 0 should stop ffmpeg from duplicating frames.

Carl Eugen



More information about the ffmpeg-user mailing list