I want to play video stream in my C# application. I try to use VLC 2.0.3 ActiveX (v2) to do this. But i have a problem.
For test purpose i use this video stream: [url]rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov[/url]
When i open it in VLC player than play well, but when i try to play in ActiveX it does not.
In VLC version 1.1.11 stream was played in both cases (activeX & VLC player).
Here is some code how i use activeX in my application:
Code: Select all
vlcPlugin.playlist.items.clear(); // vlcPlugin has type: AxAXVLC.AxVLCPlugin2
string uri = @"rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov";
//var options = new string[] { ":ffmpeg-threads=1" };
//vlcPlugin.playlist.add(uri, null, options);
vlcPlugin.playlist.add(uri);
vlcPlugin.playlist.play();
Another problem with 2.0.x (2.1.0-git too) that I can't pass options to playlist entry (commented lines in code above).
Thanks for any help.