Page 1 of 1
Debug Level
Posted: Sun Sep 04, 2005 8:42 pm
by maximum
Hi all,
Sorry for a question so stupid, but...
how to elevate te debug level?
I have a Cpia camera that works perfectly under xawtv and gqcam but don't do the same under ZM
so i think that elevating the debug level from 0 to 1 or 2 can help me to understand
best,
MaX
Posted: Wed Sep 07, 2005 11:26 am
by zoneminder
If you have a process that is running then the easiest way to increase the debug level is to send a USR1 signal, using
which will increase debug by one per signal. Use USR2 to put it back down.
If your process is crashing then try shuitting down zm and running the binary directly from the command line. In this case if you set the ZM_DBG_LEVEL to a value from -3 to 9 and then run your binary you will get more output.
By the way have you checked that you can do frame grabs to capture images from xawtv? Xatv uses a different mode to show continuous video, using frame grabs more closely simulates the way ZM works.
Phil
Posted: Wed Sep 07, 2005 11:51 am
by maximum
zoneminder wrote:If you have a process that is running then the easiest way to increase the debug level is to send a USR1 signal, using
which will increase debug by one per signal. Use USR2 to put it back down.
If your process is crashing then try shuitting down zm and running the binary directly from the command line. In this case if you set the ZM_DBG_LEVEL to a value from -3 to 9 and then run your binary you will get more output.
tnx, i'll try it.
zoneminder wrote:
By the way have you checked that you can do frame grabs to capture images from xawtv? Xatv uses a different mode to show continuous video, using frame grabs more closely simulates the way ZM works.
Phil
...errr..

feature request: i think that if a camera works in xawtv or gqcam, it need to works just fine in ZM.
that's possible?
best,
MaX
Posted: Sat Sep 10, 2005 4:35 pm
by zoneminder
In 'TV' mode xawtv etc have no means of knowing what is in the video as the capture card memory is just being mapped to the screen. This at least initially allows you to confirm that your camera etc are powered on and connected correctly. However as ZM needs to examine the contents of the image it needs to grab each frame and not just pass it through. Xawtv etc let you do this also but you have to ask for it to do so. This tets then allows you to confirm that your driver etc is working correctly and if both tests work then you can be fairly certain that you will be ok with ZM.
Phil