Code: Select all
del all
new ch1 broadcast enabled loop
setup ch1 input "rtsp://root:2501567@10.10.10.181:554/live1.sdp"
setup ch1 output #mosaic-bridge{id=1,width=320,height=200}
new ch2 broadcast enabled loop
setup ch2 input "rtsp://root:2501567@10.10.10.96:554/axis-media/media.amp"
setup ch2 output #mosaic-bridge{id=2,width=320,height=200}
new ch3 broadcast enabled loop
setup ch3 input "rtsp://root:2501567@10.10.10.179:554/live1.sdp"
setup ch3 output #mosaic-bridge{id=3,width=320,height=200}
new ch4 broadcast enabled loop
setup ch4 input "rtsp://root:2501567@10.10.10.180:554/live1.sdp"
setup ch4 output #mosaic-bridge{id=4,width=320,height=200}
new ch5 broadcast enabled loop
setup ch5 input "rtsp://root:2501567@10.10.10.183:554/live1.sdp"
setup ch5 output #mosaic-bridge{id=5,width=320,height=200}
new ch6 broadcast enabled loop
setup ch6 input "rtsp://root:2501567@10.10.10.184:554/live1.sdp"
setup ch6 output #mosaic-bridge{id=6,width=320,height=200}
new ch7 broadcast enabled loop
setup ch7 input "rtsp://root:2501567@10.10.10.169:554/live1.sdp"
setup ch7 output #mosaic-bridge{id=7,width=320,height=200}
new ch8 broadcast enabled loop
setup ch8 input "rtsp://root:2501567@10.10.10.187:554/live1.sdp"
setup ch8 output #mosaic-bridge{id=8,width=320,height=200}
new ch9 broadcast enabled loop
setup ch9 input "rtsp://root:2501567@10.10.10.192:554/live1.sdp"
setup ch9 output #mosaic-bridge{id=9,width=320,height=200}
new bg broadcast enabled loop
setup bg input "fake.png"
setup bg option image-duration=-1
setup bg option image-fps=10/1
setup bg output #transcode{sfilter=mosaic,vcodec=mp4v,vb=1024}:rtp{sdp=rtsp://:8554/mosaic.sdp}
control ch1 play
control ch2 play
control ch3 play
control ch4 play
control ch5 play
control ch6 play
control ch7 play
control ch8 play
control ch9 play
control bg play
Code: Select all
vlc --vlm-conf mosaic.vlm --mosaic-height=600 --mosaic-width=960 --mosaic-order=1,2,3,4,5,6,7,8,9
and the log shows up the "[mpeg4 @ 0x7fac04272960] rc buffer underflow".