Creating a Mosaic with 2 IP Cameras

This forum is about all development around libVLC.
cju107
New Cone
New Cone
Posts: 2
Joined: 16 May 2013 18:30

Creating a Mosaic with 2 IP Cameras

Postby cju107 » 17 May 2013 19:07

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Creating a Mosaic with 2 IP Cameras

Postby Jean-Baptiste Kempf » 18 May 2013 18:56

Try to force 1 thread in ffmpeg options.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 4 guests