How To stream 2 Videos Side By Side

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
nikolas22t
New Cone
New Cone
Posts: 5
Joined: 02 Sep 2008 18:04

How To stream 2 Videos Side By Side

Postby nikolas22t » 10 Feb 2012 20:20

Is there any option / vlc script to stream in 1 stream from 2 sources (maybe capture cards or ip stream or file) videos side by side ?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How To stream 2 Videos Side By Side

Postby Jean-Baptiste Kempf » 10 Feb 2012 23:32

Use Mosaic. Look at it on the wiki.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

joolzg
Blank Cone
Blank Cone
Posts: 22
Joined: 31 Oct 2006 18:12

Re: How To stream 2 Videos Side By Side

Postby joolzg » 13 Feb 2012 13:57

Some help please, ive followed the wiki but i dont get any data coming out

my conf
new channel1 broadcast enabled
setup channel1 input udp://@239.255.190.96:1234
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=144,width=180},select=video,dst=bridge-out{id=1},select=audio}

new channel2 broadcast enabled
setup channel2 input udp://@239.255.67.101:1234
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=144,width=180},select=video,dst=bridge-out{id=2},select=audio}

new channel3 broadcast enabled
setup channel3 input udp://@239.255.65.101:1234
setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=144,width=180},select=video,dst=bridge-out{id=3},select=audio}

new background broadcast enabled
setup background input fake://
setup background option fake-file=/home/encoder/background.png
setup background option fake-aspect-ratio="4:3"
setup background option mosaic-width=352
setup background option mosaic-height=288
setup background option mosaic-keep-picture
setup background option mosaic-rows=2
setup background option mosaic-cols=2
setup background option mosaic-position=1
setup background option mosaic-order=1,2,3,4
setup background option sub-filter=mosaic
setup background output #bridge-in:display
setup background output #transcode{sfilter=mosaic,vcodec=mp2v,vb=10000,scale=1}:bridge-in{delay=400,id-offset=100}:standard{access=udp,mux=ts,url=239.239.239.239:1234}

control background play
control channel1 play
control channel2 play
control channel3 play

My command line
cvlc --color --vlm-conf ./vlm.control --ttl 2 --udp-caching 800

My check, using ffprobe
ffprobe udp://239.239.239.1:1234

Now i have check all 3 input streams, ok, but i get nothing on my output ip

Any ideas?

joolz


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 28 guests