ZM_CAPTURES_PER_FRAME

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
mycal
Posts: 65
Joined: Tue Nov 09, 2004 6:39 am

ZM_CAPTURES_PER_FRAME

Post by mycal »

Is there any way we can get finer grain resolution on this setting?

It seems like a small sleep after changing channels, maybe from 0-255 Ms would be ideal here.

The reason is that going from 1 to 2 hammers the frame rate output of the board when the setteling time needed may be a fraction of a frame read time.

Anyway just an idea to try to keep as much frame rate on the cheap single chip boards as possible without that jags.

Thanks,

Mycal
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

The timing issue of the 'round robin' feature that allows you to capture multi inputs is critical. If you are getting combing effect check you are using the right driver for your card. I usually use single chip cards and dont have the problem
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
lazyleopard
Posts: 403
Joined: Tue Mar 02, 2004 6:12 pm
Location: Gloucestershire, UK

Re: ZM_CAPTURES_PER_FRAME

Post by lazyleopard »

mycal wrote:Is there any way we can get finer grain resolution on this setting?
No. It is by nature counted in whole frames. However, you should only need it set higher than 1 if:
  • You are using a capture card that shares one capture chip between two or more inputs,
  • and you are using a resolution greater than 320x240 (for NTSC) or 384x288 (for PAL),
  • and you see combing effects on stationary objects caused by wrong-order interlacing
Rick Hewett
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

ah i see i never go above 288 thats why i never see it! thanks for the info
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
mycal
Posts: 65
Joined: Tue Nov 09, 2004 6:39 am

Post by mycal »

Yea I understand how the card works, but if you switch the port and instead of reading a frame, you wait a small amout of time, the hardware settaling will occure, the question is do you need to read a frame for this settaling to occure or is just a time based thing. If the latter you could probably speed up the framerate quite a bit by not having to wait a full frame read time before you get clean video.

mycal
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

if you dont wait for a full frame your gonna strat you capture at line 166 for example not line 1. You obviously have to start at line 1 if when its stablised its currently at 166 it has to wait the full 625 before styarting to grab the frame
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
mycal
Posts: 65
Joined: Tue Nov 09, 2004 6:39 am

Post by mycal »

Ohh, yea your right, didn't think about that.

Thanks,

Mycal
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

no probs mate, there obvioulsy is something that can be done but i think it needs to be done by bttv driver as its that that gives the images to zm
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Post Reply