[FFmpeg-devel] [PATCH] cuvid: Always calculate second field PTS from frame rate
nfxjfg at googlemail.com
Thu Feb 9 08:49:36 EET 2017
On Wed, 8 Feb 2017 23:31:54 +0100
Miroslav Slugeň <thunder.m at email.cz> wrote:
> It is much more robust solution to always calculate second field (when
> deinterlacing) PTS from frame rate, then relating on previous PTS,
> because if there are B frames in input and some video frames are
> corrupted (dropped) it will calculate wrong PTS for second field and
> could hang on encoding in do_video_out.
Seems more like it'd make it less robust, because many files don't have
a useful framerate set.
I'm not sure why encoding is hanging (?), but that sounds like a
Also, such reasoning should go into the commit message, instead of just
More information about the ffmpeg-devel