libVLC C# Loop Video

This forum is about all development around libVLC.
izzop
New Cone
New Cone
Posts: 4
Joined: 09 Mar 2010 15:30

libVLC C# Loop Video

Postby izzop » 09 Mar 2010 15:40

Good Afternoon,

I've downloaded the following sample project; http://www.helyar.net/files/MyLibVLC.zip from the tutorial http://www.helyar.net/2009/libvlc-media-player-in-c/

Using this sample what I'd like to try and do is: -

1) Get the selected Video to Loop.

2) Instead of selecting just one video, have VLC play all movies in a specified directory.

My experience with C# is limited, but has anyone got any ideas or pointers on how I can achieve this?

Thanks & Regards

Zingaro2002
Blank Cone
Blank Cone
Posts: 47
Joined: 30 May 2006 09:58

Re: libVLC C# Loop Video

Postby Zingaro2002 » 07 May 2010 13:07

Hi,
I'm also using MyLibVLC in an application with Visual Studio 2008.

Have you solved the 'loop' problem?

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: libVLC C# Loop Video

Postby XilasZ » 10 May 2010 15:47

I don't know about this sample (and can't take a look at it right now), but you could take a look to libvlc_media_list* functions.

Or you could handle the loop and the playlist yourself, by playing one file after another and listening to VLC events, to know when to switch file.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 15 guests