[FFmpeg-user] Why does fps == 1 for a webm videos?

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Mar 21 16:02:19 CET 2013


Misha Penkov <misha.penkov <at> gmail.com> writes:

> Unfortunately, my use case actually is to output raw video. 
> I'm passing it into an in-house application that that only 
> accepts raw video. The app performs shot segmentation, so 
> it needs to be accurate about frame numbers.

How does your application deal with variable frame rate / 
how does it know the framerate of your yuv file?

> It seems that -vsync 0 fixes the problem of duplicate frames. 
> Could it cause the frame numbers in the YUV and webm files 
> to no longer match up?

It on the contrary guarantees that every input frame matches one 
output frame (no matter the timestamp).

Carl Eugen



More information about the ffmpeg-user mailing list