Re: Now hear this: Please test 1.26-beta.2!
Posted: Fri Aug 30, 2013 1:33 pm
the puppet install is using 12.04 server LTS 64bit
ZoneMinder Forums
https://forums.zoneminder.com/
From a vm running Ubuntu 12.04 server with zoneminder installed via puppet:river100 wrote:I used the puppet module and it's working but doesn't look like
it has H.264 support.
Will that be added to the puppet module in the future?
As far as the rest of the build I haven't tested much of it yet, but have
mjpeg IP cams, H264 cams and a BTTV capture card so I can check it out.
BTW the puppet module is nice, need to look into that.
Code: Select all
abauer@vUbuntuServer:~$ ffmpeg -decoders |grep 264
ffmpeg version N-55735-gaadfadd Copyright (c) 2000-2013 the FFmpeg developers
built on Aug 23 2013 13:24:48 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-shared --enable-swscale --enable-gpl
libavutil 52. 42.100 / 52. 42.100
libavcodec 55. 29.100 / 55. 29.100
libavformat 55. 14.102 / 55. 14.102
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 82.102 / 3. 82.102
libswscale 2. 5.100 / 2. 5.100
libswresample 0. 17.103 / 0. 17.103
libpostproc 52. 3.100 / 52. 3.100
VFS..D h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Code: Select all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install linux-headers-server linux-image-server linux-server
Code: Select all
sudo apt-get update && sudo apt-get install puppet git-core -y
git clone git://github.com/kylejohnson/puppet-zoneminder.git zoneminder
sudo puppet apply --verbose --modulepath=`pwd` -e 'include zoneminder' > zmpuppet.txt 2>&1
Code: Select all
info: Applying configuration version '1378128126'
notice: /Stage[main]/Zoneminder::Config/File[/etc/ld.so.conf.d/zoneminder.conf]/ensure: defined content as '{md5}9d932ad0f2270b481cc6bbeb3ba792c6'
info: /Stage[main]/Zoneminder::Config/File[/etc/ld.so.conf.d/zoneminder.conf]: Scheduling refresh of Exec[ldconfig]
notice: /Stage[main]/Zoneminder::Install/Package[php5-mysql]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[subversion]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[build-essential]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[libarchive-zip-perl]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[libdbi-perl]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[yasm]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[libmime-perl]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[php5]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[libmysqlclient-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[libssl-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[mysql-server]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[libdevice-serialport-perl]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[libjpeg-turbo8]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[libsys-mmap-perl]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[automake]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[libjpeg-turbo8-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[apache2-mpm-prefork]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[libapache2-mod-php5]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[libdate-manip-perl]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[apache2]/ensure: ensure changed 'purged' to 'present'
info: FileBucket adding {md5}b38ca5a963f52930ede3f4e1958f3275
info: /Stage[main]/Zoneminder::Config/File[/etc/apache2/sites-enabled/000-default]: Filebucketed /etc/apache2/sites-enabled/000-default to puppet with sum b38ca5a963f52930ede3f4e1958f3275
notice: /Stage[main]/Zoneminder::Config/File[/etc/apache2/sites-enabled/000-default]/ensure: defined content as '{md5}85f1baf2816c93f7d41bbadb61d3109d'
notice: /Stage[main]/Zoneminder::Install/Package[libwww-perl]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[libbz2-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Install/Package[libpcre3-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Zoneminder::Config/File[/var/www/zm]/ensure: created
notice: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[clone-ffmpeg]/returns: executed successfully
notice: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[configure-ffmpeg]/returns: executed successfully
info: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[configure-ffmpeg]: Scheduling refresh of Exec[make-ffmpeg]
notice: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[make-ffmpeg]: Triggered 'refresh' from 1 events
info: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[make-ffmpeg]: Scheduling refresh of Exec[make-install-ffmpeg]
notice: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[make-install-ffmpeg]: Triggered 'refresh' from 1 events
info: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[make-install-ffmpeg]: Scheduling refresh of Exec[make-install-libs-ffmpeg]
notice: /Stage[main]/Zoneminder::Install::Ffmpeg/Exec[make-install-libs-ffmpeg]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[clone-zoneminder]/returns: executed successfully
notice: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[checkout-release-1.26]/returns: executed successfully
notice: /Stage[main]/Zoneminder::Install::Zoneminder/File[/usr/local/src/zoneminder/configure.sh]/ensure: defined content as '{md5}e76b96210e8f75f3cb0db5791d6d6a7c'
notice: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[configure-zm]/returns: executed successfully
info: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[configure-zm]: Scheduling refresh of Exec[make-zm]
notice: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[make-zm]: Triggered 'refresh' from 1 events
info: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[make-zm]: Scheduling refresh of Exec[make-install-zm]
notice: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[make-install-zm]: Triggered 'refresh' from 1 events
info: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[make-install-zm]: Scheduling refresh of Exec[create-schema]
info: /Stage[main]/Zoneminder::Install::Zoneminder/Exec[make-install-zm]: Scheduling refresh of Exec[ldconfig]
notice: /Stage[main]/Zoneminder::Config/Exec[create-schema]: Triggered 'refresh' from 1 events
info: /Stage[main]/Zoneminder::Config/Exec[create-schema]: Scheduling refresh of Exec[grant-schema-privileges]
notice: /Stage[main]/Zoneminder::Config/Exec[ldconfig]: Triggered 'refresh' from 2 events
notice: /Stage[main]/Zoneminder::Config/Exec[grant-schema-privileges]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Zoneminder::Config/File[/etc/init.d/zm]/ensure: defined content as '{md5}816718d8691479780e48b2749f80f028'
info: Class[Zoneminder::Config]: Scheduling refresh of Service[zm]
info: Class[Zoneminder::Config]: Scheduling refresh of Service[apache2]
notice: /Stage[main]/Zoneminder::Service/Service[apache2]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Zoneminder::Service/Service[zm]/enable: enable changed 'false' to 'true'
notice: /Stage[main]/Zoneminder::Service/Service[zm]: Triggered 'refresh' from 1 events
info: Creating state file /var/lib/puppet/state/state.yaml
notice: Finished catalog run in 565.08 seconds
Performing a "sudo apt-get upgrade" from the command will exclude kernel updates. The update will alert you a newer kernel is available, but it will not install it. To upgrade to a newer kernel you have to call it directly as I showed. This is simply a preference. It is not required.river100 wrote: one sudo apt-get install linux-headers-server linux-image-server linux-server
and two, BTW it would not even start with this on the end I took it off and it went
> zmpuppet.txt 2>&1
You actually hit on a very good reason to, one day, change the way zoneminder handles these kinds of cameras. The issue isn't so much about storage space as it is about cpu resources. In order to save video as jpegs, zoneminder must first decode the stream in real time, but what isn't mentioned in the H.264 sales pitch is how cpu intensive decoding an H.264 stream really is. What you will find is even a high end server will only be able to decode a relatively small number of H.264 cameras before the cpu resources are exhausted. In time as H.264 and high(er) camera resolutions become more prevalent, this will become a greater problem.river100 wrote: H264 is important since a lot of the cheaper IP cams on the market only stream
H264. I'm testing a few of them using a remastered ubuntu 11.10 ( Dahua is the current test )
Zoneminder but being able to use 12.03 LTS is great.