[FFmpeg-devel] [PATCH] avfilter: add framerate video filter

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Aug 29 18:32:23 CEST 2015

Marton Balint <cus <at> passwd.hu> writes:

> Consider you have a 25i source, and you want 30i (60p for display)
> Are you referring to this filter chain for deinterleaving?
> -vf il=l=d:c=d,framerate=30,il=l=i:c=i,yadif=1
> And this for deinterlacing?
> -vf yadif=1,framerate=60,interlace,yadif=1

The original task afaiu was not to provide a progressive 
output stream (in that case, deinterlacing first is of 
course correct) but to provide an interlaced stream.
(I don't care about the reason.)

I thought - and it seems that Robert agrees now - that 
apart from being faster, deinterleaving has a good 
chance of providing better quality.

> The second is much, much better.

Why do you think so?
(Apart from the fact that I don't understand the 
filterchain "interlace,yadif": It never makes sense imo.)

Carl Eugen

More information about the ffmpeg-devel mailing list