Page 1 of 1

libVLC C# Loop Video

Posted: 09 Mar 2010 15:40
by izzop
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

Re: libVLC C# Loop Video

Posted: 07 May 2010 13:07
by Zingaro2002
Hi,
I'm also using MyLibVLC in an application with Visual Studio 2008.

Have you solved the 'loop' problem?

Re: libVLC C# Loop Video

Posted: 10 May 2010 15:47
by XilasZ
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.