Page 1 of 1

Creating a Mosaic with 2 IP Cameras

Posted: 17 May 2013 19:07
by cju107
Hello!

I'm brand new to VLC but I am trying to create a mosaic with 2 IP cameras connected locally. my config file is below:

Code: Select all

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},sel$ 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},sel$ control channel1 play control channel2 play
and I'm creating the mosaic with this command in terminal:

Code: Select all

./vlc --vlm-conf ./here.conf --mosaic-width=360 --mosaic-height=288 --mosaic-keep-picture --mosaic-rows=2 --mosaic-cols=2 --mosaic-position=1 --mosaic-order=1,2,3,4
and get this output/error out of terminal

Code: Select all

VLC media player 2.0.6 Twoflower (revision 2.0.6-9-gda489c1) [0x10020a7a0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0x102101500] [Media: channel1] main input error: ES_OUT_RESET_PCR called [0x102105b30] [Media: channel2] main input error: ES_OUT_RESET_PCR called [0x102105b30] [Media: channel2] main input error: ES_OUT_RESET_PCR called [h264 @ 0x103053220] Missing reference picture [h264 @ 0x103053220] decode_slice_header error [h264 @ 0x103053220] concealing 3600 DC, 3600 AC, 3600 MV errors in P frame
Any ideas what I am doing wrong?

Cheers,

cju107

Re: Creating a Mosaic with 2 IP Cameras

Posted: 18 May 2013 18:56
by Jean-Baptiste Kempf
Try to force 1 thread in ffmpeg options.