VLC .NET Detecting movie end

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
mbenson
New Cone
New Cone
Posts: 3
Joined: 17 Jul 2007 10:58

VLC .NET Detecting movie end

Postby mbenson » 17 Jul 2007 11:08

Hi,

I have downloaded the .NET User Control for VLC (from http://wiki.videolan.org/.Net_Interface_to_VLC), I'm having trouble detecting when the movie has completed as there does not appear to be an event raised, similar to the PlayStateChanged fired from the Windows Media Player ActiveX control.

Any help would be much appreciated.

Marc

knuckels23
New Cone
New Cone
Posts: 2
Joined: 25 Jul 2007 11:31

Re: VLC .NET Detecting movie end

Postby knuckels23 » 26 Jul 2007 13:58

Hi Marc,

I am also working on the VLC .Net Interface.

I guess, the available enum are these...

public enum PlayerState
{
None = 0,
Playing = 1,
Paused = 2,
}

So i belive, the best that you use is VLanControl.PlayerState.Playing :D
Hey, I have a problem too, :oops:
I have also created the DLL,
After adding in the Tool Box, If I do drag and drop it in the IDE and set the neccessary code, I am not getting any output( I am trying to run a mp4 file),

The code that i am trying to use is

VLanControl.VlcUserControl vlc = new VLanControl.VlcUserControl();
vlc.Parent = this;
vlc.Dock = DockStyle.Fill;
this.vlc.AddAndPlay(@"D:\testMp4\sample.mp4", "");

I am adding this code in the Form_Load...

I am missing any thing or am i doing any thing wrong ?

Thanks in advance for any help :D

cheers
Paul

harirulez
Blank Cone
Blank Cone
Posts: 11
Joined: 12 Mar 2007 12:48

Re: VLC .NET Detecting movie end

Postby harirulez » 16 Aug 2007 12:09

Hi Paul,

I am facing the same problem that you had mentioned.
Did you find a way to get it working?
It would be great if you could let me know the solution.

Thanks and regards,
Hari
(nayan@iflect.com)
GOD is for REAL until explicitly declared as an INTEGER ;)


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 56 guests