Maginon IPC 20C

Forum for questions and support relating to the 1.25.x releases only.
Locked
superflip
Posts: 1
Joined: Mon Mar 23, 2015 9:54 pm

Maginon IPC 20C

Post by superflip »

Hi all,

I've just bought a new network camera Maginon IPC 20C, but I've troubles connecting it to Zoneminder.
When I connect with VLC it works fine with: user:pwd@1.1.1.1/videostream.cgi (I cannot put in the full URL with leading http, because of "Your post looks too spamy for a new user, please remove off-site URLs.")
The media info from VLC is: MJPG, 640x480, decoded format: Planar 4:2:2 YUV full scale

I configured the source like this:
Source Type: Remote
Function: Modect
Remote Protocol: HTTP
Remote Method: Simple
Remote Host Name: user:pwd@1.1.1.1
Remote Host path: /videostream.cgi
Remote Image Colours: 24 bit
Capture Width: 640
Capture Height: 480
Image Buffer Size (frames): 50
Warmup Frames: 25
Pre Event Image Count: 20
Post Event Image Count: 50
Stream Replay Image Buffer: 1000
Alarm Frame Count: 2

I already tried to add ?a=.mjpg at the end of the remote host path

this log messages appears:
2015-04-03 20:04:16.110690 zmdc 2205 INF 'zmc -m 2' crashed, signal 6 zmdc.pl
2015-04-03 20:04:16.108630 zmdc 2205 ERR 'zma -m 2' exited abnormally, exit status 255 zmdc.pl
2015-04-03 20:04:16.106961 zma_m2 4375 ERR Shared data not initialised by capture daemon zm_monitor.cpp 434
2015-04-03 20:04:16.106714 zma_m2 4375 ERR Got unexpected memory map file size 15361672, expected 92161672 zm_monitor.cpp 364
2015-04-03 20:04:16.099901 zmc_m2 4376 ERR Got unexpected memory map file size 15361672, expected 92161672 zm_monitor.cpp 364
2015-04-03 20:04:16.066720 zmdc 4375 INF 'zma -m 2' started at 15/04/03 20:04:16 zmdc.pl
2015-04-03 20:04:16.064260 zmdc 4376 INF 'zmc -m 2' started at 15/04/03 20:04:16 zmdc.pl
2015-04-03 20:04:16.063220 zmdc 2205 INF 'zmc -m 2' starting at 15/04/03 20:04:16, pid = 4376 zmdc.pl
2015-04-03 20:04:16.062260 zmdc 2205 INF Starting pending process, zmc -m 2 zmdc.pl
2015-04-03 20:04:16.061890 zmdc 2205 INF 'zma -m 2' starting at 15/04/03 20:04:16, pid = 4375 zmdc.pl
2015-04-03 20:04:16.060480 zmdc 2205 INF Starting pending process, zma -m 2

If I change source buffer settings to:
Image Buffer Size (frames): 10
Warmup Frames: 5
Pre Event Image Count: 5
Post Event Image Count: 5
Stream Replay Image Buffer: 100
Alarm Frame Count: 1

I get the following log messages:
2015-04-03 20:06:30.775331 zmc_m2 4486 WAR Unable to capture image, retrying zm_remote_camera_http.cpp 1092
2015-04-03 20:06:30.775224 zmc_m2 4486 ERR Connection dropped by remote end zm_remote_camera_http.cpp 920
2015-04-03 20:06:30.774043 zma_m2 4494 WAR Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size zm_monitor.cpp 1083

I already set the shared memory to:
kernel.shmall = 33554432
kernel.shmmax = 536870912

# ipcs -lm
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 524288
max total shared memory (kbytes) = 134217728
min seg size (bytes) = 1

What I also found out, that the Content-Type in HTTP Header ist "multipart/x-mixed-replace;boundary=ipcamera", don't know if this could be a problem.

I hope anybody can give me a hint, how I can bring this camera up&running.

Thanks in advance,
Philipp
Locked