yeah I'm trying to do that, but all the video filters do some pretty
complex stuff and have their own specific structures defined.<br>
I would like to start with a fresh .c file and in that file define a new filter<br>
that has access to the video output stream<br>
from there I want to be able to access the pixel arrays and run some obstacle detection algorithms im developing.<br>
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.<br>
<br>
<br>
so I need to find out how to define a new filter.<br><br>
any ideas?<br>
<br>
thanx<br>
Adam <br>
<br><div><span class="gmail_quote">On 9/21/06, <b class="gmail_sendername">Christophe Mutricy</b> <<a href="mailto:xtophe@nxtelevision.com">xtophe@nxtelevision.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Sep 21, 06 at 11:03 +0200, Adam Collins wrote:<br>> Hi all<br>><br>> I am trying to write a new video filter for VLC, I can add a new filter<br>> checkbox to the extra panel but cannot find how vlc implements that filter.
<br>> all i can see at the moment is that it puts the name into the config file<br>><br>> ChangeVFiltersString( p_intf, vfilters[i_filter].psz_filter ,<br>> event.IsChecked()
? VLC_TRUE : VLC_FALSE );<br>><br>> which then does<br>><br>> config_PutPsz( p_intf, "vout-filter", psz_string );<br>><br>> so the name of the filter is now in the config structure<br>><br>
> but then i lose it, does the renderer then parse the config structure and<br>> pass control to the functions defined in <videofilter>.c?<br><br>You should take care of the gui implementation as the end. not at the
<br>start.<br><br>For developing you should use the command line with --video-filter<br>your_filter<br><br>For the video filter you should look how it's done in<br>modules/video_filter. and take example on a simple one or one doing
<br>stuff similar to the one you're developing. Btw, what kind of filter are<br>you doing ?<br><br>hth,<br><br>--<br>Xtophe<br><br>--<br>This is the vlc-devel mailing-list, see <a href="http://www.videolan.org/vlc/">http://www.videolan.org/vlc/
</a><br>To unsubscribe, please read <a href="http://developers.videolan.org/lists.html">http://developers.videolan.org/lists.html</a><br><br></blockquote></div><br>