Page 1 of 1
Two camera same video recorded. (SOLVED)
Posted: Tue Sep 18, 2012 7:49 am
by kamil
Good day! I have installed ZoneMinder 1.25.0 and added 2 dome cameras connected to a capture card (SoftLogic 6x10) with the source,
CAMERA-1
Code: Select all
Device Path: /dev/video0
Device Channel: 15
Device Format: NTSC
Capture Palette: UYVY
Capture Width (pixels): 704
Capture Height (pixels): 480
CAMERA-2
Code: Select all
Device Path: /dev/video0
Device Channel: 2
Device Format: NTSC
Capture Palette: UYVY
Capture Width (pixels): 704
Capture Height (pixels): 480
The cameras are detected using the Test Bench of Ubuntu. The zoneminder also detects correctly the camera if only one camera is connected. I added another camera that is also connected to the capture card. The source of both camera is orange that means it is detected. The problem is, they stream the same video. I adjusted the Maximum FPS of on camera to 2.00fps while the other is 1.00fps. What happens is, both monitor, have the same video. And the video I get comes from the camera with the lowest maximum fps.
Any idea how to fix this? Thanks for the help.
Re: Two camera same video recorded.
Posted: Wed Sep 19, 2012 2:22 am
by kamil
According to zoneminder-wiki-troubleshooting,
USB bus problems. If you have multiple USB cameras on one bus then it can appear as if ZoneMinder is causing your cameras to fail. This is because the bandwidth available to cameras is limited by the fairly low USB speed. In order to use more than one USB camera with ZoneMinder (or any application) you will need to inform the driver that there are other cameras requiring bandwidth. This is usually done with a simple module option. Examples are usb_alt=<n> for the OV511 driver and cams=<n> for CPIA etc. Check your driver documentation for more details. Be aware however that sharing cameras in this way on one bus will also limit the capture rate due to the reduced bandwidth.
but I dont know how to do it. I searched through the internet but I cant find how to it. Can someone help me about my problem? Thank you for your help.

Re: Two camera same video recorded.
Posted: Wed Sep 19, 2012 6:31 pm
by Carrier82
I think the usb camera driver problem is a separate issue which does not concern you as you have a capture card. No experience with capture cards but you could try the captures per frame setting. (2?)
Re: Two camera same video recorded.
Posted: Thu Sep 20, 2012 7:44 am
by cgprasad
HI
Sometimes it happens with IP cameras too.
Same display with two different cams with different IP addresses ( of course)
wonder whats wrong !!
Regards
Prasad
Re: Two camera same video recorded.
Posted: Fri Sep 21, 2012 6:49 am
by kamil
Thanks for the reply.
I solved this problem about the capture card. Just change the value of CAPTURES_PER_FRAME depending on how many channels your capture card have. And it works
As for the IP camera, I dont know how to solve it yet. I did not encounter it yet on the IP camera. The problem about my IP camera is sometimes, it only display blue screen with timestamp. I dont know how to fix this either.
Re: Two camera same video recorded. (SOLVED)
Posted: Fri Sep 21, 2012 8:24 am
by Carrier82
If it's a cheap IP camera, those might have problems with continuous stream maximum fps. You could try to reduce frame rate from the camera (not zm) to fix the issue.