RTSP Problem

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
jepide
Posts: 12
Joined: Sun Nov 12, 2017 7:01 am

RTSP Problem

Post by jepide » Sun May 10, 2020 8:34 am

Hello !

I have ubuntu 18.04.4 with zoneminder v1.32.3 installed on a barebone Beebox (7.3 Gio memory, intel Celeron 1.6 GHz x 4).
There are 3 cameras: 2 Heden CAMHD023FX0, and a MCL camera IP-CAM628EW, all wired connected. Their characteristics are nearly the same, so are their settings too.
The two Heden cams use ffmpeg as 'Source type' TCP as 'method' in zoneminder and work very well without problems.
But the MCL cam have ceased to work with ffmpeg, I do not know why, so I have set the 'source type' to Libvlc. Then the corresponding monitor works very well for a moment (for example 8 hours), and then the monitor image freezes, except that the timestamp is currently updated. The 'Log' remains green. While the monitor image is frozen, I can see a very good image by viewing the cam directly in vlc or ffplay.
When I edit and just save the monitor, the stream is good again and the image nice, for an new moment.
I deleted and reinstalled the monitor for this cam, but no success.
log with ffmpeg:
2020-05-09 16:31:20 zma_m3 6617 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2020-05-09 16:31:20 zmdc 1296 ERR 'zma -m 3' exited abnormally, exit status 255 zmdc.pl
2020-05-09 16:31:19 zma_m3 6616 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2020-05-09 16:31:19 zmdc 1296 ERR 'zma -m 3' exited abnormally, exit status 255 zmdc.pl
2020-05-09 16:31:08 zmdc 1296 ERR 'zma -m 3' exited abnormally, exit status 255 zmdc.pl
2020-05-09 16:31:08 zma_m3 6607 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2020-05-09 16:30:52 zma_m3 6592 ERR Shared data not initialised by capture daemon for monitor Cam1

May somebody tell me why ffmpeg cannot connect, or where to look for ?
may somebody explain why libvlc stop working after a long time ?

Thank you

burger
Posts: 62
Joined: Mon May 11, 2020 4:32 pm

Re: RTSP Problem

Post by burger » Mon May 11, 2020 4:36 pm

Some cameras don't have good compatibility w/zm.

https://wiki.zoneminder.com/Finding_Camera_Stream_Paths
and
https://wiki.zoneminder.com/Hardware_Compatibility_List

If you want details, pick up some books on the RTSP protocol and dive in.

You can try lowering FPS/resolution. Changing feed type (both on camera).
fastest way to test streams:
ffmpeg -i rtsp://<ipaddress>:554/path output.mp4
from terminal, and run through paths on ispydb or in zm hcl

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests