[FFmpeg-user] Help needed to work around incorrect DTS when capturing H264 from a Logitech C920

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Dec 16 16:29:36 CET 2014

Peter Rabbitson <rabbit+list <at> rabbit.us> writes:

> >>> I've used Logitech C920 and noticed that the camera
> >>> drops it's frame rate without signaling it.
> >
> > Then "-r" is definitely wrong: It assumes a constant
> > from rate.
> >
> Does ffmpeg even have a provision for "variable frame 
> rate" input? I.e. "blindly trust the PTS values"?

I may misunderstand but this is not only the default 
behaviour but the only "normal" behaviour: As said 
the input option "-r" is a hack that does not always 
work iirc.
(It cannot work for variable frame rate input so using 
it for vfr camera input has to be wrong.)

Carl Eugen

More information about the ffmpeg-user mailing list