Search found 10 matches

by Daylights
Tue Feb 12, 2019 6:47 pm
Forum: ZoneMinder 1.33.x
Topic: Docker - camera processes crashing
Replies: 4
Views: 1273

Re: Docker - camera processes crashing

I had this problem also. The issue is that Docker limits the Shared Memory (shm) of its containers by default to 64M, which is far too low for zoneminder. The fix is to increase your shm allocation when you run your image: docker run --shm-size="224M" <image name> https://docs.docker.com/engine/ref...
by Daylights
Mon Feb 11, 2019 8:45 am
Forum: ZoneMinder 1.33.x
Topic: Docker - camera processes crashing
Replies: 4
Views: 1273

Docker - camera processes crashing

I used to run Zoneminder 1.30 locally installed on Ubuntu 16.04, 4 camera's. After I reinstalled the server with Ubuntu 18.04 I thought it would be a good idea to put every service in a docker container. I've managed to start a separate MariaDB container, with is working fine for other services. I'v...
by Daylights
Sun Nov 04, 2018 10:24 am
Forum: ZoneMinder 1.30.x
Topic: RTP vs Ffmpeg
Replies: 8
Views: 2622

Re: RTP vs Ffmpeg

Curious, I googled a bit on the Xiaomi Dafang cams. Looks like Xiaomi and Wyze make the same models. From what I could tell, the cams don't officially support rtsp. They're really optimized for iOS/Android phone use and a proprietary cloud service. To get rtsp, you have to install firmware hacks. T...
by Daylights
Thu Nov 01, 2018 9:21 am
Forum: ZoneMinder 1.30.x
Topic: RTP vs Ffmpeg
Replies: 8
Views: 2622

Re: RTP vs Ffmpeg

Thanks again! With the 'ffmpeg' setting, I am not able to get a stable connection and after some time the screen goes blanc. Using UDP in the setting creates smearing, so I already used TCP for that. Also, my camera has JPEG or H264 RSTP, but apart from the resolution and the fps, I cannot change an...
by Daylights
Tue Oct 30, 2018 9:01 am
Forum: ZoneMinder 1.30.x
Topic: RTP vs Ffmpeg
Replies: 8
Views: 2622

Re: RTP vs Ffmpeg

First things I do when struggling with a new IP cam include: - Log into the camera and check all the settings for sanity. I'll set the frame rate low, to 3 or 5 FPS. I'll make sure the network settings are perfect. -Set the cam to rtsp via TCP rather than UDP. Set ZM monitor for the cam to use rtsp...
by Daylights
Mon Oct 29, 2018 11:50 am
Forum: ZoneMinder 1.30.x
Topic: RTP vs Ffmpeg
Replies: 8
Views: 2622

RTP vs Ffmpeg

I have a couple of Xiaomi Xiaofang camera's flashed with custom firmware (Dafang-hack). They support RTSP streams, works well in VLC. In Zoneminder I have 1 configured as: - Remote - RTSP - RTP/Unicast - <IP address> - 8554 - Response Media URL enabled The logging for this camera gives me loads of w...
by Daylights
Thu Oct 04, 2018 9:22 am
Forum: ZoneMinder 1.30.x
Topic: Ubuntu - HTTP Error 500 on API
Replies: 5
Views: 933

Re: Ubuntu - HTTP Error 500 on API

1 small issue I found with zmNinja, it seems to loose the connection when I reopen te app. Lost show 401 Not authenticated, when I reconfigure the authentication it works again. So it seems like the auth. token is not being refreshed correctly? [edit] This issue seems to have been resolved by itself...
by Daylights
Thu Oct 04, 2018 6:23 am
Forum: ZoneMinder 1.30.x
Topic: Ubuntu - HTTP Error 500 on API
Replies: 5
Views: 933

Re: Ubuntu - HTTP Error 500 on API

That worked great! I just did the lines step by step, I already knew I had most of it in place. Right after this, /getVerion.json shows me {"version":"1.30.4","apiversion":"1.0"} and now zmNinja works as well :D Thanks so much! Btw, are there any benefits omg upgrading to 1.32.1 on Xenial? I am plan...
by Daylights
Wed Oct 03, 2018 7:15 am
Forum: ZoneMinder 1.30.x
Topic: Ubuntu - HTTP Error 500 on API
Replies: 5
Views: 933

Re: Ubuntu - HTTP Error 500 on API

Hi bbunge, are you referring to the 'Zoneminder API fix'? I did read about that, haven't found it though. What does it do, does it change things to the overall PHP7.2 settings? Or just the Zoneminder (API?) settings? I think I'm brave enough ;) If it helps, I could share the contents of /tmp/zmlogs/...
by Daylights
Tue Oct 02, 2018 3:13 pm
Forum: ZoneMinder 1.30.x
Topic: Ubuntu - HTTP Error 500 on API
Replies: 5
Views: 933

Ubuntu - HTTP Error 500 on API

Hello, I've followed the guide to install Zoneminder on Ubuntu 16.04 (Easy way), which all went well. After that, I was encouraged to enable OPT_AUTH, which I could not find. I did find OPT_USE_AUTH, which is now enabled (I assume that's the same). I can successfully login http://server/zm, configur...