VLC has at least two motion detection options. And since the original post mentions sout, I don't know what kind of option OP is looking for.<div><br></div><div>The motion detection video-filter can be used with</div><div>
vlc --video-filter=motion</div><div>(so :video-filter=motion should work with ActiveX for next video)</div><div><br></div><div>If you want to see motion vectors, then </div><div>vlc --ffmpeg-vismv=7</div><div>(assuming that video you are playing is decoded with libavcodec and that it uses motion vector based compression)</div>
<div><br><div class="gmail_quote">2010/11/30 firethumbs <span dir="ltr"><<a href="mailto:firethumbs@gmail.com">firethumbs@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="color:#1F497D">Aren’t any body to help me??</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aren’t any body to help me??</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aren’t any body to help me??</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aren’t any body to help me??</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aren’t any body to help me??</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aren’t any body to help me??</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aren’t any body to help me??</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aren’t any body to help me??</span></p><div class="im">
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">In the name of god</p>
<p class="MsoNormal">Dear buddy</p>
<p class="MsoNormal">Hello and respectfully yours</p>
</div><p class="MsoNormal">I’d like to write a program with C# and java that play a
movie and use motion detect option<span style="color:#1F497D"> of VLC component</span>.
Could you help me how to use motion detect item.</p><div><div></div><div class="h5">
<p class="MsoNormal">This is my incomplete code in C# that only show a movie,
pause and stop but I couldn’t use motion detect item.</p>
<p class="MsoNormal">Best regards</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:blue">using</span><span style="font-size:10.0pt;font-family:"Courier New""> System;</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:blue">using</span><span style="font-size:10.0pt;font-family:"Courier New""> System.Collections.Generic;</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:blue">using</span><span style="font-size:10.0pt;font-family:"Courier New""> System.ComponentModel;</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:blue">using</span><span style="font-size:10.0pt;font-family:"Courier New""> System.Data;</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:blue">using</span><span style="font-size:10.0pt;font-family:"Courier New""> System.Drawing;</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:blue">using</span><span style="font-size:10.0pt;font-family:"Courier New""> System.Linq;</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:blue">using</span><span style="font-size:10.0pt;font-family:"Courier New""> System.Text;</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:blue">using</span><span style="font-size:10.0pt;font-family:"Courier New""> System.Windows.Forms;</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:blue">namespace</span><span style="font-size:10.0pt;font-family:"Courier New""> vlc_cSharp</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">{</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> <span style="color:blue">public</span>
<span style="color:blue">partial</span> <span style="color:blue">class</span> <span style="color:#2B91AF">Form1</span> : <span style="color:#2B91AF">Form</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> {</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> <span style="color:blue">public</span> Form1()</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> {</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">
InitializeComponent();</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> }</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> <span style="color:blue">private</span> <span style="color:blue">void</span>
button1_Click(<span style="color:blue">object</span> sender, <span style="color:#2B91AF">EventArgs</span> e)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> {</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">
<span style="color:green">//
string[] option = new string[] {":sout=#duplicate{dst=display,dst=std
{access=udp,mux=ts,dst=224.0.0.1:1234}}" };</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">
<span style="color:blue">string</span>[] option = <span style="color:blue">new</span>
<span style="color:blue">string</span>[] { <span style="color:#A31515">":sout=#duplicate{dst=display,dst=std}"</span>
};</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">
axVLCPlugin21.playlist.clear();</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">
<span style="color:green">//axVLCPlugin21.playlist.add(@"H:\IPAS2009\AVSEQ01.avi",
"", option);</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">
axVLCPlugin21.playlist.add(<span style="color:#A31515">@"e:\Movies\monazereh.dat"</span>,
<span style="color:#A31515">""</span>, option);</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">
axVLCPlugin21.playlist.play();</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">
stop.Enabled = <span style="color:blue">true</span>;</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> }</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> <span style="color:blue">private</span> <span style="color:blue">void</span>
pause_Click(<span style="color:blue">object</span> sender, <span style="color:#2B91AF">EventArgs</span> e)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> {</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">
axVLCPlugin21.playlist.togglePause();</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> }</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> <span style="color:blue">private</span> <span style="color:blue">void</span>
stop_Click(<span style="color:blue">object</span> sender, <span style="color:#2B91AF">EventArgs</span> e)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> {</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">
axVLCPlugin21.playlist.stop();</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> }</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> }</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">}</span></p>
<p class="MsoNormal"> </p>
</div></div></div>
</div>
<br>_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br></blockquote></div><br></div>