Analog Camera don't work After ZM 1.25 Upgrade

Forum for questions and support relating to the 1.25.x releases only.
Locked
snake61
Posts: 64
Joined: Thu Jul 17, 2008 1:44 pm
Location: South Carolina

Analog Camera don't work After ZM 1.25 Upgrade

Post 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............
Thanks for all the Help.
New to Linux
Carrier82
Posts: 96
Joined: Sat Jul 28, 2012 8:30 pm

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

Post by Carrier82 »

Is there anything worth mentioning in those red logs?
snake61
Posts: 64
Joined: Thu Jul 17, 2008 1:44 pm
Location: South Carolina

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

Post 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
Thanks for all the Help.
New to Linux
Carrier82
Posts: 96
Joined: Sat Jul 28, 2012 8:30 pm

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

Post by Carrier82 »

Try the Memory.pm fix mentioned by PacoLM in this thread:
http://www.zoneminder.com/forums/viewto ... 29&t=19411
snake61
Posts: 64
Joined: Thu Jul 17, 2008 1:44 pm
Location: South Carolina

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

Post 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.
Thanks for all the Help.
New to Linux
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

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

Post 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...

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Carrier82
Posts: 96
Joined: Sat Jul 28, 2012 8:30 pm

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

Post 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:
snake61
Posts: 64
Joined: Thu Jul 17, 2008 1:44 pm
Location: South Carolina

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

Post by snake61 »

Ok, I'll give it a try.

Now, how do I find what you want me to change?????
Thanks for all the Help.
New to Linux
Carrier82
Posts: 96
Joined: Sat Jul 28, 2012 8:30 pm

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

Post 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).
snake61
Posts: 64
Joined: Thu Jul 17, 2008 1:44 pm
Location: South Carolina

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

Post 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!
Thanks for all the Help.
New to Linux
snake61
Posts: 64
Joined: Thu Jul 17, 2008 1:44 pm
Location: South Carolina

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

Post 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?
Thanks for all the Help.
New to Linux
snake61
Posts: 64
Joined: Thu Jul 17, 2008 1:44 pm
Location: South Carolina

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

Post 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.
Thanks for all the Help.
New to Linux
snake61
Posts: 64
Joined: Thu Jul 17, 2008 1:44 pm
Location: South Carolina

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

Post 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
Thanks for all the Help.
New to Linux
dirkdiggler
Posts: 3
Joined: Sun Nov 18, 2012 8:36 pm

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

Post 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.
Locked