[vlc-devel] Re: vfilter2 vs. vfilter (was Re: Re: [PATCH] Sharpen video_filter)

Antoine Cellerier dionoea at videolan.org
Sat Feb 10 15:37:15 CET 2007


On Wed, Feb 07, 2007, Cedric Cocquebert wrote:
> I have made a similar sharpen filter (at J. Demeule submit last day). My 
> first code was in vfilter2, then I have seen that it was too slow (like 
> xxcv say)... I have decided to code on vfilter, and voilà ... it's much 
> faster ...
> 
> Why a such difference (with the same algorithm ...) 

It's an issue that i need to fix in the video output core. Basically
with video filter1 you're emulating a fake video output with it's own
thread and image buffers & all. Works great if you want to view the
filter client side but you can't stream. With video filter2 filters, you
can stream it, or view it localy since 0.9.0. But they get applied in
the main video output thread. So i beleive that it messes up timing
which is why they don't work too well ATM if you apply them using the
--video-filter option (works fine if you use them in transcode). I'm not
too sure about what a clean solution would be. But i agree that this
definitively needs to be fixed.

-- 
Antoine Cellerier
dionoea

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list