How to Duplicate 1 souce for multiply windows on same display

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Wiljan
New Cone
New Cone
Posts: 4
Joined: 16 Dec 2008 22:29

How to Duplicate 1 souce for multiply windows on same display

Postby Wiljan » 09 Mar 2015 18:03

I have 1 source file 1920x1080 where I have to only show different parts of the video (eg 200x200) in small windows on the same screen.
controlled from cmdline.

What I do right now are to multicast the file
vlc E:\media\test.mpg --loop --sout=udp://239.0.0.1:1234

Then I can run 3 x multicast reciever
VLC.exe udp://@239.0.0.1:1234 --width=270 --height=540 --video-x=570 --video-y=270 --no-autoscale --no-embedded-video --no-video-deco --loop --video-on-top --video-filter=croppadd --croppadd-croptop=100 --croppadd-cropleft=300
VLC.exe udp://@239.0.0.1:1234 --width=270 --height=540 --video-x=840 --video-y=270 --no-autoscale --no-embedded-video --no-video-deco --loop --video-on-top --video-filter=croppadd --croppadd-croptop=200
VLC.exe udp://@239.0.0.1:1234 --width=270 --height=540 --video-x=1110 --video-y=270 --no-autoscale --no-embedded-video --no-video-deco --loop --video-on-top --video-filter=croppadd --croppadd-croptop=300

And by the location --video-x=570 --video-y=270 set where on the screen I do want the window and in the crop I can define what part of the source to show

It does work.... but I need 20 windows and this use a lot of CPU (to much) to decode all the streams
So there must be a way to duplicate the file 20 times on the same screen?

Please advise

Thank you

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

Re: How to Duplicate 1 souce for multiply windows on same display

Postby Rémi Denis-Courmont » 09 Mar 2015 20:39

You can duplicate the video with the clone video splitter. But you cannot position and duplicate the video from the CLI at the same time.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Wiljan
New Cone
New Cone
Posts: 4
Joined: 16 Dec 2008 22:29

Re: How to Duplicate 1 souce for multiply windows on same display

Postby Wiljan » 10 Mar 2015 11:47

Thank you for feedback

I tried vlc E:\media\test.mpg --loop --video-filter=clone --clone-vout-list "caca,glx" --clone-count 2
And qoute som combination of this, but I never got more than 1 output.

I did test on VLC 2.1.5 on Win7

Could you please show the cmdline for this?

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

Re: How to Duplicate 1 souce for multiply windows on same display

Postby Rémi Denis-Courmont » 10 Mar 2015 13:37

splitter, not filter.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Wiljan
New Cone
New Cone
Posts: 4
Joined: 16 Dec 2008 22:29

Re: How to Duplicate 1 souce for multiply windows on same display

Postby Wiljan » 10 Mar 2015 20:04

Got it to work, thank you.

Have testet with Clone, Duplicate and Wall all same result
You are right I can't position and crop each window individualy :(

Do you have any idea other than the way I do with 1 stream and many decoders?

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

Re: How to Duplicate 1 souce for multiply windows on same display

Postby Rémi Denis-Courmont » 10 Mar 2015 22:31

I don´t know any simple solution.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 65 guests