Mosaic - multiple inputs
Posted: 11 Jun 2012 19:55
I've been following this documentation: http://wiki.videolan.org/Mosaic
and I've created this vlm file
and started it with:
Does the vlm config file look ok? Because this doesn't work If you can point me where could the problem be it would be really great
and I've created this vlm file
Code: Select all
new cam1 broadcast enabled
setup cam1 input v4l2:///dev/video0:width=320:height=240
setup cam1 output #mosaic-bridge{id=1,height=320,width=240}
new cam2 broadcast enabled
setup cam2 input v4l2:///dev/video1:width=320:height=240
setup cam2 output #mosaic-bridge{id=2,height=320,width=240}
new audio1 broadcast enabled
setup audio1 input alsa://hw:0
setup audio1 output #transcode{acodec=mp4a,ab=128,samplerate=44100,channels=2}:bridge-out
new background broadcast enabled
setup background input /var/test.png
setup background output #transcode{sfilter=mosaic,venc=x264,width=640,height=240,vcodec=h264}:bridge-in:standard{access=udp,mux=ts,dst=192.168.2.2:10001}
control background play
control cam1 play
control cam2 play
control audio1 play
Code: Select all
vlc --mosaic-width=640 --mosaic-height=240 --mosaic-keep-picture --mosaic-rows=1 --mosaic-cols=2 --mosaic-position=1 --mosaic-order=1,2 --vlm-conf dual.vlm