Proble in C# using VLC

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
hailang525
New Cone
New Cone
Posts: 8
Joined: 15 Oct 2008 03:39

Proble in C# using VLC

Postby hailang525 » 15 Oct 2008 03:56

Hello, everyone.
I met some problems when I use C# in Visual Studio. I add the VLC-activeX(AXVLC.DLL) control to C# problem to use VLC play video.
Firstly, I made a C/S struture. At client , I send command made sever play video.
I use the function addtarget(string,option,...) to add file path , and then play(), It can play, but it always remember the contest last time I sent and then play this time which I sent the command. I have use playclearlist() to remove list, but it still remember the video last time before. I really don not know why.

Secondly, I add VLC screen into C# windows application form, it can play at a form which I create. But it played a few seconds and then show the blue screen, my computer completely died....

I am really appreciated someone can help me.

mnenn
New Cone
New Cone
Posts: 1
Joined: 22 Jan 2009 21:10

Re: Proble in C# using VLC

Postby mnenn » 22 Jan 2009 21:45

Diddo:

C# code snippet:

Code: Select all

var options = new object[] { ":dshow-vdev=Euresys PICOLO PRO2 sn/78109 - VID1", }; _axVLCPlugin21.playlist.add("dshow:// ", "C-ARM", options); _axVLCPlugin21.playlist.playItem(0); if(!_axVLCPlugin21.playlist.isPlaying) { MessageBox.Show("Video not active"); } ... while(_axVLCPlugin21.playlist.isPlaying) { _axVLCPlugin21.AutoPlay = false; _axVLCPlugin21.playlist.stop(); _axVLCPlugin21.playlist.clear(); }


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 15 guests