Lines in video? why
Lines in video? why
Hi i have jsut reinstalled zoneminder and i have come across a problem i had before. i have no idea why it started this again or what i can do to stop it.
the video is slowing random lines. they seem to be lines from other cams.
This is messing up the mocord any ideas???
thanks
the video is slowing random lines. they seem to be lines from other cams.
This is messing up the mocord any ideas???
thanks
Are your cams running higher than 320x240 (or whatever the PAL equivalent is, if you're using PAL)? Those look like interlacing lines for a cam running greater than 320x240 resolution. If so, try lowering the resolution to 320x240 and see if they go away.
Your frame rate is pretty low (that should help)...maybe try increasing captures-per-frame to 2 in the options? That'll decimate your frame rate, but it might help.
Your frame rate is pretty low (that should help)...maybe try increasing captures-per-frame to 2 in the options? That'll decimate your frame rate, but it might help.
We would need to know what you monitor settings are, all of them.
Height: 240
Width: 320
Palette: 24bit
Ring-buffer:
So taking a guess at you setup:
So far, with this info we can determine that each image is around 165k for each cam.
If you have a default ring buffer of 100 (Depends if you use source and may vary between packages) that's 165k x 100 = ~16.5 M for each cam. For five cams that comes to ~83M that you need in shared memory but not including any other processes that need to use that space as well.
BTW, this is all documented in the FAQ.
You could also try turning on and raising the debug level in ZM, It would have some usefull information that would likely say where and what the issue is.
Run the following and post the results here:
The other issue it could be is you might need to add some options for the bttv module, but one thing at a time
Height: 240
Width: 320
Palette: 24bit
Ring-buffer:
So taking a guess at you setup:
So far, with this info we can determine that each image is around 165k for each cam.
If you have a default ring buffer of 100 (Depends if you use source and may vary between packages) that's 165k x 100 = ~16.5 M for each cam. For five cams that comes to ~83M that you need in shared memory but not including any other processes that need to use that space as well.
BTW, this is all documented in the FAQ.
You could also try turning on and raising the debug level in ZM, It would have some usefull information that would likely say where and what the issue is.
Run the following and post the results here:
Code: Select all
ipcs -lm && ipcs -um && ipcs -m && cat /proc/sys/kernel/shmmax
But it means nothing to me
[anthony@zm ~]$ ipcs -lm && ipcs -um && ipcs -m && cat /proc/sys/kernel/shmmax
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 131072
max total shared memory (pages) = 134217728
min seg size (bytes) = 1
------ Shared Memory Status --------
segments allocated 8
pages allocated 13857
pages resident 13725
pages swapped 0
Swap performance: 0 attempts 0 successes
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
134217728
-------------------
The cams are all set the same.
Local
Max FPS:3
Alarm Max FPS: 3
320x240
PAL
RGB24
Image buffer size:40
warmup frames: 25
pre event image buffer: 10
post event image buffer: 10
Alarm count: 1
[anthony@zm ~]$ ipcs -lm && ipcs -um && ipcs -m && cat /proc/sys/kernel/shmmax
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 131072
max total shared memory (pages) = 134217728
min seg size (bytes) = 1
------ Shared Memory Status --------
segments allocated 8
pages allocated 13857
pages resident 13725
pages swapped 0
Swap performance: 0 attempts 0 successes
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
134217728
-------------------
The cams are all set the same.
Local
Max FPS:3
Alarm Max FPS: 3
320x240
PAL
RGB24
Image buffer size:40
warmup frames: 25
pre event image buffer: 10
post event image buffer: 10
Alarm count: 1
cordel wrote:So now the question, when did you put in the example shmmax and shmall from the FAQ?
Have you restarted ZM since you used the examples?
Why do I not see ZM using any shared memroy from the code I had you run, zm should have been running?
Yes zoneminder is running. I have just restarted the system to see if it helped but no joy.
[root@zm anthony]# cat /proc/sys/kernel/shmmax
134217728
[root@zm anthony]# cat /proc/sys/kernel/shmall
134217728
still the same thing with this setting
i have followed the faq and tried setting all buffers to 10 frames on all 5 cams. i'm srill getting the same things.
I have checked the debug log and i get this...
I have 5 cams capturing at 320x240 24bit RGB.
max FPS:1
image Buffer size: 10
walmup fames:5
pre event image buffer: 5
post event image buffer: 5
alarm frame count: 2
frameskip: 10
I don't understand why this used to work before i reinstalled.
nothings change hardware and software are the same. even from the same disk.
system is..
1.6ghz AMD
512mb ram
500gb hdd
please help
I have checked the debug log and i get this...
Code: Select all
02/10/08 14:52:41.503823 zma_m4[23019].WAR-zm_monitor.cpp/874 [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
02/10/08 14:52:42.334510 zma_m4[23019].DB4-zm_monitor.cpp/865 [RI:9, WI: 0, PF = 1, RM = 9, Step = 2]
02/10/08 14:52:42.334596 zma_m4[23019].WAR-zm_monitor.cpp/874 [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
max FPS:1
image Buffer size: 10
walmup fames:5
pre event image buffer: 5
post event image buffer: 5
alarm frame count: 2
frameskip: 10
I don't understand why this used to work before i reinstalled.
nothings change hardware and software are the same. even from the same disk.
system is..
1.6ghz AMD
512mb ram
500gb hdd
please help
Or try to set your shared memory to 402653184 (here is described how to do it)
This is 3x as much as before - it should still fit in your RAM.
Do you run other services on the machine? Don't use X.
This is 3x as much as before - it should still fit in your RAM.
Do you run other services on the machine? Don't use X.
v1.25.0 + Ubuntu Linux 12.04 Server