How to play 2 different videos simultaneously?

This forum is about all development around libVLC.
WippelDa
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Dec 2009 10:53

How to play 2 different videos simultaneously?

Postby WippelDa » 15 May 2010 10:45

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to play 2 different videos simultaneously?

Postby Rémi Denis-Courmont » 15 May 2010 12:19

This looks like a bug in LibVLC.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

WippelDa
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Dec 2009 10:53

Re: How to play 2 different videos simultaneously?

Postby WippelDa » 15 May 2010 14:54

Any suggestions?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to play 2 different videos simultaneously?

Postby Rémi Denis-Courmont » 15 May 2010 18:40

Update to tomorrow's VLC build.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

WippelDa
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Dec 2009 10:53

Re: How to play 2 different videos simultaneously?

Postby WippelDa » 15 May 2010 19:03

Update to tomorrow's VLC build.
i own you one! :D

WippelDa
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Dec 2009 10:53

Re: How to play 2 different videos simultaneously?

Postby WippelDa » 16 May 2010 12:48

Problem solved. Bug gone. Thxs :)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 6 guests