ActiveX in C# Form with directshow

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
ajsomeren2
New Cone
New Cone
Posts: 2
Joined: 26 May 2010 10:41

ActiveX in C# Form with directshow

Postby ajsomeren2 » 26 May 2010 10:54

Hello,

I want to use the activeX control in a c# form. When I must play an avi file it's working well.
But I want to play a directshow source but it's not working. Underneath a code example.
Can anyone tell me what i'm doing wrong?

Kind regards,
Arjan

vlc2.playlist.clear();
string options = ":dshow-vdev=Trust WB-1400T Webcam :dshow-adev=none";
int res = vlc2.playlist.add("dshow://","Trust WB-1400T Webcam", options);
vlc2.playlist.play();

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 11 guests