Page 1 of 1

vlc 1.0.0 activex streaming .net

Posted: 06 Aug 2009 08:19
by kpytuk
Hello,

i was using vlc 0.8.6 and 0.9.9 activex in my c#.net application (using typelibs) for streaming via http to set-top-box, and it was all just fine. But after upgrade to vlc 1.0.0 streaming doesn't work anymore. i guess that options of streaming have changed in version 1.0.0.

my streaming options are:

Code: Select all

m_options = new string[] { ":sout=#transcode{vcodec=h264,vb=100,scale=1,scodec=dvbs,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=http,mux=ts,dst=192.168.71.19:8856}}", ":sout-all" };
Can anyone help me with it?

Re: vlc 1.0.0 activex streaming .net

Posted: 06 Aug 2009 10:04
by thannoy
sout feature is no more allowed through ActiveX since it can be used by crap web designer to mess/crash your computer.

Re: vlc 1.0.0 activex streaming .net

Posted: 06 Aug 2009 10:33
by kpytuk
what option i have to use instead of sout?

Re: vlc 1.0.0 activex streaming .net

Posted: 06 Aug 2009 12:06
by thannoy
Today, there is no option except to recompile VLC or use libvlc directly. It have been disabled in web plugins to not allow someone to mess your computer with them. ActiveX is a web plugin so if you are able to mess your computer with it, everybody will be able to do the same using a crap web page.

I am surprised it works in 0.9.9. Thought it was disabled since 0.9.9 included.

Re: vlc 1.0.0 activex streaming .net

Posted: 06 Aug 2009 13:52
by kpytuk
thank you.

Is there any documentation or samples on using vlc 1.0.0 with .net? i've found wrapers for 0.9.9 and 0.8.6, but not for 1.0.0

Re: vlc 1.0.0 activex streaming .net

Posted: 06 Aug 2009 14:01
by thannoy
I think/hope 1.0.* is quite close to 0.9.*. You may find this helpful:
- C_Sharp wiki page.
- http://www.videolan.org/developers/vlc/ ... ibvlc.html