Page 1 of 1

How To - play multiple videos with DLL interface?

Posted: 07 Dec 2006 21:38
by darianmiller
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?

Posted: 04 May 2007 14:09
by loic69
Hi

Do you find a solution ?

Posted: 04 May 2007 15:17
by Jean-Baptiste Kempf
Yes, use VLC trunk.

Posted: 04 May 2007 16:47
by loic69
Yes, use VLC trunk.
Hums..
Think there is no LoadLibrary API example on SVN trunk, isn't it ?

Posted: 04 May 2007 19:45
by adanecito
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