VLC - 4 rtsp-streams gleichzeitig

VLC - 4 rtsp-streams gleichzeitig

Wie kann ich den VLC-Player als Videodebriefing-System nutzen?

Aktuell ist die Frage offen, ob VLC auch Ton aufzeichnen kann. Wir haben den Ansatz nicht weiterverfolgt, weil wir mit OBS eine hinreichende Lösung gefunden haben.

Testaufbau:

  1. VLC Portable installieren
  2. Hintergrundbild erstellen (.jpg) - in unserem fall 1920x1080
  3. VLM- und CMD-Datei erstellen (wir nutzen notepad++)
  4. Hintergrundbild, VLM-Datei und CMD-Datei zur vlc.exe kopieren, in den Ordner
    1. (VLCPortable)/App/vlc kopieren - zur vlc.exe
  5. cmd-datei ausführen




Teststream

  • rtsp://rtsp-test-server.viomic.com:554/stream
  • Empfehlung: Mit dem VLC-Player testen, ob der Stream funktioniert - viele offene rtsp-Quellen waren bei der Recherche (Stand 11.April 2024) wieder offline.
  • VLC-Player öffnen
    • Medien > Netzwerkstream öffnen > rtsp-Netzwerkadresse einfügen

mosaic_4-1920.vlm


# Comment the following line if you don't want to reset your VLM configuration
# del all

new ch1 broadcast enabled
setup ch1 input "rtsp://rtsp-test-server.viomic.com:554/stream"
setup ch1 output #mosaic-bridge{id=ch1,width=960,height=540}

new ch2 broadcast enabled
setup ch2 input "rtsp://rtsp-test-server.viomic.com:554/stream"
setup ch2 output #mosaic-bridge{id=ch2,width=960,height=540}

new ch3 broadcast enabled
setup ch3 input "rtsp://rtsp-test-server.viomic.com:554/stream"
setup ch3 output #mosaic-bridge{id=ch3,width=960,height=540}

new ch4 broadcast enabled
setup ch4 input "rtsp://rtsp-test-server.viomic.com:554/stream"
setup ch4 output #mosaic-bridge{id=ch4,width=960,height=540}

new bg broadcast enabled
# The following background file is simply a black picture with specified dimensions, you can create one with any image editor, like mspaint, it is required for proper mosaic size
setup bg input "bg_sdc1920.jpg"
setup bg option image-duration=-1
setup bg output #transcode{vcodec=mp4v,vb=0,fps=0,acodec=none,channels=4,sfilter=mosaic{alpha=255,width=1920,height=1080,cols=2,rows=2,position=1,order="ch1,ch2,ch3,ch4",keep-aspect-ratio=enabled,mosaic-align=0,keep-picture=1}}:bridge-in{offset=100}:display

control bg play
control ch1 play
control ch2 play
control ch3 play
control ch4 play

# end of mosaic batch


VLC_Mosaic - 4-1920.cmd


vlc.exe --vlm-conf mosaic_4-1920.vlm