Page 1 of 1

Trying to create a Mosaic from 2 IP Cameras

Posted: 16 May 2013 18:40
by cju107
Hello!

I'm brand new to coding with VLC so I need a lot of help. I am trying to make a 1x2 Mosaic with feeds from 2 IP cameras. I've seen a lot of examples on this forum and none work. Here's the most recent code I tried. I wrote it in notepad and gav it a .vlm extension. It opens in VLC but I get the following error
"No suitable decoder module: VLC does not support the audio or video format "undf". Unfortunately there is no way for you to fix this."

Every time I try a different code the same error message comes up

Thanks for all your help!


Code:

setup bg option mosaic-alpha=255
setup bg option mosaic-height=960
setup bg option mosaic-width=1280
setup bg option mosaic-align=5
setup bg option mosaic-xoffset=0
setup bg option mosaic-yoffset=0
setup bg option mosaic-vborder=0
setup bg option mosaic-hborder=0
setup bg option mosaic-position=1
setup bg option mosaic-rows=1
setup bg option mosaic-cols=2
setup bg option mosaic-order=ch1,ch2
setup bg option mosaic-delay=0
setup bg option mosaic-keep-picture

new channel1 broadcast enabled
setup channel1 input rtsp://192.168.0.102/img/media.sav
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=144,width=180},select=video,dst=bridge-out{id=1},select=audio}

new channel2 broadcast enabled
setup channel2 input rtsp://192.168.0.104/img/media.sav
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=144,width=180},select=video,dst=bridge-out{id=2},select=audio}

new background broadcast enabled
setup background input C:\Users\chip2\Desktop.cat.jpg
setup background output #transcode{sfilter=mosaic,vcodec=mp2v,vb=10000,scale=1}:bridge-in{delay=400,id-offset=100}:standard{access=udp,mux=ts,url=239.255.12.42,sap,name="mosaic"}

control background play
control channel1 play
control channel2 play