Page 1 of 1

How To stream 2 Videos Side By Side

Posted: 10 Feb 2012 20:20
by nikolas22t
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 ?

Re: How To stream 2 Videos Side By Side

Posted: 10 Feb 2012 23:32
by Jean-Baptiste Kempf
Use Mosaic. Look at it on the wiki.

Re: How To stream 2 Videos Side By Side

Posted: 13 Feb 2012 13:57
by joolzg
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