Mosaic - multiple inputs

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
burek
Blank Cone
Blank Cone
Posts: 40
Joined: 10 May 2008 21:52

Mosaic - multiple inputs

Postby burek » 11 Jun 2012 19:55

I've been following this documentation: http://wiki.videolan.org/Mosaic
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
and started it with:

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
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 :)
Image
          • www.gusari.org

Return to “VLM”

Who is online

Users browsing this forum: No registered users and 1 guest