Code: Select all
new tf1 broadcast enabled
setup tf1 input udp://@239.255.2.60:1234
setup tf1 output #duplicate{dst=mosaic-bridge{id=1,height=144,width=180},select=video,dst=bridge-out{id=1},select=audio}
new fr2 broadcast enabled
setup fr2 input udp://@239.255.10.200:1234
setup fr2 output #duplicate{dst=mosaic-bridge{id=2,height=144,width=180},select=video,dst=bridge-out{id=2},select=audio}
new TVEi broadcast enabled
setup TVEi input udp://@239.255.6.9:1234
setup TVEi output #duplicate{dst=mosaic-bridge{id=3,height=144,width=180},select=video,dst=bridge-out{id=3},select=audio}
new bg broadcast enabled
#setup bg loop input /home/via/videolan/videolan_mp1v.ts
setup bg input fake:
setup bg output #switcher{files=/home/via/videolan/image_orange.uyvy,sizes=360x288,command=1}:transcode{sfilter=mosaic,vcodec=mp2v,vb=10000,scale=1}:bridge-in{delay=400,id-offset=100}:standard{access=udp,mux=ts,url=239.255.99.99,sap,group=Mosaic,name="[mosaic] TF1 - FR2 - TVEi"}
control bg play
control tf1 play
control fr2 play
control TVEi play
Code: Select all
./vlc $1 --color -I telnet --vlm-conf ../mosaic.vlm.conf --ttl 12 \
--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
Code: Select all
convert -size 720x576 image.ext -resize 720x576 image.uyvy
Code: Select all
display -size 720x576 image.uyvy
Code: Select all
./vlc --sout-switcher-files=videolan.uyvy --sout-switcher-sizes=720x576 \
--sout-switcher-command=1 --ttl 12 --sout "#switcher:display" fake:
Code: Select all
vlc --color -I telnet --vlm-conf mosaic.cfg --ttl 12 --udp-caching 800
--mosaic-width 360 --mosaic-height 288 --mosaic-keep-picture
--mosaic-rows 2 --mosaic-cols 2 --mosaic-position 1 --mosaic-order 1,2
---------------------------
Fichier mosaic.cfg
new channel1 broadcast enabled
setup channel1 input "x.mpg"
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 "y.mpg"
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 "back.mpg"
setup background output #transcode{sfilter=mosaic,vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:duplicate{dst=display,dst=standard{mux=ts,access=udp,url=192.168.1.53,sap,name="toto"}}
control background play
control channel1 play
control channel2 play
That is quite simpler then the switcher solution. (And you just need a png or jpeg file ... )vlc fake: --fake-file image.png
the switcher module is in fact being deprecated (even though its all new). In latest versions, you can do :That is quite simpler then the switcher solution. (And you just need a png or jpeg file ... )vlc fake: --fake-file image.png
Code: Select all
new background broadcast enabled
setup background input fake: --fake-file image.jpg
setup background output #transcode{sfilter=mosaic,vcodec=mp4v,vb=150}:bridge-in{delay=400,id-offset=100}:display
[00000078] main module debug: using packetizer module "rawvideo"
/X/bin/mosaic-vlc: line 8: 2623 Killed vlc -vvv --vlm-conf /X/bin/mosaic.vlm.conf --no-audio --no-sout-audio --color -I telnet --vout X11 --v4l-chroma "I420" --mosaic-width 800 --mosaic-height 600 --mosaic-keep-picture --mosaic-rows 2 --mosaic-cols 2 --mosaic-position 1 --mosaic-order 1,2,3
Code: Select all
new background broadcast enabled
setup background input fake:
setup background output #transcode{sfilter=mosaic,vcodec=mp4v,vb=150}:bridge-in{delay=400,id-offset=100}:display
Code: Select all
vlc -vvv --vlm-conf /X/bin/mosaic.vlm.conf --no-audio --no-sout-audio --color -I telnet --vout X11 --v4l-chroma "I420" --mosaic-width 800 --mosaic-height 600 --mosaic-keep-picture --mosaic-rows 2 --mosaic-cols 2 --mosaic-position 1 --mosaic-order 1,2,3 --fake-file image.jpg
Code: Select all
vlc fake: --fake-file image.png
Return to “VLC stream-output (sout)”
Users browsing this forum: No registered users and 24 guests