Hello, I'm currently trying to stream the RTSP feed of my Ip Cameras to my VLC player that's installed on my Pi5.
The streams work independently on VLC, but as soon as I try to put them together via the .vlm config there is no output at all.
There is a problem with loading the background image, which seems required to make this work.
I've tested the code on my Windows machine, and it works perfectly fine there.
If I seperate the code of the .vlm to only display the background, it also doesn't work at all, which is weird because I can open the .jpg via VLC.
And if I use the RTSP input of another camera as a "pseudo background" it actually works but it's way too demanding on the CPU.
.vlm config
Start Up
VLC Terminal
Any ideas on how to get this to work, or another solution to create mosaics from RTSP preferably with the Pi5?
The streams work independently on VLC, but as soon as I try to put them together via the .vlm config there is no output at all.
There is a problem with loading the background image, which seems required to make this work.
I've tested the code on my Windows machine, and it works perfectly fine there.
If I seperate the code of the .vlm to only display the background, it also doesn't work at all, which is weird because I can open the .jpg via VLC.
And if I use the RTSP input of another camera as a "pseudo background" it actually works but it's way too demanding on the CPU.
.vlm config
Code:
del allnew IPC1 broadcast enabledsetup IPC1 option rtsp-tcp=enabledsetup IPC1 input "rtsp://192.168.20.164:554/streaming?channel=1&subtype=1&onvif_metadata=true"setup IPC1 output #mosaic-bridge{id=ch1,width=1920,height=540}new IPC2 broadcast enabledsetup IPC2 option rtsp-tcp=enabledsetup IPC2 input "rtsp://192.168.20.153:554/streaming?channel=1&subtype=0&onvif_metadata=true"setup IPC2 output #mosaic-bridge{id=ch2,width=1920,height=540}new bg broadcast enabledsetup bg input "file:///home/admin/bg.jpg"setup bg option image-duration=-1setup bg output #transcode{vcodec=mp4v,vb=0,fps=25,acodec=none,channels=2,sfilter=mosaic{alpha=255,width=1920,height=1080,cols=1,rows=2,position=1,order="ch1,ch2",keep-aspect-ratio=enabled,mosaic-align=0,keep-picture=1}}:bridge-in{offset=100}:display## Launch ##control IPC1 playcontrol IPC2 playcontrol bg playCode:
vlc --vlm-conf test.confVLC Terminal
Code:
admin@raspberrypi:~ $ vlc --vlm-conf test.confVLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)[00005555dc5b9530] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.[00005555dc64fee0] main playlist: playlist is empty[00007ffec001c8e0] [Medium: IPC1] main decoder error: cannot create packetizer output (mlaw)[h264_v4l2m2m @ 0x7ffe68005410] Could not find a valid device[h264_v4l2m2m @ 0x7ffe68005410] can't configure decoder[00007ffe680011d0] avcodec generic error: cannot start codec (h264_v4l2m2m)[00007ffec4016b40] [Medium: IPC2] main decoder error: cannot create packetizer output (mlaw)[h264_v4l2m2m @ 0x7ffe60001560] Could not find a valid device[h264_v4l2m2m @ 0x7ffe60001560] can't configure decoder[00007ffe600011d0] avcodec generic error: cannot start codec (h264_v4l2m2m)[00007ffebc09ec70] [Medium: bg] main decoder error: buffer deadlock prevented[00007ffec001c8e0] [Medium: IPC1] main decoder error: buffer deadlock prevented[00007ffec4016b40] [Medium: IPC2] main decoder error: buffer deadlock preventedAny ideas on how to get this to work, or another solution to create mosaics from RTSP preferably with the Pi5?
Statistics: Posted by LightV — Sat Oct 25, 2025 5:35 pm — Replies 0 — Views 76