[vlc-devel] Re: Filter Development
Adam Collins
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
filter
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
video stream.
so I need to find out how to define a new filter.
any ideas?
thanx
Adam
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
> filter.
> > all i can see at the moment is that it puts the name into the config
> file
> >
> > 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
> and
> > pass control to the functions defined in <videofilter>.c?
>
> You should take care of the gui implementation as the end. not at the
> start.
>
> For developing you should use the command line with --video-filter
> your_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 ?
>
> hth,
>
> --
> Xtophe
>
> --
> 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...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060921/6c40777a/attachment.html>
More information about the vlc-devel
mailing list