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 2 3 4 5 6 7 8 9 10 11 12 .. 60 Next › Last »

synthead commented on 2022-04-09 02:40 (UTC)

but I tried compiling it and it was a no-go

Can you please share your build error so we can help?

synthead commented on 2022-04-09 02:38 (UTC)

Can we use release tarballs instead of cloning with git? It adds build dependencies that aren't necessary.

https://github.com/ZoneMinder/zoneminder/tags

Nocifer commented on 2022-04-04 08:06 (UTC) (edited on 2022-04-05 10:12 (UTC) by Nocifer)

Unfortunately we're not, otherwise I'd have already released an update (I was also going to post something about this, but then I completely forgot about it).

When the new version came out I saw that item in the changelog and began updating the package, but in the process I found out that there are still multiple compilation errors with ffmpeg 5. I opened an issue on Github about it and learned that after all, ffmpeg 5 support is in the form of a PR that is still WIP and hasn't yet been merged because it doesn't build cleanly (I tried).

I don't know how "Fix compilation with ffmpeg 5.0" got into the changelog, but that's clearly not the case.

EDIT: I just noticed that the PR in question was merged into master 13 hours ago, so hopefully we're going to be getting a new, ffmpeg 5 compatible release shortly.

EDIT 2: I tested the latest master and it built without issues, so we're indeed back in business as soon as the next version is out.

EDIT 3: New release 1.36.14 is out but I tried compiling it and it was a no-go. The changelog for this new release even acknowledges it ("more fixes for compiling against ffmpeg5. Doesn't yet compile though.") so it seems we'll just have to wait some more.

mosh5382 commented on 2022-04-04 01:15 (UTC)

Version 1.36.13 has been released and we might be back in business. One of the fixes is:

Fix compilation with ffmpeg 5.0

I don't have a chance to test at the moment but that sounds promising.

mosh5382 commented on 2022-03-15 01:12 (UTC)

I don't update my zoneminder machine often and when I do I usually regret it.

I was able to get the current PKGBUILD version 1.36.12-2 running by reading the comments below and downgrading to these versions for ffmpeg and x264:

x264-3:0.163.r3060.5db6aa6-1 ffmpeg-2:4.4.1-1

This appears to be the relevant issue that will allow us to run with the current ffmpeg version:

https://github.com/ZoneMinder/zoneminder/issues/3445

Sounds like we might be waiting for a while.

Nocifer commented on 2022-02-28 10:23 (UTC) (edited on 2022-02-28 10:24 (UTC) by Nocifer)

@Synthead Alright, but I'd appreciate it if anyone has any idea how to do that without modifying ZM's source files, because I have none. Forcing ZM to build with 4.4 instead of 5.0 may be easy enough, as demonstrated by @ultimategrandson, but during runtime it will still call the ffmpeg binary and thus get an incompatible version as the reply, because the Arch compatibility package for 4.4 does not offer any binaries, only libraries and headers (which are probably meant for apps that use them to build their own stuff but do not use the ffmpeg binary itself - I may be mistaken though, as I'm not familiar with the internals of any of these apps).

This is probably something that the ZM upstream should fix on their own (which could take a while because FFmpeg 5.0 is not in the Debian repos yet).

synthead commented on 2022-02-28 08:02 (UTC)

We should probably make zm build and use the libs from ffmpeg4.4

ultimategrandson commented on 2022-02-26 01:59 (UTC)

@Nocifer - yeah, I'm thinking I might switch to Debian or something. Basically it just crashes with a segmentation fault according to ZM logs. I've tried fiddling with the CMake configs and making it build with the ffmpeg 3.4 and 4.4 but cannot seem to get it to actually run. I was having other issues in the lead up to this, so as much as I like ArchLinux - its probably not the best match for ZoneMinder.

Nocifer commented on 2022-02-25 09:55 (UTC)

As always, with major version bumps of major system libs some things are bound to break. Especially things like ZoneMinder, which optimize for Docker and stable distros like Debian and the like, and as a result push out new versions rather conservatively and do not take into account Arch's live fast die young attitude.

So unfortunately @ultimategrandson, I suspect that even though you managed to use ffmpeg4.4 to make ZM build, it will probably take an update from upstream to properly fix this issue and make ZM run. There is already a bug report for it on the project's tracker, so hopefully it won't take very long.

But just for the heck of it, what kind of errors are printed when you try to start those failing monitors?

ultimategrandson commented on 2022-02-24 14:48 (UTC)

I tried change the cmake file to point to ffmpeg4.4, i got it to build but the monitors no longer start :(