[FFmpeg-devel] [PATCH] cuvid: Always calculate second field PTS from frame rate

Miroslav Slugeň thunder.m at email.cz
Thu Feb 9 22:25:35 EET 2017


Dne 8.2.2017 v 23:59 Carl Eugen Hoyos napsal(a):
> 2017-02-08 23:31 GMT+01:00 Miroslav Slugeň <thunder.m at email.cz>:
>> It is much more robust solution to always calculate second field
>> (when deinterlacing) PTS from frame rate
> Without looking at your patch, I would have guessed that not
> every stream has a useful frame rate.
> (It's 1000fps for asf input)
>
> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Ok, i didn't know that, so what about to calculate PTS diff only between 
non-B frames pictures?

I also have patch for dropping second field when deinterlacing, should i 
commit it?

M.


More information about the ffmpeg-devel mailing list