Two Simultaneous Videos

About usage, announcement and development of skins for VLC
michey22
New Cone
New Cone
Posts: 1
Joined: 26 Jan 2007 15:24

Two Simultaneous Videos

Postby michey22 » 26 Jan 2007 15:37

When creating a new skin, is it possible to have two Video components within a single Layout tag, each playing a different video at the same time? If so, how?

Thanks ...

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 26 Jan 2007 19:59

No it's not. It's not even possible to play 2 videos at the same time with the same VLC...

joseph5
Cone that earned his stripes
Cone that earned his stripes
Posts: 177
Joined: 29 Nov 2003 19:12

Postby joseph5 » 26 Jan 2007 21:02

It's not even possible to play 2 videos at the same time with the same VLC...
Yes, it is. Just create a matroska file with 2 video tracks. VLC will play both of them at the same time.

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 26 Jan 2007 21:18

Yes, but the videos are not unrelated in the sense that they come from the same source file. So having 2 Video controls for the very rare cases where the same files contains 2 video tracks seems pointless to me.
Anyway, the skins engine doesn't support that, only one Video control can be used at the same time (the second track would probably be played in its own unskinned window).

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 26 Jan 2007 22:42

It's possible using VLM :) /me hides
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

chatdeau
New Cone
New Cone
Posts: 2
Joined: 16 Mar 2008 09:08

Re: Two Simultaneous Videos

Postby chatdeau » 16 Mar 2008 09:23

Hi,

The only way I could achieve to play 2 videos simultaneously on Mac OS X was to duplicate the VLC application with another name. I duplicated mine with VLC2.

The "problem" with this is that you have to open the second one manually to then open the second video file you want to play.

Another thing (that I didn't try yet) that could work would be to associate, for instance, AVI files with VLC and MPEG files with VLC2. Then, the possibilities "multiply"; that is, if it works.

Hope it helps anyone, as a "cheap" workaround.

- chatdeau -

animaux
New Cone
New Cone
Posts: 1
Joined: 15 Apr 2008 17:36

Re:

Postby animaux » 15 Apr 2008 18:27

It's not even possible to play 2 videos at the same time with the same VLC...
Yes, it is. Just create a matroska file with 2 video tracks. VLC will play both of them at the same time.
I was able to do that like you described. Anyway, I’m interested in having 2 different video streams in synchronized play on two displays via a single instance of vlc. It works fine with 2 displays in windowed mode, but I would need to to that in fullscreen. When switching to fullscreen, the main screen does swith to proper fullscreen mode, while the other video retains windowsed mode on the secondary screen. As soon as I try to switch the second window with the second video stream to fullscreen, the whole secondary screen turns white (!) and vlc crashes.

Does anyone know how to do this properly? Anyone able to replicate this behaviour?

I tried this with a mkv-file containing 2 h.264-video-streams in xga at 10fps each. VLC Version is 8.8.6d Janus (Intel) on Mac OS 10.5.2 on a first generation MacBook Pro.

Thanks!

geoffreyshea
New Cone
New Cone
Posts: 1
Joined: 20 Apr 2008 22:32

Re: Two Simultaneous Videos

Postby geoffreyshea » 20 Apr 2008 22:36

I've had no trouble opening two instances of VLC on WinXP and playing different videos full screen on different monitors. I'd like to try it on a MacBook Pro, but what are you using for dual monitors? Built-in and external?

Are you using a script to launch the player, to ensure sync?

CloudStalker
Big Cone-huna
Big Cone-huna
Posts: 2581
Joined: 14 Jan 2007 19:00
VLC version: OVER 9000!!!
Operating System: It's...blue screen
Location: Heaven? No no. What's that other place that starts with an "H"? Oh yes: Home. ^_^

Re: Re:

Postby CloudStalker » 07 May 2008 20:31

It's not even possible to play 2 videos at the same time with the same VLC...
Yes, it is. Just create a matroska file with 2 video tracks. VLC will play both of them at the same time.
I was able to do that like you described. Anyway, I’m interested in having 2 different video streams in synchronized play on two displays via a single instance of vlc. It works fine with 2 displays in windowed mode, but I would need to to that in fullscreen. When switching to fullscreen, the main screen does swith to proper fullscreen mode, while the other video retains windowsed mode on the secondary screen. As soon as I try to switch the second window with the second video stream to fullscreen, the whole secondary screen turns white (!) and vlc crashes.!
Try disabling the Overlay Video Output in Preferences -> Video -> Overlay Video output (Disable). This should at least let you view the video on a second monitor.


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 31 guests