FunkyBuddha Posted February 25 Share #1 Posted February 25 Stream your IP Cam to VLC. The example below streams four IP Cams to VLC in mosaic. Instruction: Create/Edit ".vlm" file Download sample black background if you need it Create batch file using the run command below VLC Run Command: Quote "C:\Program Files\VideoLAN\VLC\vlc.exe" --vlm-conf C:\Test\test_vlc.vlm -I dummy --no-video-deco --no-embedded-video VLM File (test_vlc.vlm): Quote del all # background options new bg broadcast enabled setup bg input "C:\Temp\black.jpg" 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=0},vcodec=mp4v,vb=0,fps=0}:duplicate{dst=display} # Input options new 1 broadcast enabled setup 1 input "rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0&authbasic=64" 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=1}} new 2 broadcast enabled setup 2 input "rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0&authbasic=64" 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=2}} new 3 broadcast enabled setup 3 input "rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0&authbasic=64" 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=3}} new 4 broadcast enabled setup 4 input "rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0&authbasic=64" 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=4}} # Launch everything control bg play control 1 play control 2 play control 3 play control 4 play Black Background: Quote https://i.postimg.cc/TP3wrW9Q/black.jpg 1 1 Link to comment
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now