libvlc events and callbacks

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Kairos
Blank Cone
Blank Cone
Posts: 45
Joined: 01 Mar 2008 01:49
Operating System: Windows
Location: Scottsdale, Az
Contact:

libvlc events and callbacks

Postby Kairos » 01 Mar 2008 02:10

I've downloaded the source and binaries for vlc 0.8.6e and have been using those to create a .net Interop wrapper for most functions defined in the new API here. For the most part, everything works fine in the application I'm writing. The problem is that the new API doesn't seem to have any events or callbacks defined. How am I supposed to know when a file has finished playing? I could poll the libvlc, but I would have to do it every couple hundred milliseconds. With .net's overhead when using interop, I'm afraid to do this. It could easily tax slower cpus. To make things more confusing I've found this page which lists an event manager that I could use, but I can't find it anywhere in the code (along with a lot of other structures listed on that page).

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libvlc events and callbacks

Postby Jean-Baptiste Kempf » 01 Mar 2008 03:22

the doxygen page is about the trunk version, which is NOT 0.8.6e, but 0.9.0.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Kairos
Blank Cone
Blank Cone
Posts: 45
Joined: 01 Mar 2008 01:49
Operating System: Windows
Location: Scottsdale, Az
Contact:

Re: libvlc events and callbacks

Postby Kairos » 01 Mar 2008 04:43

Ah yes, I found daily builds and the SVN in the trunk, but no official release so I'm guessing its not stable yet? I'd much rather use the 0.9.0 version, how far away is that from a stable release? I know how its bad to ask when, but if the API isn't going to change and the release is within the next 3 months or so then I'd probably just use that version. Please forgive my questions if they seem dumb, I just started playing with vlc yesterday.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libvlc events and callbacks

Postby Jean-Baptiste Kempf » 01 Mar 2008 17:10

This is a tricky question.
We are trying to freeze in the next days...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

anolae
New Cone
New Cone
Posts: 2
Joined: 07 Feb 2008 19:01

Re: libvlc events and callbacks

Postby anolae » 20 Apr 2008 17:31

Hello,

I hope you don't mind my bringing this topic up. I was just wondering how far you've gone with events. I have been trying to play around with them, but I can't seem to have them working properly.

Thanks for your time.

anolae


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 5 guests