
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:
- VLC Portable installieren
- Hintergrundbild erstellen (.jpg) - in unserem fall 1920x1080
- VLM- und CMD-Datei erstellen (wir nutzen notepad++)
- Hintergrundbild, VLM-Datei und CMD-Datei zur vlc.exe kopieren, in den Ordner
- (VLCPortable)/App/vlc kopieren - zur vlc.exe
- 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 allnew ch1 broadcast enabledsetup ch1 input "rtsp://rtsp-test-server.viomic.com:554/stream"setup ch1 output #mosaic-bridge{id=ch1,width=960,height=540}new ch2 broadcast enabledsetup ch2 input "rtsp://rtsp-test-server.viomic.com:554/stream"setup ch2 output #mosaic-bridge{id=ch2,width=960,height=540}new ch3 broadcast enabledsetup ch3 input "rtsp://rtsp-test-server.viomic.com:554/stream"setup ch3 output #mosaic-bridge{id=ch3,width=960,height=540}new ch4 broadcast enabledsetup 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 sizesetup bg input "bg_sdc1920.jpg"setup bg option image-duration=-1setup 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}:displaycontrol bg playcontrol ch1 playcontrol ch2 playcontrol ch3 playcontrol ch4 play# end of mosaic batch
VLC_Mosaic - 4-1920.cmd
vlc.exe --vlm-conf mosaic_4-1920.vlm