Package Details: zoneminder 1.36.33-2

Git Clone URL: https://aur.archlinux.org/zoneminder.git (read-only, click to copy)
Package Base: zoneminder
Description: A full-featured, open source, state-of-the-art video surveillance software system
Upstream URL: https://www.zoneminder.com/
Keywords: camera cctv monitor record security surveillance video zoneminder
Licenses: GPL-2.0-only
Conflicts: zoneminder-git
Submitter: None
Maintainer: Nocifer
Last Packager: Nocifer
Votes: 70
Popularity: 0.25
First Submitted: 2008-03-21 00:09 (UTC)
Last Updated: 2024-02-12 12:50 (UTC)

Dependencies (46)

Sources (8)

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 60 Next › Last »

DaMadOne commented on 2021-04-17 00:16 (UTC)

Thanks @Nocifier. Downgrading libmp4v2 to 4.1.3 and then clean building ZoneMinder fixed it. I am greatly appreciative of your work and I thank you for what you do.

I run Proxmox with various VM/containers and I could only imagine the frustration of those without an easy backup/restore solution. Many of my VMs are Arch based which I prefer because of the control over them. However ZM has been a PITA on Arch for a long time. Thank you for being very tentative of this package!

Nocifer commented on 2021-04-12 09:17 (UTC) (edited on 2021-04-12 11:01 (UTC) by Nocifer)

Updated package to 1.34.24, tried to test build, got the MP4 errors previously reported by @zazenhei, downgraded libmp4v2, got the same errors, decided to not bother and uploaded the new version anyway.

If anyone has found a solution for these errors (as I said, downgrading libmp4v2 didn't work for me) I'd be grateful if they'd post it here, otherwise I'll just bear with it until 1.35 hopefully resolves the issue(s). Well, at least this release should be compatible with PHP 8 according to the changelog.

EDIT: Actually scratch that, turns out that downgrading libmp4v2 to 4.1.3 does fix the issue, it's just that I had to clean my working environment after having already tried to build with 4.1.4. So yeah, downgrading works.

sav commented on 2021-04-02 17:41 (UTC)

@Mike616, thank you so much for your advice.

Nocifer commented on 2021-03-30 11:31 (UTC)

@everyone, unfortunately almost all these errors that have been variously plaguing our setups lately stem from the simple fact that ZM hasn't seen a new proper release in (relatively speaking) ages, while at the same time Arch is a fast moving distro that constantly pulls in all the newest versions of x264, x265, ffmpeg, php, dav1d, heif, etc etc, which ZM's latest stable release is obviously not very compatible with.

This isn't solely the devs' fault, because if we'd been using ZM on something like e.g. Debian this would not have been so much of a problem, so this situation is actually a superb example of why a rolling distro is not great for being used as a server for large and complex apps like ZM :)

zazenhei commented on 2021-03-30 09:29 (UTC) (edited on 2021-04-04 07:10 (UTC) by zazenhei)

new build error.

/home/xxx/.cache/yay/zoneminder/src/zoneminder-git/src/zm_video.h:158:2: error: ‘MP4FileHandle’ does not name a type
  158 |  MP4FileHandle mp4h;
      |  ^~~~~~~~~~~~~
/home/xxx/.cache/yay/zoneminder/src/zoneminder-git/src/zm_video.h:159:2: error: ‘MP4TrackId’ does not name a type
  159 |  MP4TrackId mp4vtid;
      |  ^~~~~~~~~~
make[2]: *** [src/CMakeFiles/zm.dir/build.make:104: src/CMakeFiles/zm.dir/zm_camera.cpp.o] error 1
make[1]: *** [CMakeFiles/Makefile2:414: src/CMakeFiles/zm.dir/all] error 2
make: *** [Makefile:156: all] error 2

I have downgraded libmp4. Then the problem was solved.

Mike616 commented on 2021-03-28 23:41 (UTC)

I also had issues with php not being able to load the php-gd library (causing issues with Nextcloud). It was still looking for the newer version of libx265. Downgrading libheif to 1.11.0-1 got php working again.

langfingaz commented on 2021-03-28 11:57 (UTC)

@Mike616 Thanks for sharing your steps. I had to downgrade dav1d as well (back to version 0.7.1-1).

Mike616 commented on 2021-03-26 06:40 (UTC) (edited on 2021-03-26 06:52 (UTC) by Mike616)

Okay it looks like zoneminder doesn't yet support the latest release of libx264. Downgrading ffmpeg, libx265, and libx264 to the previous versions solved the problem for me.

Here's how I did this:

Find the previous versions of all three packages:

$ cat /var/log/pacman.log | grep -P "x264|x265|ffmpeg"
[2021-03-25T22:17:19-0700] [ALPM] upgraded x264 (3:0.160.r3011.cde9a93-1 -> 3:0.161.r3039.544c61f-1)
[2021-03-25T22:17:19-0700] [ALPM] upgraded x265 (3.4-1 -> 3.5-1)
[2021-03-25T22:17:19-0700] [ALPM] upgraded ffmpeg (2:4.3.2-2 -> 2:4.3.2-3)

If you haven't cleared your pacman cache, you can install the previous cached versions. You'll have to do all three packages at the same time since they are dependent on each other:

# pacman -U /var/cache/pacman/pkg/{ffmpeg-2:4.3.2-2-x86_64.pkg.tar.zst,x264-3:0.160.r3011.cde9a93-1-x86_64.pkg.tar.zst,x265-3.4-1-x86_64.pkg.tar.zst}

You can tell pacman to ignore updates for these packages for the time being by adding the following to the options section of /etc/pacman.conf:

IgnorePkg   = ffmpeg
IgnorePkg   = x264
IgnorePkg   = x265

After doing this, all my cameras came back to life. Yay because I'm going on vacation tomorrow.

Mike616 commented on 2021-03-26 06:17 (UTC) (edited on 2021-03-26 06:17 (UTC) by Mike616)

@alanking I just ran pacman -Suy and rebooted and now I'm having the same problem. All cameras are red. I can open the web console but cannot stream anything.

ERR ['zmc -m 7' exited abnormally, exit status 127]
ERR ['zma -m 6' exited abnormally, exit status 127]
WAR [ Memory verify failed for Front Door (high)(id:6)]
ERR [Memory map file '/dev/shm/zm.mmap.6' does not exist in zmMemAttach.  zmc might not be running.]
ERR [Memory map file '/dev/shm/zm.mmap.8' does not exist in zmMemAttach.  zmc might not be running.]

Trying to run zmc or zma directly produces:

zmc: error while loading shared libraries: libx264.so.160: cannot open shared object file: No such file or directory

alanking commented on 2021-03-25 13:40 (UTC)

did this break for anyone else a couple of days ago. all my cameras are red and no longer working. Console still works fine.