Two camera same video recorded. (SOLVED)

Forum for questions and support relating to the 1.25.x releases only.
Locked
kamil
Posts: 21
Joined: Fri Aug 31, 2012 6:07 am

Two camera same video recorded. (SOLVED)

Post 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.
Last edited by kamil on Fri Sep 21, 2012 6:50 am, edited 1 time in total.
kamil
Posts: 21
Joined: Fri Aug 31, 2012 6:07 am

Re: Two camera same video recorded.

Post 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. :)
Carrier82
Posts: 96
Joined: Sat Jul 28, 2012 8:30 pm

Re: Two camera same video recorded.

Post 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?)
cgprasad
Posts: 37
Joined: Tue May 24, 2011 7:59 am

Re: Two camera same video recorded.

Post 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
kamil
Posts: 21
Joined: Fri Aug 31, 2012 6:07 am

Re: Two camera same video recorded.

Post 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.
Carrier82
Posts: 96
Joined: Sat Jul 28, 2012 8:30 pm

Re: Two camera same video recorded. (SOLVED)

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