VML
Code: Select all
# Comment the following line if you don't want to reset your VLM configuration
del all
# Background options
new bg broadcast enabled
setup bg input /home/operations/vlc/1920x1080.jpg
setup bg option image-duration=-1
setup bg output #transcode{sfilter=mosaic{width=1440,height=900,cols=3,rows=2,position=1,order="1,2,3,4",keep-aspect-ratio=enabled,mosaic-align=5},vcodec=h264,vb=2000,fps=15}:duplicate{dst=rtp{dst=224.255.1.250,port=1234,sdp=sap://,ttl=15,mux=ts,proto=udp,name=mosaic},select=video}
# Input options
new 1 broadcast enabled
setup 1 input "https://x.x.x.x/stream/xx001xx"
setup 1 option dshow-fps=15
setup 1 option dshow-size="720x450"
setup 1 output #duplicate{dst=mosaic-bridge{id=1,width=720,height=450},select=video,dst=bridge-out{id=0}}
new 2 broadcast enabled
setup 2 input "https://x.x.x.x/stream/xx002xx"
setup 2 option dshow-fps=15
setup 2 option dshow-size="720x450"
setup 2 output #duplicate{dst=mosaic-bridge{id=2,width=720,height=450},select=video,dst=bridge-out{id=1}}
new 3 broadcast enabled
setup 3 input "https://x.x.x.x/stream/xx003xx"
setup 3 option dshow-fps=15
setup 3 option dshow-size="720x450"
setup 3 output #duplicate{dst=mosaic-bridge{id=3,width=720,height=450},select=video,dst=bridge-out{id=2}}
new 4 broadcast enabled
setup 4 input "https://x.x.x.x/stream/xx004xx"
setup 4 option dshow-fps=15
setup 4 option dshow-size="720x450"
setup 4 output #duplicate{dst=mosaic-bridge{id=4,width=720,height=450},select=video,dst=bridge-out{id=3}}
# Launch everything
control bg play
control 1 play
control 2 play
control 3 play
control 4 play
# end of mosaic batch
Full log - https://gist.githubusercontent.com/troy ... lc_vlm.log/usr/bin/cvlc -vvv --vlm-conf=/home/operations/vlc/vlc.streaming.conf
Code: Select all
VLC media player 3.0.11.1 Vetinari (revision 3.0.11.1-0-g52483f3ca2)
[0000563b7fe765b0] main libvlc debug: VLC media player - 3.0.11.1 Vetinari
.
.
.
[00007fea4c0c1600] main filter debug: looking for video converter module matching "any": 23 candidates
[h264 @ 0x7fea4c02eb80] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x7fea4c02eb80] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x7fea4c02eb80] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[00007fea4c0c1600] swscale filter debug: 640x360 (640x386) chroma: I420 -> 720x450 (720x450) chroma: I420 with scaling using Bicubic (good quality)
[00007fea4c0c1600] main filter debug: using video converter module "swscale"
[swscaler @ 0x7fea4c14bec0] Warning: data is not aligned! This can lead to a speed loss
Segmentation fault (core dumped)