个人主页https://xugaoxiang.com,微信公众号: Dev_Club 或者搜索 程序员Club
全部博文(229)
分类: LINUX
2010-06-26 02:21:40
new channel1 broadcast enabled
setup channel1 input udp://@224.0.0.1: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.0.0.1:1234
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=144,width=180},select=video,dst=bridge-out{id=2},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.1.1,sap,name="mosaic"}
control background play
control channel1 play
control channel2 play
Step 5
Launch VLC
vlc --color -I telnet --vlm-conf vlm.conf --ttl 12 --fake-file background.png --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