Search found 108 matches

by Basildane
Wed Mar 05, 2014 6:01 pm
Forum: ZoneMinder 1.26.x
Topic: How to compile with vlc support?
Replies: 12
Views: 4818

How to compile with vlc support?

I did

# apt-get install libVLC5
# cmake -C zm_conf.cmake -DENABLE_MMAP=yes .

Returns -- Optional libraries not found: cURL libVLC
by Basildane
Tue Mar 04, 2014 9:13 pm
Forum: ZoneMinder 1.26.x
Topic: How to compile release-1.27?
Replies: 5
Views: 2447

Re: How to compile release-1.27?

OK, thanks again for your input. I made progress, but now I'm stuck for hours on this: zm_mpeg.cpp:(.text+0x59): undefined reference to `avcodec_encode_video2' I assume my libavformat headers are wrong. I have this: # dpkg -l | grep libavformat ii libavformat-dev 4:0.8.10-0ubuntu0.12.04.1 Developmen...
by Basildane
Tue Mar 04, 2014 3:57 pm
Forum: ZoneMinder 1.26.x
Topic: How to compile release-1.27?
Replies: 5
Views: 2447

Re: How to compile release-1.27?

Thank you for that. I am always puzzled though. There seem to be a major conflict over how to compile from source. One way I see is this: root@host:~# git clone https://github.com/ZoneMinder/ZoneMinder.git zoneminder; root@host:~# cd zoneminder; root@host:~# ln -s distros/ubuntu1204 debian; root@hos...
by Basildane
Tue Mar 04, 2014 3:42 pm
Forum: ZoneMinder 1.26.x
Topic: How to compile release-1.27?
Replies: 5
Views: 2447

Re: How to compile release-1.27?

I think I managed to compile this way: # cmake -C zm_conf.cmake -DENABLE_MMAP=yes . # make clean # make # make install (if updating run the update script, root user, no password) # scripts/zmupdate.pl --user=root --pass= # ldconfig *** Never mind, it's compiling now. I think I didn't have enough cof...
by Basildane
Tue Mar 04, 2014 2:49 pm
Forum: ZoneMinder 1.26.x
Topic: How to compile release-1.27?
Replies: 5
Views: 2447

How to compile release-1.27?

I'm having trouble figuring out how to compile a particular branch. I've tried several different things. # git clone https://github.com/ZoneMinder/ZoneMinder.git zoneminder; # cd zoneminder; # git checkout -b release-1.27 origin/release-1.27 # ln -s distros/ubuntu1204 debian; # dpkg-checkbuilddeps; ...
by Basildane
Wed Jan 08, 2014 1:11 am
Forum: ZoneMinder 1.26.x
Topic: problem with zmtrigger.pl
Replies: 2
Views: 2892

Re: problem with zmtrigger.pl

variable is not a string at /usr/local/lib/x86_64-linux-gnu/perl5/ZoneMinder/Memory/Mapped.pm line 113. I continue to be plagued with this error. I see the code here in Mapped.pm, I do not use this language and it's really foreign to me. Any clues what's wrong, what it's doing, and how do we fix it?...
by Basildane
Thu Dec 26, 2013 6:29 pm
Forum: ZoneMinder 1.26.x
Topic: unable to install from source 1.26.5
Replies: 4
Views: 2053

Re: unable to install from source 1.26.5

Thanks, I will do that.
I guess you have to know these things when you're king.
by Basildane
Mon Dec 23, 2013 4:19 pm
Forum: ZoneMinder 1.26.x
Topic: unable to install from source 1.26.5
Replies: 4
Views: 2053

Re: unable to install from source 1.26.5

nevermind.
Found on another forum: zmupdate.pl --user=root --pass=

That worked.
by Basildane
Mon Dec 23, 2013 3:18 pm
Forum: ZoneMinder 1.26.x
Topic: unable to install from source 1.26.5
Replies: 4
Views: 2053

unable to install from source 1.26.5

I am stuck on an error from zmupdate.pl mysqldump: Got error: 1044: Access denied for user 'zm'@'localhost' to database 'zm' when using LOCK TABLES I tried zmupdate.pl -u zm -p zm, but that didn't help. zm/zm are what I have listed as the db user and password according to my old zm.conf. I tried adm...
by Basildane
Sun Dec 08, 2013 3:35 am
Forum: ZoneMinder 1.26.x
Topic: New problem - camera goes red
Replies: 45
Views: 21390

Re: New problem - camera goes red

Yeah, this is all correct. My post is not intended to be a "fix", it is still a cry for help. And still unanswered.
Good news is that this morning I woke up to a working system for the first time in a month.
by Basildane
Fri Dec 06, 2013 7:17 pm
Forum: ZoneMinder 1.26.x
Topic: New problem - camera goes red
Replies: 45
Views: 21390

Re: New problem - camera goes red

The stream dies. We restart the stream. I fail to see the problem with this strategy.
by Basildane
Thu Dec 05, 2013 8:15 pm
Forum: ZoneMinder 1.26.x
Topic: New problem - camera goes red
Replies: 45
Views: 21390

Re: New problem - camera goes red

This is not my code, I'm coming in cold on this. That's why I've been asking for help to get it to work. It will take a long time for me to be comfortable with the code. Is this your function? I'm just grasping at straws here. Like I said in another post, I'm willing to put in the time to make it wo...
by Basildane
Thu Dec 05, 2013 1:39 pm
Forum: ZoneMinder 1.26.x
Topic: New problem - camera goes red
Replies: 45
Views: 21390

Re: New problem - camera goes red - Problem found

I found the root of the problem. zm_monitor.cpp (2675) there is a block if ( captureResult != 0 ) { // Unable to capture image for temporary reason // Fake a signal loss image capture_image->Fill( signal_check_colour ); captureResult = 0; } else { captureResult = 1; } So, if the stream fails, this b...
by Basildane
Sat Nov 30, 2013 5:31 pm
Forum: ZoneMinder 1.26.x
Topic: New problem - camera goes red
Replies: 45
Views: 21390

Re: New problem - camera goes red

New troubleshooting information: I have determined that the problem is NOT network congestion, and it is NOT due to packet loss. ZM recovers from packet loss, I verified this up to 10 seconds. The problem is when the stream is reset by the camera. This is 100% repeatable and can be done in one secon...
by Basildane
Sat Nov 30, 2013 5:04 pm
Forum: ZoneMinder 1.26.x
Topic: Request code structure help, re: red image problem
Replies: 2
Views: 1943

Request code structure help, re: red image problem

In zm_ffmpeg_camera.cpp at line 215, we know we have a problem. "Unable to read packet from stream". The Capture function returns a -1. At this point, I think the zmc should terminate and reconnect the failed stream. But it doesn't. It just repeats the error until the log drive fills up. S...