[FFmpeg-devel] [PATCH] avfilter/vf_interlace: more accurate pts calculation

Vittorio Giovara vittorio.giovara at gmail.com
Sun Nov 30 14:50:45 CET 2014


On Sun, Nov 30, 2014 at 1:39 PM, Aleksey Vasenev <margtu-fivt at ya.ru> wrote:
> We keep only half source frames.
> Source: time_base 1/10 and ptss 0 1 2 3 4 5 6 7 8 9
> Before change: time_base 1/5 and ptss 0 1 2 3 4
> After change: time_base 1/10 and ptss 0 2 4 6 8

Yes, that's probably wrong, interlaced frames are generated using two
consecutive frames from a different time base, generating a completely
new one. Also I believe a deinterlacer will have a hard time
interacting with broken pts like that.
-- 
Vittorio


More information about the ffmpeg-devel mailing list