[vlc-devel] Re: Filter Development
mr.adamcollins at gmail.com
Thu Sep 21 12:38:49 CEST 2006
yeah I'm trying to do that, but all the video filters do some pretty complex
stuff and have their own specific structures defined.
I would like to start with a fresh .c file and in that file define a new
that has access to the video output stream
from there I want to be able to access the pixel arrays and run some
obstacle detection algorithms im developing.
then include win32out.dll file that handles parallel port comunications and
output a signal on the parrallel port when an object is detected in the
so I need to find out how to define a new filter.
On 9/21/06, Christophe Mutricy <xtophe at nxtelevision.com> wrote:
> On Thu, Sep 21, 06 at 11:03 +0200, Adam Collins wrote:
> > Hi all
> > I am trying to write a new video filter for VLC, I can add a new filter
> > checkbox to the extra panel but cannot find how vlc implements that
> > all i can see at the moment is that it puts the name into the config
> > ChangeVFiltersString( p_intf, vfilters[i_filter].psz_filter ,
> > event.IsChecked() ? VLC_TRUE : VLC_FALSE );
> > which then does
> > config_PutPsz( p_intf, "vout-filter", psz_string );
> > so the name of the filter is now in the config structure
> > but then i lose it, does the renderer then parse the config structure
> > pass control to the functions defined in <videofilter>.c?
> You should take care of the gui implementation as the end. not at the
> For developing you should use the command line with --video-filter
> For the video filter you should look how it's done in
> modules/video_filter. and take example on a simple one or one doing
> stuff similar to the one you're developing. Btw, what kind of filter are
> you doing ?
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel