I've been trying and trying to get my six cameras to stream in a mosaic on VLC and I just quite can't get it to work.
To create the VLM I used the VLC HowTo and other posts.
But it seems like my black background is in front of the streams...
VLC opens a window called "VLC (Direct3D11 output)" which is just black.
I'm unable to close that window, so I have to go through the Task Manager. And there it says:
This shows me that VLC is clearly communicating with the cameras and there must be a feed coming through to the PC.
But where are the streams?
Does anybody have any ideas??
With:
Code: Select all
vlc.exe --vlm-conf config-2.vlm -I dummy
Code: Select all
new channel1 broadcast enabled
setup channel1 input "rtsp://admin:123456@192.168.0.121:554/h264Preview_01_main"
setup channel1 option network-caching=100
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=540,width=640}}
new channel2 broadcast enabled
setup channel2 input "rtsp://admin:123456@192.168.0.122:554/h264Preview_01_main"
setup channel2 option network-caching=100
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=540,width=640}}
new channel3 broadcast enabled
setup channel3 input "rtsp://admin:123456@192.168.0.123:554/h264Preview_01_main"
setup channel3 option network-caching=100
setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=540,width=640}}
new channel4 broadcast enabled
setup channel4 input "rtsp://admin:123456@192.168.0.124:554/h264Preview_01_main"
setup channel4 option network-caching=100
setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=540,width=640}}
new channel5 broadcast enabled
setup channel5 input "rtsp://admin:123456@192.168.0.125:554/h264Preview_01_main"
setup channel5 option network-caching=100
setup channel5 output #duplicate{dst=mosaic-bridge{id=5,height=540,width=640}}
new channel6 broadcast enabled
setup channel6 input "rtsp://admin:123456@192.168.0.126:554/h264Preview_01_main"
setup channel6 option network-caching=100
setup channel6 output #duplicate{dst=mosaic-bridge{id=6,height=540,width=640}}
new background broadcast enabled
setup background input "C:\Users\user\Desktop\Hannes\Stream\bkg.jpg"
setup background option image-duration=-1
setup background output #transcode{vcodec=h264,vb=0,fps=0,acodec=none,channels=6,sfilter=mosaic{width=1920,height=1080,cols=3,rows=2,position=1,order="1,2,3,4,5,6",keep-aspect-ratio=enabled,keep-picture=1,mosaic-align=0}}:display
control background play
control channel1 play
control channel2 play
control channel3 play
control channel4 play
control channel5 play
control channel6 play
Thanks for the help !!
P.S. Please don't give me any grief about the password on the cams. It's an isolated network