Page 1 of 1

Analog Camera don't work After ZM 1.25 Upgrade

Posted: Mon Sep 03, 2012 1:14 am
by snake61
I'm reaaaalllllly biting my tongue. Upgraded to Ubuntu 12.04.1 LTS, then followed Wiki for ZM 1.25. One Axis IP Camera works, analog camera via BT878 shows no video. Have changed channel, changed input, changed device, changed everything, still doesn't work. "Log" is also red in upper right corner. Anyone know solution? I know a similar issue was with ZM 1.24 and there was a fix. One would think that ZM 1.25 would have fixed any previous problems. But............

Re: Analog Camera don't work After ZM 1.25 Upgrade

Posted: Mon Sep 03, 2012 6:40 am
by Carrier82
Is there anything worth mentioning in those red logs?

Re: Analog Camera don't work After ZM 1.25 Upgrade

Posted: Mon Sep 03, 2012 1:24 pm
by snake61
This is the log, and there are pages of entrys:

2012-09-03 09:20:25.447193 zmc_dvideo 9658 ERR No monitors found zmc.cpp 187
2012-09-03 09:20:25.118490 zmdc 9658 INF 'zmc -d /dev/video' started at 12/09/03 09:20:25 zmdc.pl
2012-09-03 09:20:25.115850 zmdc 9183 INF 'zmc -d /dev/video' starting at 12/09/03 09:20:25, pid = 9658 zmdc.pl
2012-09-03 09:20:25.085710 zmdc 9183 INF Starting pending process, zmc -d /dev/video zmdc.pl
2012-09-03 09:20:25.031906 zma_m3 9613 WAR Waiting for capture daemon zm_monitor.cpp 503
2012-09-03 09:20:24.207790 zmwatch 9233 ERR Shared data size conflict in shared_data for monitor Backdoors, expected 328, got 316 zmwatch.pl
2012-09-03 09:20:24.199060 zmwatch 9233 ERR Shared data size conflict in shared_data for monitor Backdoors, expected 328, got 316 zmwatch.pl
2012-09-03 09:20:24.191850 zmwatch 9233 ERR Shared data size conflict in shared_data for monitor Driveway, expected 328, got 316 zmwatch.pl
2012-09-03 09:20:24.189320 zmwatch 9233 ERR Shared data size conflict in shared_data for monitor Driveway, expected 328, got 316 zmwatch.pl
2012-09-03 09:20:24.027136 zma_m3 9613 WAR Waiting for capture daemon zm_monitor.cpp 503
2012-09-03 09:20:23.020566 zma_m3 9613 WAR Waiting for capture daemon zm_monitor.cpp 503
2012-09-03 09:20:22.019513 zma_m3 9613 WAR Waiting for capture daemon zm_monitor.cpp 503
2012-09-03 09:20:21.018226 zma_m3 9613 WAR Waiting for capture daemon zm_monitor.cpp 503
2012-09-03 09:20:20.017074 zma_m3 9613 WAR Waiting for capture daemon zm_monitor.cpp 503

Re: Analog Camera don't work After ZM 1.25 Upgrade

Posted: Mon Sep 03, 2012 4:34 pm
by Carrier82
Try the Memory.pm fix mentioned by PacoLM in this thread:
http://www.zoneminder.com/forums/viewto ... 29&t=19411

Re: Analog Camera don't work After ZM 1.25 Upgrade

Posted: Tue Sep 04, 2012 1:34 am
by snake61
Thanks for the reply. But if you follow the thread, that really didn't fix it either, so I'm not wasting my time going through that gaggle. Im sure there's a fix, we're not the only ones that have experienced this. Temporarily I do have one IP camera that is fine and a piece of cake to set up, just analog cams via video card are broken.

Re: Analog Camera don't work After ZM 1.25 Upgrade

Posted: Tue Sep 04, 2012 7:11 am
by PacoLM
To fix the errors:

Code: Select all

ERR Shared data size conflict in shared_data for monitor Backdoors, expected 328, got 316 zmwatch.pl 
Find your /Zoneminder/Memory.pm and replace:

Code: Select all

$arch = int(3.2*length(~0));
with

Code: Select all

$arch = 32;
This fix works. Let's go step by step...

Re: Analog Camera don't work After ZM 1.25 Upgrade

Posted: Tue Sep 04, 2012 7:14 am
by Carrier82
The Memory.pm fix worked for me as well. If someone else has struck into another kind of error after this fix, it doesn't mean everyone will. :roll:

Re: Analog Camera don't work After ZM 1.25 Upgrade

Posted: Tue Sep 04, 2012 5:25 pm
by snake61
Ok, I'll give it a try.

Now, how do I find what you want me to change?????

Re: Analog Camera don't work After ZM 1.25 Upgrade

Posted: Tue Sep 04, 2012 6:02 pm
by Carrier82
run

Code: Select all

sudo updatedb; locate Memory.pm
or if you don't have locate

Code: Select all

cd /; sudo find -name Memory.pm
Then use your favourite editor, for example gedit or nano:

Code: Select all

cd /directory/where/file/is
sudo gedit Memory.pm
or

Code: Select all

sudo nano Memory.pm
Find the line that contains the string that needs to be altered. Do modifications. Save. You may do the same modification to all Memory.pm files found, does not harm to my knowledge (unless you have Memory.pm files not related to zoneminder, then don't know). Restart zoneminder. Note that in Linux, case does matter (Memory.pm not memory.pm).

Re: Analog Camera don't work After ZM 1.25 Upgrade

Posted: Tue Sep 04, 2012 8:10 pm
by snake61
Well that fixed the error in the log. But still can't get analog camera to work, and when viewing events, says my icedtea plugin is out of date, yet I just installed the latest and greatest from the Ubuntu Software Center. It will eventually play the video but i have to run the plugin, allow the certificate,....May just go back to what works. ZM 1.24 was rock solid!

Re: Analog Camera don't work After ZM 1.25 Upgrade [RESOLVED

Posted: Wed Sep 05, 2012 7:22 pm
by snake61
Went through all of the settings, one by one. Turned out that I had to use VFL2 instead of the settings I was using in ZM1.24 which was /dev/video0, channel 0 NTSC YUYV422P, 15 fps, 15 fps, 320x240. Now in ZM 1.25 settings are /dev/video0, channel 0 NTSC, RGB565, 15 fps, 15 fps, 320x240.

Thanks for all the help. Any one know how to stop the log that is red in the upper right hand corner. Seems that would take resources to constantly run in the back ground?

Re: Analog Camera don't work After ZM 1.25 Upgrade

Posted: Wed Sep 05, 2012 10:16 pm
by snake61
Reference made to this:

Went through all of the settings, one by one. Turned out that I had to use VFL2 instead of the settings I was using in ZM1.24 which was VFL1, /dev/video0, channel 0 NTSC YUYV422P, 15 fps, 15 fps, 320x240. Now in ZM 1.25 settings are /dev/video0, channel 0 NTSC, RGB565, 15 fps, 15 fps, 320x240.

Thanks for all the help. Any one know how to stop the log that is red in the upper right hand corner. Seems that would take resources to constantly run in the back ground?

Just note the change from VFL1 to VFL2 from ZM 1.24 to ZM 1.25

Also, logs can be turned off in "logging" under "options"

Thanks again to all.

Re: Analog Camera don't work After ZM 1.25 Upgrade - Still

Posted: Wed Sep 19, 2012 12:34 am
by snake61
Sorry. This doesn't seem to be the fix. Just installed Ubuntu 12.04.01, installed ZM 1.25 per Wiki, Analog camera does not work. Just the IP camera. Even used my own "fix" as posted and still does not work. Only thing i haven't done on this install was to updat icedtea. Would this affect ZM

Re: Analog Camera don't work After ZM 1.25 Upgrade

Posted: Tue Nov 20, 2012 4:12 pm
by dirkdiggler
I was having a very similar problem and error messages in the log. I did the memory change fix that was recommended, except instead of 32, I changed it to 64 in the memory.pm file (for the 64 bit version of Unbuntu). This did not fix the problem. Then I did this, based on a post in this forum:

Change the AUTH_RELAY setting in option to "plain" or "none"

I set it to plain and it started working.