Page 1 of 1

ZMA and ZMC crashing Issues with RTSP/MJPEG

Posted: Thu Mar 10, 2011 12:41 am
by Source
Hi,

I am trying to setup a new camera withing zoneminder LevelOne FCS-3081

I have it setup to work using just JPG still image, but the frame rate isn't good enough, and we want to setup RTSP using MJPEG or H264
Still Image URL: http://192.168.1.1/cgi-bin/jpg/image.cgi?

At present, i have a RTSP URL of:
rtsp://192.168.1.1/jpeg which brings up the MJPEG stream fine in VLC
also the URL rtsp://192.168.1.1/h264 works to bring up the H264 stream in VLC

I have tried to get either to work in Zoneminder, but am running into the below errors in the logs:

zm_debug.log
03/10/11 13:28:24.789454 zmfix[-1].ERR-zmfix.cpp/86 [Can't stat : No such file or directory]
(repeats once a minute)

zmdc.log
03/10/11 13:32:07.052006 zmdc[1836].INF [Starting pending process, zmc -m 11]
03/10/11 13:32:07.053153 zmdc[1836].INF ['zmc -m 11' starting at 11/03/10 13:32:07, pid = 12764]
03/10/11 13:32:17.193015 zmdc[1836].ERR ['zmc -m 11' exited abnormally, exit status 255]
(repeats once a minute)

zmwatch.log
03/10/11 13:28:23.796197 zmwatch[2027].ERR [Shared data size conflict in shared_data for monitor FCS3081-RTSP, expected 328, got 1886023003]
(repeats twice every 10 seconds)

I'm not sure of what changes i need to make to get it up and running.
Is anyone able to offer any assistance?

Regards - David

Posted: Mon Mar 14, 2011 4:06 am
by Source
I've rebuilt it from scratch, other cameras work, ut the message in the logs is different now:

03/14/11 17:01:20.100792 zmdc[1950].INF ['zmc -m 6' starting at 11/03/14 17:01:20, pid = 21493]
03/14/11 17:01:20.142816 zmdc[1950].INF ['zmc -m 6' crashed, signal 6]
03/14/11 17:01:21.044946 zmdc[1950].INF [Starting pending process, zma -m 6]
03/14/11 17:01:21.046086 zmdc[1950].INF ['zma -m 6' starting at 11/03/14 17:01:21, pid = 21495]
03/14/11 17:01:21.075090 zmdc[1950].ERR ['zma -m 6' exited abnormally, exit status 255]

I've installed mplayer: here is what it has in the logs when i play the RTSP url:

mplayer rtsp://192.168.1.97/jpeg
mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, consider re-linking
Playing rtsp://192.168.1.97/jpeg.
Connecting to server 192.168.1.97[192.168.1.97]: 554...
rtsp_session: unsupported RTSP server. Server type is 'unknown'.
STREAM_LIVE555, URL: rtsp://192.168.1.97/jpeg
Stream not seekable!
file format detected.
Initiated "video/JPEG" RTP subsession on port 57590
Initiated "audio/PCMU" RTP subsession on port 7878
VIDEO: [MJPG] 0x0 0bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[vdpau] Error when calling vdp_device_create_x11: 1
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG)

The video plays, and i can exit normally.
I've removed anything i though was Irrelevant from the logs.