Page 1 of 1

How to play 2 different videos simultaneously?

Posted: 15 May 2010 10:45
by WippelDa
Hi folks!

I try to build a little demo for our current project to demonstrate that we need to migrate to vlc 1.1 (using vlc 1.0.3 now).

Used Frameworks: libvlc (1.1), Qt 4.5.2

I want to play 2 videos simultaneous. So far i had no problem. Creating 2 instances of libvlc_media_player_t from 1 libvlc_instance_t and embedd them into a QWigdet. But when i try to release them i ran into some problems..

When i release the libvlc_media_player_t thru libvlc_media_player_release i get this error:
[0xc610c40] main input debug: Program doesn't contain anymore ES
[0xc610c40] main input debug: thread ended
[0xc610c40] main input debug: thread times: real 0m23.884091s, kernel 0m0.015600s, user 0m0.093600s
[0xc610c40] main input debug: Destroying the input for 'Harry Potter and the Goblet of Fire - Theatrical Trailer'
[0xc610c40] main input debug: TIMER input launching for 'potter.avi' : 490.000 ms - Total 490.000 ms / 1 intvls (Avg 490
.000 ms)
[0x16425c88] direct3d generic debug: Direct3D scene released successfully
[0x16425c88] direct3d generic debug: DirectXEventThread terminating
[0x16425c88] direct3d generic debug: DirectXCloseWindow
[0x16425c88] direct3d generic debug: WinProc WM_DESTROY
Assertion failed: used[n], file drawable.c, line 123

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
QObject::killTimers: timers cannot be stopped from another thread
I hope someone is able to help me...
David

Re: How to play 2 different videos simultaneously?

Posted: 15 May 2010 12:19
by Rémi Denis-Courmont
This looks like a bug in LibVLC.

Re: How to play 2 different videos simultaneously?

Posted: 15 May 2010 14:54
by WippelDa
Any suggestions?

Re: How to play 2 different videos simultaneously?

Posted: 15 May 2010 18:40
by Rémi Denis-Courmont
Update to tomorrow's VLC build.

Re: How to play 2 different videos simultaneously?

Posted: 15 May 2010 19:03
by WippelDa
Update to tomorrow's VLC build.
i own you one! :D

Re: How to play 2 different videos simultaneously?

Posted: 16 May 2010 12:48
by WippelDa
Problem solved. Bug gone. Thxs :)