Page 1 of 1

how to create a mosaic 2 x 2

Posted: 03 Jun 2008 14:04
by cristof
hi all,
I am working with VLC since a few day, I am enjoy of it.
now I would like to use it as a mosaic and to send the mosaic in a lan in UDP.
I have found in Wiki how to do it, but I dont understand the VLM configutation.
As explain in Wiki : (http://wiki.videolan.org/Mosaic)

step 2 :
/vlc --fake-file background.png --fake-aspect-ratio "4:3" fake:
I run this command under start/cmd/c:\program files\VLC\ and it's working well, I can display image1.jpg

Step 3
You now need to configure VLC to get the 3 source streams and blend them on the background image.

The vlm configuration file looks like :
new channel1 broadcast enabled
setup channel1 input udp://@224.10.10.30: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://@224.10.10.31: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://@224.10.10.32: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 output #transcode{sfilter=mosaic,vcodec=mp2v,vb=10000,scale=1}:bridge-in{delay=400,id-offset=100}:standard{access=udp,mux=ts,url=239.255.12.42,sap,name="mosaic"}

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

where and how to put this conf ? what is the difference between VLC and VLM ?*

Step 4
And now, the right command to launch vlc :

./vlc --color -I telnet --vlm-conf ../mosaic.vlm.conf --ttl 12 \
--fake-file image1.jpg --fake-aspect-ratio "4:3" \
--mosaic-width 360 --mosaic-height 288 --udp-caching 800 \
--mosaic-keep-picture --mosaic-rows 2 --mosaic-cols 2 \
--mosaic-position 1 --mosaic-order 1,2,3

I supose that step 4 will be use to start VLC from : start\cmd\program files\VLC\ ??

can anybody could help me ?

Merci - regards - Cristof