'rolling' image / feed (SOLVED - sort of)

Forum for questions and support relating to the 1.24.x releases only.
Locked
johngc
Posts: 51
Joined: Sun May 25, 2008 4:38 pm

'rolling' image / feed (SOLVED - sort of)

Post by johngc »

I was sucessfully using Zoneminder on a home server setup on Ubuntu 9.04.

I recently upgraded my system including a new motherboard and CPU so decided to do a fresh install and upgraded to Ubuntu 9.10.

I have now completed three fresh installs and followed a number o guides on here trying both memory map setups and the initial memory setup where you have to calculate your shmmax and shmall.

Every time the install runs fine but I am left with a situation where my camera image is 'rolling' and has so many lines over it that you can't make out what is happening.

I have increased the debug to 5 and viewed as many logs as I can find but can't see the fault. I have even changed the slot that the capture card is sat in but to no avail.

Ironically, I remember having a similar problem some months back and have even posted here when I managed to solve it but for the life of me I can't remember what i did!

Has any one out there had a similar problem and solved it or is there any one who can think of a solution.

My last resort would be to replace the capture card, but I am reluctant to fork out for a new one at the moment, when I am sure that it is not the problem!
Last edited by johngc on Thu Mar 25, 2010 5:19 pm, edited 1 time in total.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

2 things off the top of my head.
might be one of those


V4L_MULTI_BUFFER Use more than one buffer for Video 4 Linux devices (?)
CAPTURES_PER_FRAME How many images are captured per returned frame, for shared local cameras (?)
johngc
Posts: 51
Joined: Sun May 25, 2008 4:38 pm

Post by johngc »

Thanks for replying and sorry it has taken me so long to come back.

In the mean time I have done a fresh install of Ubuntu and ZM and am still having the same problem.

As far as your suggestions, the settings are as follows:

V4L_MULTI_BUFFER - I have tried this both on and off but with no change.

CAPTURES_PER_FRAME - It was at 1 and I have tried it at 2 and 3 but still with no luck.

This is really starting to do my head in! When I have it working, ZM is such a great bit of software but when I have prolems with the settings, it drives me mad![/code]
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

After you changed thouse setting did you restart zm if so try rebooting the pc.

Dug up old thread. http://www.zoneminder.com/forums/viewto ... highlight=

looks like you did the same thing
johngc
Posts: 51
Joined: Sun May 25, 2008 4:38 pm

Post by johngc »

I tried both restarting ZM and the PC. I have also tried the options in that thread which is even more frustrating because as far as I can remember, it worked then!

The only real difference is that I was using Ubuntu 8.04 then and 9.10 now - I guess that is going to have to be my net step.
johngc
Posts: 51
Joined: Sun May 25, 2008 4:38 pm

Post by johngc »

Well I have managed to resolve the problem.

I have had to set the device format to PAL Nc. No idea why as with the old setup, PAL worked as standard and I have not changed either the camera or the capture card. Must be something to do with the way that Ubuntu 9.10 differs from 8.04??

Any way, I now have two 640 x 480 feeds but only in grey. Colour seems to break it but as long as I have a picture thats the main thing. Ill do some more digging on the colour before posting again! :D
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

Maybe try to use v4l rather than v4l2
johngc
Posts: 51
Joined: Sun May 25, 2008 4:38 pm

Post by johngc »

Thats the funny thing - I always used to use V4L set as PAL and it worked just fine. V4L does now not work and gives the 'rolling' image and the only way I have been able to resolve it to set V4L2 and PAL Nc.
Locked