[FFmpeg-devel] [PATCH] avfilter: add framerate video filter
krueger at lesspain.de
Sat Aug 29 21:32:30 CEST 2015
On Sat, Aug 29, 2015 at 6:32 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 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.)
Yes, I was looking at the case of converting 60i to 50i.
> I thought - and it seems that Robert agrees now - that
> apart from being faster, deinterleaving has a good
> chance of providing better quality.
I have to admit I did not consider using yadif in a frame-for-each-field
mode. If the results are better this way would have to be tested but the
result of my initial test with deinterleaving and reinterleaving looked
good and I also looked at the results on a progressive display using VLC
with yadif as deinterlacer and I didn't see any artifacts when playing the
I did not test increasing the frame rate. It may be different when doing
that. Anyway, I am happy to have an additional viable option I had not
thought about before.
More information about the ffmpeg-devel