I used VLC 1.11 to display four Axis-Webcams in one mosaic pictures without any problem.
After upgrading to VLC 2.0 I changed a little bit the code, because the fake input was not longer supported. Finally, I got the mosaic with the four axis webcams, but the picture is not smooth. It seems that there are many frames dropped. The CPU usage is about 40%.
Here is my code:
Code: Select all
new channel1 broadcast enabled
setup channel1 input rtsp://192.168.2.100/axis-media/media.amp?codec=h264
setup channel1 option network-caching=600
setup channel1 output #mosaic-bridge{id=1,width=480,height=360}
new channel2 broadcast enabled
setup channel2 input rtsp://192.168.2.101/axis-media/media.amp?codec=h264
setup channel2 option network-caching=600
setup channel2 output #mosaic-bridge{id=2,width=480,height=360}
new channel3 broadcast enabled
setup channe3 input rtsp://192.168.2.102/axis-media/media.amp?codec=h264
setup channel3 option network-caching=600
setup channel3 output #mosaic-bridge{id=3,width=480,height=360}
new channel4 broadcast enabled
setup channel4 input rtsp://192.168.2.103/axis-media/media.amp?codec=h264
setup channel4 option network-caching=600
setup channel4 output #mosaic-bridge{id=4,width=480,height=360}
new test broadcast enabled
setup test input "file:///background.jpg"
setup test option image-duration=-1
setup test option image-fps=0
setup test output #transcode{sfilter=mosaic,vcodec=mp4v,vb=8500,fps=25}:display
control channel1 play
control channel2 play
control channel3 play
control channel4 play
control test play
Code: Select all
SET PATH=%PATH%;%programfiles%\videolan\vlc\;%programfiles(x86)%\videolan\vlc\
vlc --mosaic-width=960 --mosaic-height=720 --mosaic-delay=1 --vlm-conf=%1
Manfred