Stream Video with VLC ActiveX using C#
Posted: 30 Mar 2006 12:49
Hello,
I would like to stream a video using the VLC activex with C#.
I'm developping under VS 2005 with .NET Framework 2.0.
I've seen examples of code and I succeeded to show the video using this MRL
But then, I would like to specify an output that's why I created these lines :
I think that the ActiveX dont' use my options array.
Thank you very much for your help.
Stéphane
I would like to stream a video using the VLC activex with C#.
I'm developping under VS 2005 with .NET Framework 2.0.
I've seen examples of code and I succeeded to show the video using this MRL
It's works fine.string MRL = "dshow:// :dshow-vdev=\"Osprey-230 Video Device 1\" :dshow-adev=\"\" :dshow-size=\"640x480\"";
But then, I would like to specify an output that's why I created these lines :
An then I wrote this line :string[] options = new string[1];
options[0] = ":sout=#transcode{vcodec=mp4v,vb=512,scale=1}:duplicate{dst=std{access=udp,mux=ts,url=192.168.1.9:1234}}";
When I play, I see the video of my acquisition in the ActiveX. But when i want to connect via an another VLC Player I don't have any answer of my player.axVLCPlugin1.addTarget(MRL, options, VLCPlaylistMode.VLCPlayListInsert, 0);
I think that the ActiveX dont' use my options array.
Thank you very much for your help.
Stéphane