Record as video instead of jpegs

Forum for questions and support relating to the 1.29.x releases only.
antares2001
Posts: 18
Joined: Fri Apr 08, 2016 9:29 am

Re: Record as video instead of jpegs

Post by antares2001 »

Okay - I moved from Ubuntu 16.04 to Debian Jessie to see what it will look like there and assuming it might work there more stable, but no luck :-(

Code: Select all

# ./do_debian_package.sh `lsb_release -a 2>/dev/null | grep Codename | awk '{print $2}'` `date +%Y%m%d`01 local feature-h264-videostorage
M	distros/ubuntu1504/changelog
M	distros/ubuntu1504/control
Already on 'feature-h264-videostorage'
Your branch is up-to-date with 'origin/feature-h264-videostorage'.
Doing local release zoneminder_1.29.2-jessie-2016042701
Reading package lists... Done
Building dependency tree
Reading state information... Done
devscripts is already the newest version.
equivs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `zoneminder-build-deps' in `../zoneminder-build-deps_1.29.2-jessie-2016042701_amd64.deb'.

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package zoneminder-build-deps.
(Reading database ... 50255 files and directories currently installed.)
Preparing to unpack zoneminder-build-deps_1.29.2-jessie-2016042701_amd64.deb ...
Unpacking zoneminder-build-deps (1.29.2-jessie-2016042701) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  apache2-dev cmake cmake-data dh-linktree dh-systemd gir1.2-glib-2.0 gir1.2-polkit-1.0 libapr1-dev libaprutil1-dev libarchive13 libavcodec-dev libavdevice-dev libavdevice55
  libavformat-dev libavresample-dev libavutil-dev libbz2-dev libcdio-cdda1 libcdio-paranoia1 libcurl3 libcurl4-gnutls-dev libdate-manip-perl libelfg0 libexpat1-dev libgcrypt20-dev
  libgirepository-1.0-1 libglib2.0-bin libglib2.0-dev libgmp-dev libgmpxx4ldbl libgnutls28-dev libgnutlsxx28 libgpg-error-dev libjack-jackd2-0 libjpeg-dev libjpeg62-turbo-dev
  libjs-jquery libjs-mootools libjs-sphinxdoc libjs-underscore libldap2-dev liblzo2-2 libmysqlclient-dev libp11-kit-dev libpcre3-dev libpcrecpp0 libphp-serialization-perl
  libpolkit-gobject-1-dev libsctp-dev libsctp1 libswscale-dev libsys-mmap-perl libtasn1-6-dev libv4l-dev libv4l2rds0 nettle-dev python-jinja2 python-markupsafe python-sphinx
  sphinx-common uuid-dev zlib1g-dev
Suggested packages:
  codeblocks eclipse ninja-build augeas-tools lrzip libdc1394-22-dev libgsm1-dev libogg-dev libraw1394-dev libschroedinger-dev libspeex-dev libtheora-dev libvorbis-dev libx11-dev
  libxext-dev libcurl4-doc libcurl3-dbg libidn11-dev libkrb5-dev librtmp-dev libssh2-1-dev libgcrypt20-doc libglib2.0-doc libgmp10-doc libmpfr-dev gnutls-doc gnutls-bin guile-gnutls
  jackd2 python-jinja2-doc libjs-mathjax dvipng texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
Recommended packages:
  bzip2-doc javascript-common lksctp-tools libtasn1-doc sphinx-doc
The following NEW packages will be installed:
  apache2-dev cmake cmake-data dh-linktree dh-systemd gir1.2-glib-2.0 gir1.2-polkit-1.0 libapr1-dev libaprutil1-dev libarchive13 libavcodec-dev libavdevice-dev libavdevice55
  libavformat-dev libavresample-dev libavutil-dev libbz2-dev libcdio-cdda1 libcdio-paranoia1 libcurl3 libcurl4-gnutls-dev libdate-manip-perl libelfg0 libexpat1-dev libgcrypt20-dev
  libgirepository-1.0-1 libglib2.0-bin libglib2.0-dev libgmp-dev libgmpxx4ldbl libgnutls28-dev libgnutlsxx28 libgpg-error-dev libjack-jackd2-0 libjpeg-dev libjpeg62-turbo-dev
  libjs-jquery libjs-mootools libjs-sphinxdoc libjs-underscore libldap2-dev liblzo2-2 libmysqlclient-dev libp11-kit-dev libpcre3-dev libpcrecpp0 libphp-serialization-perl
  libpolkit-gobject-1-dev libsctp-dev libsctp1 libswscale-dev libsys-mmap-perl libtasn1-6-dev libv4l-dev libv4l2rds0 nettle-dev python-jinja2 python-markupsafe python-sphinx
  sphinx-common uuid-dev zlib1g-dev
0 upgraded, 62 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 23.1 MB/23.2 MB of archives.
After this operation, 103 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org/ jessie/updates/main libmysqlclient-dev amd64 5.5.49-0+deb8u1 [954 kB]
Get:2 http://ftp.de.debian.org/debian/ jessie/main dh-systemd all 1.22 [18.1 kB]
Get:3 http://ftp.de.debian.org/debian/ jessie/main python-markupsafe amd64 0.23-1+b1 [15.9 kB]
Get:4 http://ftp.de.debian.org/debian/ jessie/main python-jinja2 all 2.7.3-1 [170 kB]
Get:5 http://ftp.de.debian.org/debian/ jessie/main libjs-jquery all 1.7.2+dfsg-3.2 [97.5 kB]
Get:6 http://ftp.de.debian.org/debian/ jessie/main libjs-underscore all 1.7.0~dfsg-1 [49.9 kB]
Get:7 http://ftp.de.debian.org/debian/ jessie/main libjs-sphinxdoc all 1.2.3+dfsg-1 [41.1 kB]
Get:8 http://ftp.de.debian.org/debian/ jessie/main sphinx-common all 1.2.3+dfsg-1 [407 kB]
Get:9 http://ftp.de.debian.org/debian/ jessie/main python-sphinx all 1.2.3+dfsg-1 [271 kB]
Get:10 http://ftp.de.debian.org/debian/ jessie/main uuid-dev amd64 2.25.2-6 [78.3 kB]
Get:11 http://ftp.de.debian.org/debian/ jessie/main libsctp1 amd64 1.0.16+dfsg-2 [27.6 kB]
Get:12 http://ftp.de.debian.org/debian/ jessie/main libsctp-dev amd64 1.0.16+dfsg-2 [83.5 kB]
Get:13 http://ftp.de.debian.org/debian/ jessie/main libapr1-dev amd64 1.5.1-3 [658 kB]
Get:14 http://ftp.de.debian.org/debian/ jessie/main libldap2-dev amd64 2.4.40+dfsg-1+deb8u2 [323 kB]
Get:15 http://ftp.de.debian.org/debian/ jessie/main libexpat1-dev amd64 2.1.0-6+deb8u1 [126 kB]
Get:16 http://ftp.de.debian.org/debian/ jessie/main libaprutil1-dev amd64 1.5.4-1 [367 kB]
Get:17 http://ftp.de.debian.org/debian/ jessie/main apache2-dev amd64 2.4.10-10+deb8u4 [281 kB]
Get:18 http://ftp.de.debian.org/debian/ jessie/main dh-linktree all 0.4 [10.3 kB]
Get:19 http://ftp.de.debian.org/debian/ jessie/main cmake-data all 3.0.2-1 [929 kB]
Get:20 http://ftp.de.debian.org/debian/ jessie/main libarchive13 amd64 3.1.2-11 [269 kB]
Get:21 http://ftp.de.debian.org/debian/ jessie/main libcurl3 amd64 7.38.0-4+deb8u3 [259 kB]
Get:22 http://ftp.de.debian.org/debian/ jessie/main cmake amd64 3.0.2-1 [2,384 kB]
Get:23 http://ftp.de.debian.org/debian/ jessie/main libavutil-dev amd64 6:11.6-1~deb8u1 [189 kB]
Get:24 http://ftp.de.debian.org/debian/ jessie/main libavresample-dev amd64 6:11.6-1~deb8u1 [108 kB]
Get:25 http://ftp.de.debian.org/debian/ jessie/main libavcodec-dev amd64 6:11.6-1~deb8u1 [3,427 kB]
Get:26 http://ftp.de.debian.org/debian/ jessie/main libavformat-dev amd64 6:11.6-1~deb8u1 [686 kB]
Get:27 http://ftp.de.debian.org/debian/ jessie/main libswscale-dev amd64 6:11.6-1~deb8u1 [153 kB]
Get:28 http://ftp.de.debian.org/debian/ jessie/main libcdio-cdda1 amd64 0.83-4.2 [132 kB]
Get:29 http://ftp.de.debian.org/debian/ jessie/main libcdio-paranoia1 amd64 0.83-4.2 [132 kB]
Get:30 http://ftp.de.debian.org/debian/ jessie/main libjack-jackd2-0 amd64 1.9.10+20140719git3eb0ae6a~dfsg-2 [172 kB]
Get:31 http://ftp.de.debian.org/debian/ jessie/main libavdevice55 amd64 6:11.6-1~deb8u1 [86.8 kB]
Get:32 http://ftp.de.debian.org/debian/ jessie/main libavdevice-dev amd64 6:11.6-1~deb8u1 [89.9 kB]
Get:33 http://ftp.de.debian.org/debian/ jessie/main libbz2-dev amd64 1.0.6-7+b3 [29.0 kB]
Get:34 http://ftp.de.debian.org/debian/ jessie/main libgpg-error-dev amd64 1.17-3 [75.1 kB]
Get:35 http://ftp.de.debian.org/debian/ jessie/main libgcrypt20-dev amd64 1.6.3-2+deb8u1 [438 kB]
Get:36 http://ftp.de.debian.org/debian/ jessie/main libcurl4-gnutls-dev amd64 7.38.0-4+deb8u3 [327 kB]
Get:37 http://ftp.de.debian.org/debian/ jessie/main libgnutlsxx28 amd64 3.3.8-6+deb8u3 [14.6 kB]
Get:38 http://ftp.de.debian.org/debian/ jessie/main libgmpxx4ldbl amd64 2:6.0.0+dfsg-6 [22.1 kB]
Get:39 http://ftp.de.debian.org/debian/ jessie/main libgmp-dev amd64 2:6.0.0+dfsg-6 [621 kB]
Get:40 http://ftp.de.debian.org/debian/ jessie/main nettle-dev amd64 2.7.1-5+deb8u1 [839 kB]
Get:41 http://ftp.de.debian.org/debian/ jessie/main zlib1g-dev amd64 1:1.2.8.dfsg-2+b1 [206 kB]
Get:42 http://ftp.de.debian.org/debian/ jessie/main libtasn1-6-dev amd64 4.2-3+deb8u1 [90.5 kB]
Get:43 http://ftp.de.debian.org/debian/ jessie/main libp11-kit-dev amd64 0.20.7-1 [62.0 kB]
Get:44 http://ftp.de.debian.org/debian/ jessie/main libgnutls28-dev amd64 3.3.8-6+deb8u3 [639 kB]
Get:45 http://ftp.de.debian.org/debian/ jessie/main libjpeg62-turbo-dev amd64 1:1.3.1-12 [455 kB]
Get:46 http://ftp.de.debian.org/debian/ jessie/main libjpeg-dev all 1:1.3.1-12 [49.3 kB]
Get:47 http://ftp.de.debian.org/debian/ jessie/main libpcrecpp0 amd64 2:8.35-3.3+deb8u4 [142 kB]
Get:48 http://ftp.de.debian.org/debian/ jessie/main libpcre3-dev amd64 2:8.35-3.3+deb8u4 [441 kB]
Get:49 http://ftp.de.debian.org/debian/ jessie/main libelfg0 amd64 0.8.13-5 [51.6 kB]
Get:50 http://ftp.de.debian.org/debian/ jessie/main libglib2.0-bin amd64 2.42.1-1+b1 [1,336 kB]
Get:51 http://ftp.de.debian.org/debian/ jessie/main libglib2.0-dev amd64 2.42.1-1+b1 [2,644 kB]
Get:52 http://ftp.de.debian.org/debian/ jessie/main libgirepository-1.0-1 amd64 1.42.0-2.2 [95.7 kB]
Get:53 http://ftp.de.debian.org/debian/ jessie/main gir1.2-glib-2.0 amd64 1.42.0-2.2 [141 kB]
Get:54 http://ftp.de.debian.org/debian/ jessie/main gir1.2-polkit-1.0 amd64 0.105-8 [14.2 kB]
Get:55 http://ftp.de.debian.org/debian/ jessie/main libpolkit-gobject-1-dev amd64 0.105-8 [59.0 kB]
Get:56 http://ftp.de.debian.org/debian/ jessie/main libv4l2rds0 amd64 1.6.0-2 [47.0 kB]
Get:57 http://ftp.de.debian.org/debian/ jessie/main libv4l-dev amd64 1.6.0-2 [107 kB]
Get:58 http://ftp.de.debian.org/debian/ jessie/main libdate-manip-perl all 6.47-1 [923 kB]
Get:59 http://ftp.de.debian.org/debian/ jessie/main libphp-serialization-perl all 0.34-1 [11.1 kB]
Get:60 http://ftp.de.debian.org/debian/ jessie/main libsys-mmap-perl amd64 0.17-1 [18.1 kB]
Get:61 http://ftp.de.debian.org/debian/ jessie/main libjs-mootools all 1.4.5~debian1-2.1 [242 kB]
Fetched 23.1 MB in 3s (6,465 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package dh-systemd.
(Reading database ... 50259 files and directories currently installed.)
Preparing to unpack .../dh-systemd_1.22_all.deb ...
Unpacking dh-systemd (1.22) ...
Selecting previously unselected package python-markupsafe.
Preparing to unpack .../python-markupsafe_0.23-1+b1_amd64.deb ...
Unpacking python-markupsafe (0.23-1+b1) ...
Selecting previously unselected package python-jinja2.
Preparing to unpack .../python-jinja2_2.7.3-1_all.deb ...
Unpacking python-jinja2 (2.7.3-1) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../libjs-jquery_1.7.2+dfsg-3.2_all.deb ...
Unpacking libjs-jquery (1.7.2+dfsg-3.2) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../libjs-underscore_1.7.0~dfsg-1_all.deb ...
Unpacking libjs-underscore (1.7.0~dfsg-1) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../libjs-sphinxdoc_1.2.3+dfsg-1_all.deb ...
Unpacking libjs-sphinxdoc (1.2.3+dfsg-1) ...
Selecting previously unselected package sphinx-common.
Preparing to unpack .../sphinx-common_1.2.3+dfsg-1_all.deb ...
Unpacking sphinx-common (1.2.3+dfsg-1) ...
Selecting previously unselected package python-sphinx.
Preparing to unpack .../python-sphinx_1.2.3+dfsg-1_all.deb ...
Unpacking python-sphinx (1.2.3+dfsg-1) ...
Selecting previously unselected package uuid-dev:amd64.
Preparing to unpack .../uuid-dev_2.25.2-6_amd64.deb ...
Unpacking uuid-dev:amd64 (2.25.2-6) ...
Selecting previously unselected package libsctp1:amd64.
Preparing to unpack .../libsctp1_1.0.16+dfsg-2_amd64.deb ...
Unpacking libsctp1:amd64 (1.0.16+dfsg-2) ...
Selecting previously unselected package libsctp-dev.
Preparing to unpack .../libsctp-dev_1.0.16+dfsg-2_amd64.deb ...
Unpacking libsctp-dev (1.0.16+dfsg-2) ...
Selecting previously unselected package libapr1-dev.
Preparing to unpack .../libapr1-dev_1.5.1-3_amd64.deb ...
Unpacking libapr1-dev (1.5.1-3) ...
Selecting previously unselected package libldap2-dev:amd64.
Preparing to unpack .../libldap2-dev_2.4.40+dfsg-1+deb8u2_amd64.deb ...
Unpacking libldap2-dev:amd64 (2.4.40+dfsg-1+deb8u2) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../libexpat1-dev_2.1.0-6+deb8u1_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.1.0-6+deb8u1) ...
Selecting previously unselected package libaprutil1-dev.
Preparing to unpack .../libaprutil1-dev_1.5.4-1_amd64.deb ...
Unpacking libaprutil1-dev (1.5.4-1) ...
Selecting previously unselected package apache2-dev.
Preparing to unpack .../apache2-dev_2.4.10-10+deb8u4_amd64.deb ...
Unpacking apache2-dev (2.4.10-10+deb8u4) ...
Selecting previously unselected package dh-linktree.
Preparing to unpack .../dh-linktree_0.4_all.deb ...
Unpacking dh-linktree (0.4) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../cmake-data_3.0.2-1_all.deb ...
Unpacking cmake-data (3.0.2-1) ...
Selecting previously unselected package liblzo2-2:amd64.
Preparing to unpack .../liblzo2-2_2.08-1.2_amd64.deb ...
Unpacking liblzo2-2:amd64 (2.08-1.2) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../libarchive13_3.1.2-11_amd64.deb ...
Unpacking libarchive13:amd64 (3.1.2-11) ...
Selecting previously unselected package libcurl3:amd64.
Preparing to unpack .../libcurl3_7.38.0-4+deb8u3_amd64.deb ...
Unpacking libcurl3:amd64 (7.38.0-4+deb8u3) ...
Selecting previously unselected package cmake.
Preparing to unpack .../cmake_3.0.2-1_amd64.deb ...
Unpacking cmake (3.0.2-1) ...
Selecting previously unselected package libavutil-dev.
Preparing to unpack .../libavutil-dev_6%3a11.6-1~deb8u1_amd64.deb ...
Unpacking libavutil-dev (6:11.6-1~deb8u1) ...
Selecting previously unselected package libavresample-dev.
Preparing to unpack .../libavresample-dev_6%3a11.6-1~deb8u1_amd64.deb ...
Unpacking libavresample-dev (6:11.6-1~deb8u1) ...
Selecting previously unselected package libavcodec-dev.
Preparing to unpack .../libavcodec-dev_6%3a11.6-1~deb8u1_amd64.deb ...
Unpacking libavcodec-dev (6:11.6-1~deb8u1) ...
Selecting previously unselected package libavformat-dev.
Preparing to unpack .../libavformat-dev_6%3a11.6-1~deb8u1_amd64.deb ...
Unpacking libavformat-dev (6:11.6-1~deb8u1) ...
Selecting previously unselected package libswscale-dev.
Preparing to unpack .../libswscale-dev_6%3a11.6-1~deb8u1_amd64.deb ...
Unpacking libswscale-dev (6:11.6-1~deb8u1) ...
Selecting previously unselected package libcdio-cdda1.
Preparing to unpack .../libcdio-cdda1_0.83-4.2_amd64.deb ...
Unpacking libcdio-cdda1 (0.83-4.2) ...
Selecting previously unselected package libcdio-paranoia1.
Preparing to unpack .../libcdio-paranoia1_0.83-4.2_amd64.deb ...
Unpacking libcdio-paranoia1 (0.83-4.2) ...
Selecting previously unselected package libjack-jackd2-0:amd64.
Preparing to unpack .../libjack-jackd2-0_1.9.10+20140719git3eb0ae6a~dfsg-2_amd64.deb ...
Unpacking libjack-jackd2-0:amd64 (1.9.10+20140719git3eb0ae6a~dfsg-2) ...
Selecting previously unselected package libavdevice55:amd64.
Preparing to unpack .../libavdevice55_6%3a11.6-1~deb8u1_amd64.deb ...
Unpacking libavdevice55:amd64 (6:11.6-1~deb8u1) ...
Selecting previously unselected package libavdevice-dev.
Preparing to unpack .../libavdevice-dev_6%3a11.6-1~deb8u1_amd64.deb ...
Unpacking libavdevice-dev (6:11.6-1~deb8u1) ...
Selecting previously unselected package libbz2-dev:amd64.
Preparing to unpack .../libbz2-dev_1.0.6-7+b3_amd64.deb ...
Unpacking libbz2-dev:amd64 (1.0.6-7+b3) ...
Selecting previously unselected package libgpg-error-dev.
Preparing to unpack .../libgpg-error-dev_1.17-3_amd64.deb ...
Unpacking libgpg-error-dev (1.17-3) ...
Selecting previously unselected package libgcrypt20-dev.
Preparing to unpack .../libgcrypt20-dev_1.6.3-2+deb8u1_amd64.deb ...
Unpacking libgcrypt20-dev (1.6.3-2+deb8u1) ...
Selecting previously unselected package libcurl4-gnutls-dev:amd64.
Preparing to unpack .../libcurl4-gnutls-dev_7.38.0-4+deb8u3_amd64.deb ...
Unpacking libcurl4-gnutls-dev:amd64 (7.38.0-4+deb8u3) ...
Selecting previously unselected package libgnutlsxx28:amd64.
Preparing to unpack .../libgnutlsxx28_3.3.8-6+deb8u3_amd64.deb ...
Unpacking libgnutlsxx28:amd64 (3.3.8-6+deb8u3) ...
Selecting previously unselected package libgmpxx4ldbl:amd64.
Preparing to unpack .../libgmpxx4ldbl_2%3a6.0.0+dfsg-6_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.0.0+dfsg-6) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../libgmp-dev_2%3a6.0.0+dfsg-6_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.0.0+dfsg-6) ...
Selecting previously unselected package nettle-dev.
Preparing to unpack .../nettle-dev_2.7.1-5+deb8u1_amd64.deb ...
Unpacking nettle-dev (2.7.1-5+deb8u1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2+b1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
Selecting previously unselected package libtasn1-6-dev.
Preparing to unpack .../libtasn1-6-dev_4.2-3+deb8u1_amd64.deb ...
Unpacking libtasn1-6-dev (4.2-3+deb8u1) ...
Selecting previously unselected package libp11-kit-dev.
Preparing to unpack .../libp11-kit-dev_0.20.7-1_amd64.deb ...
Unpacking libp11-kit-dev (0.20.7-1) ...
Selecting previously unselected package libgnutls28-dev:amd64.
Preparing to unpack .../libgnutls28-dev_3.3.8-6+deb8u3_amd64.deb ...
Unpacking libgnutls28-dev:amd64 (3.3.8-6+deb8u3) ...
Selecting previously unselected package libjpeg62-turbo-dev:amd64.
Preparing to unpack .../libjpeg62-turbo-dev_1%3a1.3.1-12_amd64.deb ...
Unpacking libjpeg62-turbo-dev:amd64 (1:1.3.1-12) ...
Selecting previously unselected package libjpeg-dev.
Preparing to unpack .../libjpeg-dev_1%3a1.3.1-12_all.deb ...
Unpacking libjpeg-dev (1:1.3.1-12) ...
Selecting previously unselected package libmysqlclient-dev.
Preparing to unpack .../libmysqlclient-dev_5.5.49-0+deb8u1_amd64.deb ...
Unpacking libmysqlclient-dev (5.5.49-0+deb8u1) ...
Selecting previously unselected package libpcrecpp0:amd64.
Preparing to unpack .../libpcrecpp0_2%3a8.35-3.3+deb8u4_amd64.deb ...
Unpacking libpcrecpp0:amd64 (2:8.35-3.3+deb8u4) ...
Selecting previously unselected package libpcre3-dev:amd64.
Preparing to unpack .../libpcre3-dev_2%3a8.35-3.3+deb8u4_amd64.deb ...
Unpacking libpcre3-dev:amd64 (2:8.35-3.3+deb8u4) ...
Selecting previously unselected package libelfg0:amd64.
Preparing to unpack .../libelfg0_0.8.13-5_amd64.deb ...
Unpacking libelfg0:amd64 (0.8.13-5) ...
Selecting previously unselected package libglib2.0-bin.
Preparing to unpack .../libglib2.0-bin_2.42.1-1+b1_amd64.deb ...
Unpacking libglib2.0-bin (2.42.1-1+b1) ...
Selecting previously unselected package libglib2.0-dev.
Preparing to unpack .../libglib2.0-dev_2.42.1-1+b1_amd64.deb ...
Unpacking libglib2.0-dev (2.42.1-1+b1) ...
Selecting previously unselected package libgirepository-1.0-1:amd64.
Preparing to unpack .../libgirepository-1.0-1_1.42.0-2.2_amd64.deb ...
Unpacking libgirepository-1.0-1:amd64 (1.42.0-2.2) ...
Selecting previously unselected package gir1.2-glib-2.0:amd64.
Preparing to unpack .../gir1.2-glib-2.0_1.42.0-2.2_amd64.deb ...
Unpacking gir1.2-glib-2.0:amd64 (1.42.0-2.2) ...
Selecting previously unselected package gir1.2-polkit-1.0.
Preparing to unpack .../gir1.2-polkit-1.0_0.105-8_amd64.deb ...
Unpacking gir1.2-polkit-1.0 (0.105-8) ...
Selecting previously unselected package libpolkit-gobject-1-dev.
Preparing to unpack .../libpolkit-gobject-1-dev_0.105-8_amd64.deb ...
Unpacking libpolkit-gobject-1-dev (0.105-8) ...
Selecting previously unselected package libv4l2rds0:amd64.
Preparing to unpack .../libv4l2rds0_1.6.0-2_amd64.deb ...
Unpacking libv4l2rds0:amd64 (1.6.0-2) ...
Selecting previously unselected package libv4l-dev:amd64.
Preparing to unpack .../libv4l-dev_1.6.0-2_amd64.deb ...
Unpacking libv4l-dev:amd64 (1.6.0-2) ...
Selecting previously unselected package libdate-manip-perl.
Preparing to unpack .../libdate-manip-perl_6.47-1_all.deb ...
Unpacking libdate-manip-perl (6.47-1) ...
Selecting previously unselected package libphp-serialization-perl.
Preparing to unpack .../libphp-serialization-perl_0.34-1_all.deb ...
Unpacking libphp-serialization-perl (0.34-1) ...
Selecting previously unselected package libsys-mmap-perl.
Preparing to unpack .../libsys-mmap-perl_0.17-1_amd64.deb ...
Unpacking libsys-mmap-perl (0.17-1) ...
Selecting previously unselected package libjs-mootools.
Preparing to unpack .../libjs-mootools_1.4.5~debian1-2.1_all.deb ...
Unpacking libjs-mootools (1.4.5~debian1-2.1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for install-info (5.2.0.dfsg.1-6) ...
Processing triggers for libglib2.0-0:amd64 (2.42.1-1+b1) ...
Setting up dh-systemd (1.22) ...
Setting up python-markupsafe (0.23-1+b1) ...
Setting up python-jinja2 (2.7.3-1) ...
Setting up libjs-jquery (1.7.2+dfsg-3.2) ...
Setting up libjs-underscore (1.7.0~dfsg-1) ...
Setting up libjs-sphinxdoc (1.2.3+dfsg-1) ...
Setting up sphinx-common (1.2.3+dfsg-1) ...
Setting up python-sphinx (1.2.3+dfsg-1) ...
Setting up uuid-dev:amd64 (2.25.2-6) ...
Setting up libsctp1:amd64 (1.0.16+dfsg-2) ...
Setting up libsctp-dev (1.0.16+dfsg-2) ...
Setting up libapr1-dev (1.5.1-3) ...
Setting up libldap2-dev:amd64 (2.4.40+dfsg-1+deb8u2) ...
Setting up libexpat1-dev:amd64 (2.1.0-6+deb8u1) ...
Setting up libaprutil1-dev (1.5.4-1) ...
Setting up apache2-dev (2.4.10-10+deb8u4) ...
Setting up dh-linktree (0.4) ...
Setting up cmake-data (3.0.2-1) ...
Setting up liblzo2-2:amd64 (2.08-1.2) ...
Setting up libarchive13:amd64 (3.1.2-11) ...
Setting up libcurl3:amd64 (7.38.0-4+deb8u3) ...
Setting up cmake (3.0.2-1) ...
Setting up libavutil-dev (6:11.6-1~deb8u1) ...
Setting up libavresample-dev (6:11.6-1~deb8u1) ...
Setting up libavcodec-dev (6:11.6-1~deb8u1) ...
Setting up libavformat-dev (6:11.6-1~deb8u1) ...
Setting up libswscale-dev (6:11.6-1~deb8u1) ...
Setting up libcdio-cdda1 (0.83-4.2) ...
Setting up libcdio-paranoia1 (0.83-4.2) ...
Setting up libjack-jackd2-0:amd64 (1.9.10+20140719git3eb0ae6a~dfsg-2) ...
Setting up libavdevice55:amd64 (6:11.6-1~deb8u1) ...
Setting up libavdevice-dev (6:11.6-1~deb8u1) ...
Setting up libbz2-dev:amd64 (1.0.6-7+b3) ...
Setting up libgpg-error-dev (1.17-3) ...
Setting up libgcrypt20-dev (1.6.3-2+deb8u1) ...
Setting up libcurl4-gnutls-dev:amd64 (7.38.0-4+deb8u3) ...
Setting up libgnutlsxx28:amd64 (3.3.8-6+deb8u3) ...
Setting up libgmpxx4ldbl:amd64 (2:6.0.0+dfsg-6) ...
Setting up libgmp-dev:amd64 (2:6.0.0+dfsg-6) ...
Setting up nettle-dev (2.7.1-5+deb8u1) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
Setting up libtasn1-6-dev (4.2-3+deb8u1) ...
Setting up libp11-kit-dev (0.20.7-1) ...
Setting up libgnutls28-dev:amd64 (3.3.8-6+deb8u3) ...
Setting up libjpeg62-turbo-dev:amd64 (1:1.3.1-12) ...
Setting up libjpeg-dev (1:1.3.1-12) ...
Setting up libmysqlclient-dev (5.5.49-0+deb8u1) ...
Setting up libpcrecpp0:amd64 (2:8.35-3.3+deb8u4) ...
Setting up libpcre3-dev:amd64 (2:8.35-3.3+deb8u4) ...
Setting up libelfg0:amd64 (0.8.13-5) ...
Setting up libglib2.0-bin (2.42.1-1+b1) ...
Setting up libglib2.0-dev (2.42.1-1+b1) ...
Setting up libgirepository-1.0-1:amd64 (1.42.0-2.2) ...
Setting up gir1.2-glib-2.0:amd64 (1.42.0-2.2) ...
Setting up gir1.2-polkit-1.0 (0.105-8) ...
Setting up libpolkit-gobject-1-dev (0.105-8) ...
Setting up libv4l2rds0:amd64 (1.6.0-2) ...
Setting up libv4l-dev:amd64 (1.6.0-2) ...
Setting up libdate-manip-perl (6.47-1) ...
Setting up libphp-serialization-perl (0.34-1) ...
Setting up libsys-mmap-perl (0.17-1) ...
Setting up libjs-mootools (1.4.5~debian1-2.1) ...
Setting up zoneminder-build-deps (1.29.2-jessie-2016042701) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
 dpkg-buildpackage -rfakeroot -D -us -uc -i -b
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package zoneminder
dpkg-buildpackage: source version 1.29.2-jessie-2016042701
dpkg-buildpackage: source distribution jessie
dpkg-buildpackage: source changed by root <root@homeserver01>
 dpkg-source -i --before-build zoneminder_1.29.2-jessie-2016042701.orig
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --parallel --buildsystem=cmake --builddirectory=dbuild \
            --with systemd,sphinxdoc,apache2,linktree
   dh_testdir -O--parallel -O--buildsystem=cmake -O--builddirectory=dbuild
   dh_auto_clean -O--parallel -O--buildsystem=cmake -O--builddirectory=dbuild
   debian/rules override_dh_clean
make[1]: Entering directory '/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig'
dh_clean dbuild/scripts/zmupdate.pl.1
rm -f -r docs/_build docs/installationguide
make[1]: Leaving directory '/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig'
 debian/rules build
dh build --parallel --buildsystem=cmake --builddirectory=dbuild \
            --with systemd,sphinxdoc,apache2,linktree
   dh_testdir -O--parallel -O--buildsystem=cmake -O--builddirectory=dbuild
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig'
dh_auto_configure --                   \
            -DCMAKE_VERBOSE_MAKEFILE=ON                \
            -DCMAKE_BUILD_TYPE=Release                 \
            -DZM_CONFIG_DIR="/etc/zm"                  \
            -DZM_RUNDIR="/var/run/zm"                  \
            -DZM_SOCKDIR="/var/run/zm"                 \
            -DZM_TMPDIR="/tmp/zm"                      \
            -DZM_CGIDIR="/usr/lib/zoneminder/cgi-bin"  \
            -DZM_CONTENTDIR="/var/cache/zoneminder"
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test HAVE_SENDFILE4_SUPPORT
-- Performing Test HAVE_SENDFILE4_SUPPORT - Success
-- Sendfile support: Linux/Solaris sendfile()
-- Looking for libv4l1-videodev.h
-- Looking for libv4l1-videodev.h - found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - found
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for backtrace
-- Looking for backtrace - found
-- Looking for backtrace_symbols
-- Looking for backtrace_symbols - found
-- Looking for ucontext.h
-- Looking for ucontext.h - found
-- Looking for sys/sendfile.h
-- Looking for sys/sendfile.h - found
-- Looking for sys/syscall.h
-- Looking for sys/syscall.h - found
-- Looking for syscall
-- Looking for syscall - found
-- Looking for sendfile
-- Looking for sendfile - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of siginfo_t
-- Check size of siginfo_t - done
-- Check size of ucontext_t
-- Check size of ucontext_t - done
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.38.0")
-- Looking for curl/curl.h
-- Looking for curl/curl.h - found
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- Looking for include files stdio.h, jpeglib.h
-- Looking for include files stdio.h, jpeglib.h - found
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing:  OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pcre.h
-- Looking for pcre.h - found
-- Looking for gcrypt.h
-- Looking for gcrypt.h - found
-- Looking for gnutls/openssl.h
-- Looking for gnutls/openssl.h - found
-- Looking for gnutls/gnutls.h
-- Looking for gnutls/gnutls.h - found
-- Looking for mysql/mysql.h
-- Looking for mysql/mysql.h - found
-- Looking for libavformat/avformat.h
-- Looking for libavformat/avformat.h - found
-- Looking for libavcodec/avcodec.h
-- Looking for libavcodec/avcodec.h - found
-- Looking for libavdevice/avdevice.h
-- Looking for libavdevice/avdevice.h - found
-- Looking for libavutil/avutil.h
-- Looking for libavutil/avutil.h - found
-- Looking for libavutil/mathematics.h
-- Looking for libavutil/mathematics.h - found
-- Looking for libswscale/swscale.h
-- Looking for libswscale/swscale.h - found
-- Looking for vlc/vlc.h
-- Looking for vlc/vlc.h - found
-- Checking prototype MD5 for HAVE_MD5_GNUTLS - True
-- Checking prototype gnutls_fingerprint for HAVE_DECL_GNUTLS_FINGERPRINT - True
-- Found Perl: /usr/bin/perl (found version "5.20.2")
-- Checking for perl module Sys::Syslog
-- Checking for perl module Sys::Syslog - found at /usr/lib/x86_64-linux-gnu/perl/5.20/Sys/Syslog.pm
-- Checking for perl module DBI
-- Checking for perl module DBI - found at /usr/lib/x86_64-linux-gnu/perl5/5.20/DBI.pm
-- Checking for perl module DBD::mysql
-- Checking for perl module DBD::mysql - found at /usr/lib/x86_64-linux-gnu/perl5/5.20/DBD/mysql.pm
-- Checking for perl module Getopt::Long
-- Checking for perl module Getopt::Long - found at /usr/share/perl/5.20/Getopt/Long.pm
-- Checking for perl module Time::HiRes
-- Checking for perl module Time::HiRes - found at /usr/lib/x86_64-linux-gnu/perl/5.20/Time/HiRes.pm
-- Checking for perl module Date::Manip
-- Checking for perl module Date::Manip - found at /usr/share/perl5/Date/Manip.pm
-- Checking for perl module LWP::UserAgent
-- Checking for perl module LWP::UserAgent - found at /usr/share/perl5/LWP/UserAgent.pm
-- Checking for perl module ExtUtils::MakeMaker
-- Checking for perl module ExtUtils::MakeMaker - found at /usr/share/perl/5.20/ExtUtils/MakeMaker.pm
-- Checking for perl module Sys::Mmap
-- Checking for perl module Sys::Mmap - found at /usr/lib/x86_64-linux-gnu/perl5/5.20/Sys/Mmap.pm
-- Found PerlModules: TRUE
-- Detected web server user: www-data
-- Using web user: www-data
-- Using web group: www-data
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for one of the modules 'polkit-gobject-1;polkit'
-- checking for module 'glib-2.0'
--   found glib-2.0, version 2.42.1
-- Found GLIB2: /usr/lib/x86_64-linux-gnu/libglib-2.0.so
-- Found Polkit: /usr/lib/x86_64-linux-gnu/libpolkit-gobject-1.so
-- Using mootools core file: mootools-core-1.4.5-compat.js
-- Using mootools more file: mootools-more-1.5.1.js
-- Optional libraries found: zlib cURL PCRE GCrypt GnuTLS AVFormat AVCodec AVDevice AVUtil SWScale libVLC
-- Optional libraries not found: OpenSSL x264 mp4v2
-- Running ZoneMinder configuration generator
Generating 'src/zm_config_defines.h'
Updating 'db/zm_create.sql'
-- ZoneMinder configuration generator completed successfully
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild
make[1]: Leaving directory '/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig'
   dh_auto_build -O--parallel -O--buildsystem=cmake -O--builddirectory=dbuild
make[1]: Entering directory '/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild'
/usr/bin/cmake -H/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig -B/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild'
make -f src/CMakeFiles/zm.dir/build.make src/CMakeFiles/zm.dir/depend
make[3]: Entering directory '/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild'
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src/CMakeFiles/zm.dir/DependInfo.cmake --color=
Scanning dependencies of target zm
make[3]: Leaving directory '/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild'
make -f src/CMakeFiles/zm.dir/build.make src/CMakeFiles/zm.dir/build
make[3]: Entering directory '/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild'
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 9
[  1%] Building CXX object src/CMakeFiles/zm.dir/zm_box.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_box.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_box.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 10
[  3%] Building CXX object src/CMakeFiles/zm.dir/zm_buffer.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_buffer.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_buffer.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 11
[  5%] Building CXX object src/CMakeFiles/zm.dir/zm_camera.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_camera.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_camera.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 12
[  7%] Building CXX object src/CMakeFiles/zm.dir/zm_comms.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_comms.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_comms.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 13
[  9%] Building CXX object src/CMakeFiles/zm.dir/zm_config.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_config.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_config.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 14
[ 11%] Building CXX object src/CMakeFiles/zm.dir/zm_coord.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_coord.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_coord.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 15
[ 13%] Building CXX object src/CMakeFiles/zm.dir/zm_curl_camera.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_curl_camera.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_curl_camera.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 16
[ 15%] Building CXX object src/CMakeFiles/zm.dir/zm.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 17
[ 17%] Building CXX object src/CMakeFiles/zm.dir/zm_db.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_db.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_db.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 18
[ 19%] Building CXX object src/CMakeFiles/zm.dir/zm_logger.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_logger.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_logger.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 19
[ 21%] Building CXX object src/CMakeFiles/zm.dir/zm_event.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_event.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_event.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 20
[ 23%] Building CXX object src/CMakeFiles/zm.dir/zm_exception.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_exception.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_exception.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 21
[ 25%] Building CXX object src/CMakeFiles/zm.dir/zm_file_camera.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_file_camera.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_file_camera.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 22
[ 27%] Building CXX object src/CMakeFiles/zm.dir/zm_ffmpeg_camera.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_ffmpeg_camera.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_ffmpeg_camera.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 23
[ 29%] Building CXX object src/CMakeFiles/zm.dir/zm_image.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_image.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_image.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 24
[ 31%] Building CXX object src/CMakeFiles/zm.dir/zm_jpeg.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_jpeg.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_jpeg.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 25
[ 33%] Building CXX object src/CMakeFiles/zm.dir/zm_libvlc_camera.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_libvlc_camera.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_libvlc_camera.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 26
[ 35%] Building CXX object src/CMakeFiles/zm.dir/zm_local_camera.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_local_camera.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_local_camera.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 27
[ 37%] Building CXX object src/CMakeFiles/zm.dir/zm_monitor.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_monitor.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_monitor.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/CMakeFiles 28
[ 39%] Building CXX object src/CMakeFiles/zm.dir/zm_ffmpeg.cpp.o
cd /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src && /usr/bin/c++   -DHAVE_SENDFILE4_SUPPORT=1 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -D__STDC_CONSTANT_MACROS -O2 -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src -I/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild    -o CMakeFiles/zm.dir/zm_ffmpeg.cpp.o -c /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_ffmpeg.cpp
In file included from /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_ffmpeg.h:32:0,
                 from /tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_ffmpeg.cpp:20:
/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_ffmpeg.cpp: In function ‘int64_t av_rescale_delta(AVRational, int64_t, AVRational, int, int64_t*, AVRational)’:
/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_ffmpeg.cpp:248:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     av_assert0(in_ts != AV_NOPTS_VALUE);
                      ^
/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_ffmpeg.cpp:251:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (*last == AV_NOPTS_VALUE || !duration || in_tb.num*(int64_t)out_tb.den <= out_tb.num*(int64_t)in_tb.den) {
               ^
/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_ffmpeg.cpp: In function ‘void zm_dump_stream_format(AVFormatContext*, int, int, int)’:
/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_ffmpeg.cpp:341:36: error: ‘AVFormatContext’ has no member named ‘dump_separator’
     unsigned char *separator = ic->dump_separator;
                                    ^
/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_ffmpeg.cpp:342:98: error: ‘av_opt_ptr’ was not declared in this scope
     char **codec_separator = (char **)av_opt_ptr(st->codec->av_class, st->codec, "dump_separator");
                                                                                                  ^
/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_ffmpeg.cpp:376:23: error: ‘AVStream’ has no member named ‘r_frame_rate’
         int tbr = st->r_frame_rate.den && st->r_frame_rate.num;
                       ^
/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_ffmpeg.cpp:376:47: error: ‘AVStream’ has no member named ‘r_frame_rate’
         int tbr = st->r_frame_rate.den && st->r_frame_rate.num;
                                               ^
/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/src/zm_ffmpeg.cpp:386:36: error: ‘AVStream’ has no member named ‘r_frame_rate’
              zm_log_fps(av_q2d(st->r_frame_rate), tbn || tbc ? "tbr, " : "tbr");
                                    ^
src/CMakeFiles/zm.dir/build.make:494: recipe for target 'src/CMakeFiles/zm.dir/zm_ffmpeg.cpp.o' failed
make[3]: *** [src/CMakeFiles/zm.dir/zm_ffmpeg.cpp.o] Error 1
make[3]: Leaving directory '/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild'
CMakeFiles/Makefile2:281: recipe for target 'src/CMakeFiles/zm.dir/all' failed
make[2]: *** [src/CMakeFiles/zm.dir/all] Error 2
make[2]: Leaving directory '/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild'
Makefile:120: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/tmp/ZoneMinder/utils/zoneminder_1.29.2-jessie-2016042701.orig/dbuild'
dh_auto_build: make -j1 returned exit code 2
debian/rules:15: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -i -b failed
Do you want to keep the checked out version of Zoneminder (incase you want to modify it later) [y/N]y
The checked out copy is preserved in zoneminder_release
Done!
It's really a pity, since as I'm using multiple cameras it's really a no-go to have all stored as jpegs (resources, I/O, ...) and I'm indeed considering moving back to some proprietary solution to make things easier since I don't have more time to spend on this. I like Zoneminder a lot and installation via apt-get worked (beside some tweaking for the API) like a charm, but with self-building the most necessary feature I have no luck. :-(

Any clue to give it another but perhaps last try?
antares2001
Posts: 18
Joined: Fri Apr 08, 2016 9:29 am

Re: Record as video instead of jpegs

Post by antares2001 »

Alternative question: is it possible to convert all events older than 1 hour automatically to video files and delete the jpegs? Is there a chance to have the events then still viewable from the UI? That could be a workaround (though still temporary and unsatisfying due to even higher resource consumption).
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Record as video instead of jpegs

Post by SteveGilvarry »

For encoding you need to install those mentioned dependencies before build x264 and libmp4v2-2, it should auto detect them. The control file doesn't have them as they are not part of current release, where control is coming from.
Viewing live view still uses zms so all the normal fixes for that apply when you get no image. Completed events should be viewable as it uses HTML5 video to view the file direct. I assume everything on camera is correctly set and it is h264, which is needed for passthrough to work. If it does audio turn that off for now.
I have never had that header argument issue, been running a box full time recording for months now. But I have seen someone else get it, and I am waiting to hear what was causing it. The options error that is new in a recent update, but only a warning.

We are working to get this ready for integration so it will get easier.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
antares2001
Posts: 18
Joined: Fri Apr 08, 2016 9:29 am

Re: Record as video instead of jpegs

Post by antares2001 »

Hi Steve,

thanks a lot for your effort and replies. I have to give up for now due to time constraints and my job. Nevertheless I hope this helps you guys in development and I learned also a lot. If I find the time before things are integrated I'll give it another try, but for now I'll stick to the workaround that I use it on Debian in 1.29.0 as it comes with apt-get and convert the jpegs to video via filter and let them delete by Cron.

Yet it seems I'll then have to view the exported videos on VLC rather than in ZM, but I hope this is not for long and the next release with video support integrated will come sooner than later.

Great job and thanks again!
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Record as video instead of jpegs

Post by SteveGilvarry »

I'll let you know if I get a PPA done and tested, but probably better allocating my time to fixing the remaining blockers to integration in master. Thanks for giving it a go.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
antares2001
Posts: 18
Joined: Fri Apr 08, 2016 9:29 am

Re: Record as video instead of jpegs

Post by antares2001 »

Hi Steve,

just to give a quick update: unfortunately on a fresh system I ran into same issues, so I'm still sticking to using JPGs.

Any news on the 1.30 front and whether it will contain video storage instead of jpg?

Cheers!
antares2001
Posts: 18
Joined: Fri Apr 08, 2016 9:29 am

Re: Record as video instead of jpegs

Post by antares2001 »

Still getting the following issue:

Error occurred when writing output file header to ... video.mp4: Invalid argument

I'm using iconnor's h264 ppa on Ubuntu 16.04. I have no clue why it's not working. I'm using video passthrough without audio.

Perhaps anybody has an idea?

Ah - by the way. Sorry - this is ZM 1.30 from iconnor's ppa though this is a continuation in 1.29. If necessary, I can open it in 1.30 again.
alabamatoy
Posts: 349
Joined: Sun Jun 05, 2016 2:53 pm

Re: Record as video instead of jpegs

Post by alabamatoy »

Here's a solution: viewtopic.php?f=11&t=24686&p=96024#p94566

Works for me. Strictly speaking, it doesnt record as video instead of jpegs, but it does convert the recorded jpegs to avi and then you can delete the jpegs.

I run the conversion every night via cron job. Once its finished, the events from a day or two later than the day that was just exported can be deleted - you can cron 'zmfilter-pl -f filterfile' where filterfile is a simple filter to find events older than a certain age and delete them. This gives you a day or two to make sure that the export worked correctly before erasing the events. The script produces a fairly detailed log file, so it will show errors like when I had a camera lock up for no apparent reason. I also run a simple cron to delete the old avi files after holding them for a predetermined period, based upon what my disk can hold. I try not to let the disk get over 80% full. As mikeintn states, the jpeg recording is a *very* space inefficient method, and this avi export provides about 18:1 space reduction.

HTH.
antares2001
Posts: 18
Joined: Fri Apr 08, 2016 9:29 am

Re: Record as video instead of jpegs

Post by antares2001 »

alabamatoy wrote:Here's a solution: viewtopic.php?f=11&t=24686&p=96024#p94566

Works for me. Strictly speaking, it doesnt record as video instead of jpegs, but it does convert the recorded jpegs to avi and then you can delete the jpegs.
Hi! Thanks a lot for pointing this out. I'm going to try it right away. But if I get it right, I have no access to the recordings through Zoneminder then?
alabamatoy
Posts: 349
Joined: Sun Jun 05, 2016 2:53 pm

Re: Record as video instead of jpegs

Post by alabamatoy »

antares2001 wrote:Hi! Thanks a lot for pointing this out. I'm going to try it right away. But if I get it right, I have no access to the recordings through Zoneminder then?
Correct. There's a myriad of ways to solve that, though.
Brian1989
Posts: 1
Joined: Thu Oct 27, 2016 6:10 am

Re: Record as video instead of jpegs

Post by Brian1989 »

You could convert AVCHD to MP4.
antares2001
Posts: 18
Joined: Fri Apr 08, 2016 9:29 am

Re: Record as video instead of jpegs

Post by antares2001 »

Hello all,

after a long time I have some day or two to try a fresh installation of Zoneminder. Are there any news on the "native" video support for Zoneminder on Debian?

Best regards!
Locked