On Wed, Dec 18, 2013 at 6:52 PM, Brian Matherly <pez4br...@yahoo.com> wrote:
> Dan,
>
> I'd like to implement a deinterlace mode similar to the VLC Yadifx2 filter
> that produces a unique frame from each field (bob) with interpolation. But

Does this output images at half the video's vertical resolution?

> I'm not sure if this is possible in MLT because the filter would have to
> change the frame rate of the producer.
>
> One idea i have is to intercept the deinterlace mode in producer_avformat
> and attach the libavfilter yadif filter with mode=1

libavfilter needs more investigation into how it can fit into MLT.
Last time I looked, it looked like it had some internal buffering that
could make it tricky, but I could be wrong. Also the mapping of
parameters into mlt_properties needs investigation.

> http://www.ffmpeg.org/ffmpeg-filters.html#yadif-1
> But this seems like a hack.
>
> Any other ideas of how I could go about this?

Not sure right now. Frame rate handling needs more work in general.
Take a look at the framebuffer producer. That serves as an example of
not only what could be done but also points at something that needs
solving in general. For example, the dgraft/telecide filter for
inverse telecine has frame rate reduction needs as well. Maybe
mlt_producer needs to be enhanced.

> Basically, I'm looking for the best deinterlacer possible. CPU cycle cost is
> no object. I perceive yadif + doubling to be my best option.
>
> ~BM


-- 
+-DRD-+

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to