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
Debug Level
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
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
Code: Select all
kill -USR1 <pid>
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
tnx, i'll try it.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.Code: Select all
kill -USR1 <pid>
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.
...errr..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

that's possible?
best,
MaX
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
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
Phil