How To - play multiple videos with DLL interface?

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.
darianmiller
New Cone
New Cone
Posts: 9
Joined: 16 Oct 2006 21:04

How To - play multiple videos with DLL interface?

Postby darianmiller » 07 Dec 2006 21:38

I'm assuming one LoadLibrary call and then a VLC_Create() for each instance to create? And then a corresponding VLC_CleanUP() and VLC_Destroy() for each handle created? If I do this, I get an exception on the second VLC_Destroy().

What's the recommended way of doing this - the main thread with two VLC_Play's executing? Or do I need to do a LoadLibrary() in separate thread for each video to play?

loic69
Blank Cone
Blank Cone
Posts: 37
Joined: 31 Jan 2007 18:10
Location: France

Postby loic69 » 04 May 2007 14:09

Hi

Do you find a solution ?

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:

Postby Jean-Baptiste Kempf » 04 May 2007 15:17

Yes, use VLC trunk.
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.

loic69
Blank Cone
Blank Cone
Posts: 37
Joined: 31 Jan 2007 18:10
Location: France

Postby loic69 » 04 May 2007 16:47

Yes, use VLC trunk.
Hums..
Think there is no LoadLibrary API example on SVN trunk, isn't it ?

adanecito
Cone that earned his stripes
Cone that earned his stripes
Posts: 151
Joined: 06 Mar 2007 17:59

Postby adanecito » 04 May 2007 19:45

Hi,

Last night for the first time I tried a test with the java bindings and was running two different videos (wmv & mov) at the same time. Although not specified I created two instances of the JVLC instead of the static one because of what I now know about the windows code it was not meant to handle two videos with one onstance.
I did only load the dlls once in my java code.

Regards,
-Tony


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 70 guests