Code: Select all
del all
new channel1 broadcast enabled
setup channel1 input "rtsp://192.168.85.90:554/s1"
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=360,width=640},select=video,dst=bridge-out{id=1}}
setup channel1 option network-caching=1000
new channel2 broadcast enabled
setup channel2 input "rtsp://192.168.85.91:554/s1"
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=360,width=640},select=video,dst=bridge-out{id=2}}
new channel3 broadcast enabled
setup channel3 input "rtsp://192.168.85.90:554/s1"
setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=360,width=640},select=video,dst=bridge-out{id=3}}
new channel4 broadcast enabled
setup channel4 input "rtsp://192.168.85.91:554/s1"
setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=360,width=640},select=video,dst=bridge-out{id=4}}
new background broadcast enabled
setup background input "file:///C:\Test\backgroundvlc.png"
setup background option image-duration=-1
setup background output #transcode{sfilter=mosaic,vcodec=mp4v,vb=1000500,scale=1}:bridge-in{delay=400,id-offset=100}:display
control background play
control channel1 play
control channel2 play
control channel3 play
control channel4 play