video sync problem
Posted: Fri Jan 06, 2012 12:05 am
I've been using Motion for a couple of years to monitor my two security cameras. It works, but since it lacks the ability to focus on zones it ends up generating thousands of files, which require cleanup scripts and is incredibly tedious if I want to locate an event. So I decided to try ZoneMinder.
I've got the console up and running and I can see both monitors. However, the vertical sync on one or the other is off. Sometimes it's one monitor, sometimes the other--it's random. If I stop ZoneMinder and start up Motion, both cameras display correctly: I should point out these are being captured by the same device. I have a Hauppauge ImpactVCB with 4 inputs and I'm using the first two composite inputs. I understand the more inputs this card uses the lower the framerate of each stream but why does it work correctly in Motion but not in ZoneMinder? These are my settings for the cameras:
Device Path - /dev/impactvcb
Capture Method - Video for Linux version 2
Device Channel - 0
Device Format - NTSC
Capture Palette - YUYV
Capture Width (pixels) - 320
Capture Height (pixels) - 240
Preserve Aspect Ratio - unchecked
Orientation - Normal
/dev/impactvcb is a symbolic link I created with a udev rule because the device numbers change sometimes when I reboot. Perhaps the capture palette is wrong. I tried all the others and only a few of them displayed anything.
I've got the console up and running and I can see both monitors. However, the vertical sync on one or the other is off. Sometimes it's one monitor, sometimes the other--it's random. If I stop ZoneMinder and start up Motion, both cameras display correctly: I should point out these are being captured by the same device. I have a Hauppauge ImpactVCB with 4 inputs and I'm using the first two composite inputs. I understand the more inputs this card uses the lower the framerate of each stream but why does it work correctly in Motion but not in ZoneMinder? These are my settings for the cameras:
Device Path - /dev/impactvcb
Capture Method - Video for Linux version 2
Device Channel - 0
Device Format - NTSC
Capture Palette - YUYV
Capture Width (pixels) - 320
Capture Height (pixels) - 240
Preserve Aspect Ratio - unchecked
Orientation - Normal
/dev/impactvcb is a symbolic link I created with a udev rule because the device numbers change sometimes when I reboot. Perhaps the capture palette is wrong. I tried all the others and only a few of them displayed anything.