I am trying to set up a 4 section mosaic of 4 RTSP cameras as input then stream that out in http or rtsp. But for some reason whenever i execute the config for the mosaic, it loads the mosaic, but the stream is not starting, when i try to connect with another instance of VLC i get an error of
satip error: Failed to connect to RTSP server localhost:443
main debug: net: connecting to localhost port 443
main error: connection failed: Connection refused by peer
main error: connection failed: Connection refused by peer
access_realrtsp error: cannot connect to localhost:443
access_realrtsp debug: could not connect to: localhost:443
my shortcut parameters is currently --vlm-conf conf.vlm
Code: Select all
# Background options
new bg broadcast enabled
setup bg input "C:\black.png"
setup bg option image-duration=-1
setup bg output #transcode{sfilter=mosaic{width=1920,height=1080,cols=2,rows=2,position=1,order="1,2,3,4",keep-aspect-ratio=enabled,keep-picture=1,mosaic-align=4},vcodec=mp4v,vb=1500,fps=15}:duplicate{dst=rtsp{mux=ffmpeg{mux=flv},dst=:443/localhost},dst=display}
# Input options
new 1 broadcast enabled
setup 1 input rtsp://IPADDRESS
setup 1 option dshow-fps=15
setup 1 option dshow-size="960x540"
setup 1 output #duplicate{dst=mosaic-bridge{id=1,width=960,height=540},select=video,dst=bridge-out{id=0}}
new 2 broadcast enabled
setup 2 input rtsp://IPADDRESS
setup 2 option dshow-fps=15
setup 2 option dshow-size="960x540"
setup 2 output #duplicate{dst=mosaic-bridge{id=2,width=960,height=540},select=video,dst=bridge-out{id=1}}
new 3 broadcast enabled
setup 3 input rtsp://IPADDRESS
setup 3 option dshow-fps=15
setup 3 option dshow-size="960x540"
setup 3 output #duplicate{dst=mosaic-bridge{id=3,width=960,height=540},select=video,dst=bridge-out{id=2}}
new 4 broadcast enabled
setup 4 input rtsp://IPADDRESS
setup 4 option dshow-fps=15
setup 4 option dshow-size="960x540"
setup 4 output #duplicate{dst=mosaic-bridge{id=4,width=960,height=540},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
Thank you.
Edit: I forgot to mention that I would like to stream to more than one client at a time, is this possible without multicast?