[Slackbuilds-users] ZoneMinder build fails if ffmpeg is not installed

Willy Sudiarto Raharjo willysr at slackbuilds.org
Fri Jan 25 13:33:46 UTC 2019


> One final (I think) note: if you want to use the ZoneMinder API, you also
> need to have  php-apcu installed. It would be good to document these things
> so that users don't have to dig to find it.

>> Thanks Willy. A couple more notes/issues/fixes for this new version:
>>
>> 1. By default, ZoneMinder now saves events as mp4 videos instead of
>> frames. For this to work, x264 and libmp4v2 must be installed prior to
>> building. It's still possible to just use image frames as before, but I
>> think x264 and libmp4v2 need to be at least optional dependencies.
>> Personally, I think they should be required, as otherwise the user will
>> have to switch to saving image frames only.
>>
>> 2. Even with x264 and libmp4v2 installed, ZoneMinder was still unable to
>> save videos for me. I had to apply the attached patch for it to work.
>> I'm not really sure why that's the case, since I didn't find any other
>> reports of it not working as is. GenoBob, perhaps you and/or any other
>> Slackware ZoneMinder users can report whether it works for you (and add
>> this patch to the SlackBuild if appropriate)?
>>
>> 3. This version stores events and other data in ZM_CONTENTDIR, which
>> defaults to /var/lib/zoneminder. However, the SlackBuild script doesn't
>> create this directory, so there are initially errors when running until
>> the user manually creates it. (It needs to be owned by apache:apache). I
>> recommend having the SlackBuild script create this directory as part of the
>> package, and make it a build option so it can be changed at build time.
>>
>> Don't take these comments as a criticism. I am really grateful for the
>> script and I'm glad that it's basically working for me now. I was actually
>> procrastinating upgrading to 1.32.x because of all the changes. I just
>> want to help make the installation process as smooth as possible for
>> others.

Hi Dan

Thanks for this investigations

would you mind sending me the patch for this improvements?



-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20190125/cfbda42b/attachment.asc>


More information about the SlackBuilds-users mailing list