Search Criteria
Package Details: zoneminder 1.36.33-2
Package Actions
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: | 72 |
Popularity: | 1.48 |
First Submitted: | 2008-03-21 00:09 (UTC) |
Last Updated: | 2024-02-12 12:50 (UTC) |
Dependencies (46)
- ffmpeg (ffmpeg-intel-full-gitAUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-decklinkAUR, ffmpeg-fullAUR, ffmpeg-gitAUR, ffmpeg-amd-fullAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-full-gitAUR)
- libjwtAUR
- perl-archive-zip
- perl-crypt-eksblowfishAUR
- perl-data-dump
- perl-data-entropyAUR
- perl-data-uuid
- perl-date-manip
- perl-datetime
- perl-dbd-mysql
- perl-device-serialport
- perl-file-slurp
- perl-image-info
- perl-io-interfaceAUR
- perl-io-socket-multicastAUR
- perl-json-maybexs
- perl-libwww
- perl-lwp-protocol-https
- perl-mime-lite
- perl-mime-tools
- perl-net-sftp-foreignAUR
- perl-number-bytes-human
- perl-php-serializationAUR
- perl-soap-wsdlAUR
- perl-sys-cpuAUR
- perl-sys-meminfo
- perl-sys-mmapAUR
- perl-uri-encodeAUR
- perl-xml-libxml
- perl-xml-parser
- php-apcu
- php-fpm
- php-gd
- php-intl (php)
- polkit (polkit-gitAUR, polkit-consolekitAUR)
- cmake (cmake-gitAUR) (make)
- apache (apache-gitAUR) (optional)
- fcgiwrap (optional) – required if using nginx
- libvncserver (libvncserver-gitAUR) (optional)
- mariadb (mysql55AUR, mysql56AUR, mytop-gitAUR, mysql81AUR, mysql57AUR, mysql80AUR, mysqlAUR, mariadb-lts, percona-server) (optional)
- multiwatchAUR (optional) – required if using nginx
- nginx (nginx-nchan-gitAUR, nginx-rtmp-sergey-gitAUR, nginx-mainline-boringsslAUR, nginx-quic-openssl-hgAUR, nginx-mainline-pushstreamAUR, tengineAUR, tengine-extraAUR, freenginx-mainline-hgAUR, angieAUR, freenginx-mainlineAUR, nginx-quic-libresslAUR, nginx-mainline) (optional)
- pod2manAUR (optional) – required for Docker support
- spawn-fcgi (optional) – required if using nginx
- vlc (vlc-gitAUR, vlc-luajitAUR) (optional) – provides libvlc, which may achieve better performance with some camera models
- zmeventnotificationAUR (optional) – machine learning powered recognition engine & event notification server
Required by (1)
Sources (8)
- fcgiwrap-multiwatch.service
- https://github.com/FriendsOfCake/crud/archive/refs/tags/v3.2.0.tar.gz
- https://github.com/ZoneMinder/CakePHP-Enum-Behavior/archive/refs/tags/1.0-zm.tar.gz
- https://github.com/ZoneMinder/RtspServer/archive/055d81fe1293429e496b19104a9ed3360755a440.zip
- https://github.com/ZoneMinder/zoneminder/archive/refs/tags/1.36.33.tar.gz
- zoneminder-httpd.conf
- zoneminder-nginx.conf
- zoneminder-php.ini
Latest Comments
« First ‹ Previous 1 .. 25 26 27 28 29 30 31 32 33 34 35 .. 62 Next › Last »
whata-mess commented on 2018-09-28 11:55 (UTC) (edited on 2018-09-28 13:24 (UTC) by whata-mess)
Jesus this thing sucks! Every time I update it breaks, I have so many symbolic links to old libs and blacklisted package updates and it still breaks every time I update.
I have no idea what is wrong with this time
Sep 28 12:44:06 arch zmwatch[1541]: ERR [Can't open memory map file '/dev/shm/zm.mmap.1': Permission denied] Sep 28 12:44:06 arch zmwatch[1541]: INF [Restarting capture daemon for Monitor-1, shared data not valid] Sep 28 12:44:06 arch zmdc[952]: INF ['zmc -m 1' starting at 18/09/28 12:44:06, pid = 3240] Sep 28 12:44:06 arch zmdc[3240]: INF ['zmc -m 1' started at 18/09/28 12:44:06] Sep 28 12:44:06 arch zmdc[952]: ERR ['zmc -m 1' exited abnormally, exit status 127] Sep 28 12:44:16 arch zmwatch[1541]: ERR [Can't open memory map file '/dev/shm/zm.mmap.1': Permission denied] Sep 28 12:44:16 arch zmwatch[1541]: INF [Restarting capture daemon for Monitor-1, shared data not valid] Sep 28 12:44:16 arch zmdc[3251]: INF ['zmc -m 1' started at 18/09/28 12:44:16] Sep 28 12:44:16 arch zmdc[952]: INF ['zmc -m 1' starting at 18/09/28 12:44:16, pid = 3251] Sep 28 12:44:16 arch zmdc[952]: ERR ['zmc -m 1' exited abnormally, exit status 127]
Nocifer commented on 2018-09-26 08:25 (UTC) (edited on 2018-09-26 09:55 (UTC) by Nocifer)
@alanking
I should have mentioned that when I said libvlc, I really meant the vlc package (which is already listed as an optional dependency in my PKGBUILD). Arch does not officially provide separate packages for the VLC GUI and its internal mechanics, like some other distros do, and I can't be sure if the two libvlc packages in the AUR are good or not (if you say you already tried them and ZoneMinder kept complaining, well... there you have it). So if you want to experiment with the libvlc backend you'll have to install the VLC player itself, along with all its bells and whistles.
But I think I found a much better solution: there is an AUR package called ffmpeg-full which provides an ffmpeg build with every possible feature enabled, which means that yes, it also includes libavresample (and likely will continue to do so in the future - I of course wouldn't hold my breath, since libavresample has been flagged as deprecated in upstream, but you can at least buy yourself some time until ZoneMinder hopefully updates itself to not require that library). So you can install that package instead of the official ffmpeg and be done with it.
As for your camera issues, the first thing you should do is check the various logs (/var/log/zoneminder/*.log and the systemd journal, or the 'Logs' screen from within ZoneMinder itself) and see if there are any errors reported. I also encountered some issues, as I mentioned in my first comment, which in my case had mostly to do with the tracking module (zmtrack.pl) constantly crashing, something I found out about by reading the logs. These kinds of issues are most probably incompatibility issues with old(ish) or cheap(ish) cameras, but I'm not knowledgeable enough about ZoneMinder to say for certain.
EDIT: Something just occurred to me. Since you installed zoneminder while on ffmpeg 4.0.2, which includes libavresample, then, as it is a library dependency zoneminder is built against, you will have to rebuild zoneminder so it knows the library is no longer available. Only updating ffmpeg to 4.0.3, which silently removes libavresample, would result in the current situation: zoneminder thinking libavresample is there, trying to use it, and failing.
The same goes for libvlc as well - did you rebuild zoneminder after installing it? If not, then it could be that the libvlc packages in the AUR are perfectly working, and you would still have a problem: zoneminder only knows what libraries were available during install time, so any new or changed requirements would need a rebuild. Which in a perfect world would translate in this package getting a release number bump and getting rebuilt automatically, something I would do myself if I were the package maintainer but alas, I'm not (yet).
So, long story short, try rebuilding zoneminder AFTER updating ffmpeg to 4.0.3 and/or installing either libvlc or vlc, and see if that resolves your issues.
EDIT 2: Just ran a test with libvlc installed, and zoneminder failed to build, so that's a no-go. Judging by the state of that package (wrong version numbers, unused variables, missing sources, etc) I wouldn't recommend installing it even if it had somehow worked. But anyway, the good news is that everything worked a-okay with the official vlc package installed, so previous advice is still relevant: install either vlc or preferably ffmpeg-full, then rebuild zoneminder.
alanking commented on 2018-09-25 10:21 (UTC)
Hi Nocifer, Thanks for the time taken to reply. Yes it is a problem with AVResample that broke ffmpeg. I can not for the life of me get libvlc working. I installed libvlc from the AUR but zoneminder is saying i have to install required libraries to use libvlc, even after i have it installed. the problems i get a sometimes the cameras just stop responding when switching through them or just not allowing recordings to play back. Never had that issue on the previous build of zm. I do think its more likely to be a zm issue then an issue with your build. In the mean time i guess i can just freeze the build of ffmpeg i have installed to keep AAVResample installed.
Nocifer commented on 2018-09-23 19:34 (UTC) (edited on 2018-09-23 19:44 (UTC) by Nocifer)
@alanking
Would you care to elaborate on what kind of "a few problems here or there" you've been having? I'd like to fix them if I can (and if they're due to faulty packaging), that's the whole point of my updating this ancient PKGBUILD :)
Regarding ffmpeg 4.0.2-3: I just rebuilt and reinstalled zoneminder and it worked as before, without any errors or hick-ups. The only difference I could spot is at the end of CMake's configuration step, where in the "Optional libraries not found" list there is a new "AVResample" item added. I did a little digging though and I found that the entire reason for Arch updating the ffmpeg package was to drop support for libavresample. See here: https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/ffmpeg&id=a0f9a95b804d34209c88122fe9941179ad584262
So this is probably our culprit. Seeing as it is designated "optional" in ZoneMinder's CMake file, it seems like it isn't an absolutely required component. So, if your setup is broken, I guess that unknowingly to you or not your camera(s) have been making use of video resampling through ffmpeg.
If that's what you really want or need (i.e. for some reason your camera(s) need that specific resampling library to work properly - which I doubt) then maybe you could consider using libvlc instead of ffmpeg, as it's there for precisely that reason - as an optional alternative in case ffmpeg doesn't cover your needs.
If that isn't the case, then maybe you could try fiddling with your camera(s)'s settings and find a way to either change the resampling method or disable the resampling altogether. Sorry for being so vague but as I said, I'm not exactly an expert on ZoneMinder :P
alanking commented on 2018-09-23 10:50 (UTC)
appreciate your work Nocifer, works pretty well mostly. I am having a few problems here or there but overall it is mostly working... just wanted to warn users the ffmpeg 1:4.0.2-3 update yesterday broke zm. so i needed to downgrade.
Nocifer commented on 2018-09-15 22:46 (UTC) (edited on 2018-10-02 15:00 (UTC) by Nocifer)
After almost a year of eagerly waiting for this package to be updated, I decided to take matters into my own hands. Some much needed observations:
This is really not intended as bashing to ZoneMinder's developers or to the previous and current (?) maintainers of this package, it's just something I had to get out of my chest. Developers, please keep up the good work!
So, first the good news:
Now, the not-so-good news:
What this comes down to is: people with experience on using ZoneMinder, please check these errors and see if you can tell whether they're errors that should be fixed on my side or common bugs that upstream should/will take care of. Also, assume that I have made errors in packaging and/or forgotten a few dependencies, so please check every nook and corner to ensure that nothing is blatantly broken!
And finally the bad news:
Without further ado:
EDIT: Links removed, use the updated official PKGBUILD instead.
Fingers crossed that it works for you as great as it worked for me.
Oh, also @zlqrn:
"why is this beautiful software so hard to install!!!!"
It's hard because under the surface it's really not as beautiful as you may think... :P
alanking commented on 2018-09-14 21:37 (UTC)
I hope so, as of now my zoneminder is broke due to PHP 7 and ffmpg/x265 updates which I had to allow for other packages. I see the new version is PHP 7 compatible. Fingers crossed mesmar or someone else can maintain this important package.
escentrix commented on 2018-09-14 20:24 (UTC)
There is a new version out now. Is this package still maintained for an expected update?
ImNtReal commented on 2018-09-13 14:00 (UTC)
Seems like onvif support requires: perl-data-uuid perl-soap-wsdl perl-io-socket-multicast
zlqrn commented on 2018-07-30 13:50 (UTC)
WHY?? every year something goes nuts with zoneminder.
cant follow @hardroids example because getting ffmpeg3.4-full to install is/was a bitch. then after pulling that miracle zoneminder wont install because i get a cmake error with zm.dir and zm_mpeg at 38% build point >> all research indicates this is a ffmpeg issue. SO WTF is going on?? (i know nu updates of ffmpeg chanes nomenclature and shit but come on).
why is this beautiful software so hard to install!!!!
@hardroid > please explaing a bit more about your ubuntu installation. you have another machine where you copied folders from? your new PKGBLD is defintely better. but still cant get this damn software to install. so bad and such a waste of time i sometimes think i will have to ditch arch linux (dont want to anyway) MESMER PLZ UPDATE
« First ‹ Previous 1 .. 25 26 27 28 29 30 31 32 33 34 35 .. 62 Next › Last »