urpmi make gcc
[root@localhost zm_xml_p2fs3]# ./install
Install script for ZoneMinder XML Addon, Version: p2fs3
Please ensure you run this command with elevated privilidges
Press any key to continue...
Checking for availability of FFMPEG...
FFMPEG found in /usr/bin/ffmpeg
Libx264 found with FFMPEG
Checking for zm.conf in /usr/local/etc/zm/zm.conf
Checking for zm.conf in /usr/local/zm/zm.conf
Checking for zm.conf in /etc/zm/zm.conf
Checking for zm.conf in /usr/etc/zm/zm.conf
No configuration file found
Enter path to Zoneminder configuration file [/path/to/zm.conf]
/etc/zm.conf
Found configuration file in /etc/zm.conf
Found ZM configuration file in /etc/zm.conf
ZM Web base is in /var/www/html/zm, server version 1.25.0
XML Plugin does not support version 1.25.0, exiting...
[root@localhost zm_xml_p2fs3]#
%if %build_faac
--enable-nonfree --enable-libfaac
%endif
[root@localhost zm_xml_p2fs3]# ls
CHANGELOG httpsegmenter.tar.bz2 install* README svn.log version xml/ zmstreamer.1.24.1.patch zmstreamer.1.24.2.patch
[root@localhost zm_xml_p2fs3]# tar xvf httpsegmenter.tar.bz2
./httpsegmenter/
./httpsegmenter/Makefile
./httpsegmenter/segmenter.c
[root@localhost zm_xml_p2fs3]# cd httpsegmenter
[root@localhost httpsegmenter]# make
gcc -Wall -g segmenter.c -o segmenter -lavformat -lavcodec -lavutil
segmenter.c:24:34: fatal error: libavformat/avformat.h: No such file or directory
compilation terminated.
make: *** [all] Error 1
[root@localhost httpsegmenter]#
urpmi lib64ffmpeg-devel
[root@localhost httpsegmenter]# make
gcc -Wall -g segmenter.c -o segmenter -lavformat -lavcodec -lavutil
segmenter.c: In function ‘add_output_stream’:
segmenter.c:38:5: warning: ‘av_new_stream’ is deprecated (declared at /usr/include/libavformat/avformat.h:1730) [-Wdeprecated-declarations]
segmenter.c: In function ‘main’:
segmenter.c:268:5: warning: ‘av_open_input_file’ is deprecated (declared at /usr/include/libavformat/avformat.h:1480) [-Wdeprecated-declarations]
segmenter.c:276:5: warning: ‘av_find_stream_info’ is deprecated (declared at /usr/include/libavformat/avformat.h:1526) [-Wdeprecated-declarations]
segmenter.c:319:5: warning: ‘av_set_parameters’ is deprecated (declared at /usr/include/libavformat/avformat.h:1766) [-Wdeprecated-declarations]
segmenter.c:335:7: warning: ‘avcodec_open’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4155) [-Wdeprecated-declarations]
segmenter.c:350:5: warning: ‘av_write_header’ is deprecated (declared at /usr/include/libavformat/avformat.h:1802) [-Wdeprecated-declarations]
[root@localhost httpsegmenter]# make install
cp segmenter /usr/local/bin/
[root@localhost httpsegmenter]#
[Sun, 17 Jun 2012 17:23:29 +0100] XML_LOG (NOTICE): (88.***.***.***) GET: /zm//?skin=xml&view=actions&action=feed&monitor=3&protoVer=2&width=316&height=237&vcodec=h264& - eyeZm 1.3
[Sun, 17 Jun 2012 17:23:30 +0100] XML_LOG (NOTICE): No PID found for ZMStreamer to kill
[Sun, 17 Jun 2012 17:23:30 +0100] XML_LOG (NOTICE): Streaming H264 on Monitor 3, 316x237 @64k
[Sun, 17 Jun 2012 17:23:30 +0100] XML_LOG (NOTICE): Using thumbnail image from http://88.***.***.***/cgi-bin/nph-zms?mode=single&monitor=3&scale=100&maxfps=5&buffer=1000&rand=1339950210
[Sun, 17 Jun 2012 17:23:30 +0100] XML_LOG (NOTICE): (88.***.***.***) GET: /zm//?view=actions&action=spawn264&&monitor=3&br=64k - eyeZm 1.3
[Sun, 17 Jun 2012 17:23:30 +0100] XML_LOG (NOTICE): Using H264 Pipe Function: nohup zmstreamer -m 3 2> /dev/null | /usr/bin/ffmpeg -t 120 -analyzeduration 0 -i - -f mpegts -analyzeduration 0 -acodec copy -vcodec libx264 -b 64k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 16k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -g 30 -analyzeduration 0 -async 2 - 2> /dev/null | segmenter - 3 ./temp/sample_3 ./temp/stream_3.m3u8 ../ 2> /dev/null & echo $!
[Sun, 17 Jun 2012 17:23:50 +0100] XML_LOG (NOTICE): Streaming Process for monitor 3 ended, cleaning up files
[root@localhost httpsegmenter]#
urpmi --auto-update --auto
[root@localhost httpsegmenter]# urpmi --auto-update --auto
medium "Core Release" is up-to-date
medium "Core Updates" is up-to-date
medium "Tainted Release" is up-to-date
medium "Tainted Updates" is up-to-date
medium "Core 32bit Release" is up-to-date
medium "Core 32bit Updates" is up-to-date
$MIRRORLIST: media/core/release/lib64twolame0-0.3.13-1.mga2.x86_64.rpm
$MIRRORLIST: media/tainted/release/lib64gstbasevideo0.10_0-0.10.23-3.mga2.tainted.x86_64.rpm
$MIRRORLIST: media/tainted/release/gstreamer0.10-plugins-ugly-0.10.19-2.mga2.tainted.x86_64.rpm
$MIRRORLIST: media/tainted/release/lib64freetype6-2.4.9-1.mga2.tainted.x86_64.rpm
$MIRRORLIST: media/tainted/release/lib64quicktime0-1.2.3-3.mga2.tainted.x86_64.rpm
$MIRRORLIST: media/tainted/release/lib64dca0-0.0.5-3.mga1.x86_64.rpm
$MIRRORLIST: media/tainted/release/lib64faad2-2.7-4.mga2.tainted.x86_64.rpm
$MIRRORLIST: media/tainted/release/lib64rtmp0-2.4-0.git20111228.1.mga2.tainted.x86_64.rpm
installing lib64gstbasevideo0.10_0-0.10.23-3.mga2.tainted.x86_64.rpm gstreamer0.10-plugins-ugly-0.10.19-2.mga2.tainted.x86_64.rpm lib64freetype6-2.4.9-1.mga2.tainted.x86_64.rpm lib64twolame0-0.3.13-1.mga2.x86_64.rpm lib64dca0-0.0.5-3.mga1.x86_64.rpm lib64quicktime0-1.2.3-3.mga2.tainted.x86_64.rpm lib64rtmp0-2.4-0.git20111228.1.mga2.tainted.x86_64.rpm lib64faad2-2.7-4.mga2.tainted.x86_64.rpm from /var/cache/urpmi/rpms
Preparing... #############################################################################################################################
1/14: lib64faad2 #############################################################################################################################
2/14: lib64rtmp0 #############################################################################################################################
3/14: lib64quicktime0 #############################################################################################################################
4/14: lib64dca0 #############################################################################################################################
5/14: lib64twolame0 #############################################################################################################################
6/14: lib64freetype6 #############################################################################################################################
7/14: gstreamer0.10-plugins-ugly
#############################################################################################################################
8/14: lib64gstbasevideo0.10_0
#############################################################################################################################
$MIRRORLIST: media/tainted/release/lib64gstphotography0.10_0-0.10.23-3.mga2.tainted.x86_64.rpm
$MIRRORLIST: media/tainted/release/gstreamer0.10-plugins-bad-0.10.23-3.mga2.tainted.x86_64.rpm
$MIRRORLIST: media/tainted/release/mplayer-1.0-1.rc4.0.r34578.9.mga2.tainted.x86_64.rpm
$MIRRORLIST: media/tainted/release/gstreamer0.10-vp8-0.10.23-3.mga2.tainted.x86_64.rpm
$MIRRORLIST: media/tainted/release/gstreamer0.10-voip-0.10.23-3.mga2.tainted.x86_64.rpm
$MIRRORLIST: media/tainted/release/mencoder-1.0-1.rc4.0.r34578.9.mga2.tainted.x86_64.rpm
installing mplayer-1.0-1.rc4.0.r34578.9.mga2.tainted.x86_64.rpm gstreamer0.10-plugins-bad-0.10.23-3.mga2.tainted.x86_64.rpm lib64gstphotography0.10_0-0.10.23-3.mga2.tainted.x86_64.rpm gstreamer0.10-vp8-0.10.23-3.mga2.tainted.x86_64.rpm mencoder-1.0-1.rc4.0.r34578.9.mga2.tainted.x86_64.rpm gstreamer0.10-voip-0.10.23-3.mga2.tainted.x86_64.rpm from /var/cache/urpmi/rpms
Preparing... #############################################################################################################################
9/14: gstreamer0.10-voip #############################################################################################################################
10/14: lib64gstphotography0.10_0
#############################################################################################################################
11/14: mplayer #############################################################################################################################
12/14: mencoder #############################################################################################################################
13/14: gstreamer0.10-plugins-bad
#############################################################################################################################
14/14: gstreamer0.10-vp8 #############################################################################################################################
writing /var/lib/rpm/installed-through-deps.list
The following package:
lib64kdnssd4-4.8.2-3.mga2.x86_64
is now orphaned, if you wish to remove it, you can use "urpme --auto-orphans"
[root@localhost httpsegmenter]#
barjac wrote:There is a package of httpsegmenter now available in Cauldron.
su
systemctl status zoneminder.service
su
systemctl enable zoneminder.service
ls -l /var/www/http
su
systemctl start zoneminder.service
su
zmrestart
[root@localhost ~]# systemctl status zoneminder.service
zoneminder.service - ZoneMinder CCTV recording and security system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled)
Active: failed (Result: exit-code) since Sun, 24 Jun 2012 11:10:14 +0100; 2h 0min ago
Process: 2064 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=2)
CGroup: name=systemd:/system/zoneminder.service
Jun 24 11:10:14 localhost zmpkg.pl[2064]: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/lib/perl5/vendor_perl/5.14.2/ZoneMi...line 153.
Jun 24 11:10:14 localhost zmpkg.pl[2064]: BEGIN not safe after errors--compilation aborted at /usr/lib/perl5/vendor_perl/5.14.2/ZoneMinder/Logger.pm line 168.
Jun 24 11:10:14 localhost zmpkg.pl[2064]: Compilation failed in require at /usr/lib/perl5/vendor_perl/5.14.2/ZoneMinder.pm line 34.
Jun 24 11:10:14 localhost zmpkg.pl[2064]: BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.14.2/ZoneMinder.pm line 34.
Jun 24 11:10:14 localhost zmpkg.pl[2064]: Compilation failed in require at /usr/bin/zmpkg.pl line 37.
Jun 24 11:10:14 localhost zmpkg.pl[2064]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
[root@localhost /]# ls -l /var/www/http
ls: cannot access /var/www/http: No such file or directory
[root@localhost /]# ls -l /var/www/html
total 8
-rw-r--r-- 1 root root 131 May 2 22:31 index.html
lrwxrwxrwx 1 root root 18 Jun 15 13:20 zm -> /home/cctvadmin/zm/
drwxr-xr-x 15 apache apache 4096 Jun 15 11:24 zm_orig/
[root@localhost /]#
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
881.***.***.***
Apache/2.2.22 (Mageia/ITK-12.mga2)
ls -al /home/cctvadmin/zm/
[root@localhost /]# ls -al /home/cctvadmin/zm/
total 13216
drwxr-xr-x 15 apache apache 4096 Jun 21 08:35 ./
drwxr-xr-x 28 cctvadmin cctvadmin 4096 Jun 24 17:15 ../
drwxr-xr-x 2 apache apache 4096 Jun 17 00:00 ajax/
-rwxr-xr-x 1 apache apache 58176 May 11 22:37 cambozola.jar*
-rw------- 1 apache apache 101384192 Jun 21 08:35 core.10747
-rw------- 1 apache apache 101384192 Jun 21 08:35 core.10753
-rw------- 1 apache apache 101384192 Jun 21 08:35 core.10778
-rw------- 1 apache apache 101384192 Jun 21 08:35 core.10789
-rw------- 1 apache apache 100782080 Jun 17 18:27 core.14008
-rw------- 1 apache apache 100782080 Jun 17 18:27 core.14080
drwxr-xr-x 2 apache apache 4096 Jun 17 00:00 css/
drwxr-xr-x 8 apache apache 4096 May 11 22:37 events/
drwxr-xr-x 2 apache apache 4096 Jun 17 00:00 graphics/
drwxr-xr-x 2 apache apache 4096 May 11 22:37 images/
drwxr-xr-x 2 apache apache 4096 Jun 17 00:00 includes/
-rwxr-xr-x 1 apache apache 3741 May 11 22:37 index.php*
drwxr-xr-x 2 apache apache 4096 Jun 17 00:00 js/
drwxr-xr-x 2 apache apache 4096 Jun 17 00:00 lang/
-rwxr-xr-x 1 apache apache 66610 May 11 22:37 mootools-1.2.3-core-yc.js*
lrwxrwxrwx 1 apache apache 25 Jun 17 00:00 mootools.js -> mootools-1.2.3-core-yc.js*
drwxr-xr-x 5 apache apache 4096 May 11 22:37 skins/
drwxr-xr-x 2 apache apache 4096 Jun 17 00:00 sounds/
drwxr-xr-x 2 apache apache 4096 Jun 17 19:41 temp/
drwxr-xr-x 3 apache apache 4096 May 11 22:37 tools/
drwxr-xr-x 2 apache apache 4096 Jun 17 00:00 views/
lrwxrwxrwx 1 apache apache 18 Jun 15 13:20 zm -> /home/cctvadmin/zm/
[root@localhost /]#
rm /home/cctvadmin/zm/zm
rpm -qa --last|head -n50
su
zmsetup
su
rm /home/cctvadmin/zm/core.*
Users browsing this forum: No registered users and 1 guest