Image Oddities, Space
Posted: Mon Nov 08, 2004 10:51 pm
I have recently put together a machine to run ZoneMinder as part of a video surveillance system. I currently have 8 cameras running and plan on getting another 8 as soon as iTuner support and myself can get the second card functioning in conjunction with the first. I was pleasantly surprised at how smooth the set up of ZoneMinder was, how easy it is to use through the web interface, and how light on system resources it is even when recording from 8 cameras. I do have a few questions though. (I'm still working through the README and setting things up as I go, but have skimmed the rest of it and don't see anything regarding the questions I have. I've also run through the FAQ here for these quirks.)
First of all, I'm running ZoneMinder 1.19.5 on Slackware 10. I'm using Mozilla as a web browser client, so I don't need any plug-ins to view the output. I have a Spectra-8 video capture card with 8 cameras connected; capturing is taking place around 5 fps. The system is an AMD Barton 2500 with a gig of RAM, an 80 gig boot drive, and two 250 gig drives for data in a RAID-1 array. I have another 250 gig drive on the way to add to this RAID.
The first problem I'm having is viewing cameras. I click on a camera name and it pops up the monitoring window as it should and all is well. However, if I close the window and open it up again, I get the broken image icon instead of the streaming images. If I choose another zoom, it comes up and displays as it should. If I switch back to the original zoom, the broken image icon again is displayed. If the window is closed and opened again, I have to choose a zoom that I haven't before to get the video to show up. (For example, the actual resolution is chosen automatically the first time the window is displayed. If I close it and open it again, I choose 3/4 size to get an image because actual has the broken image icon displayed. If I close it and open it again, I do not get an image when either the actual resolution or 3/4 zoom is chosen.) If I switch to stills, it works fine at any zoom factor, but of course the refresh rates aren't anything like watching live video.
Somewhat related to the first problem is this one, which may or may not be related. I have the streaming method in the video options set to jpeg - mpeg displays nothing but white space where the video should be. I have the plugger plug-in to view mpegs through the broswer, but still get nothing.
Another issue that may or may not be related to the first one is a problem with the Montage link. When I click on it, I get a grid of 8 cameras, but only one to three of them actually display an image. Usually one or two images are displayed, but I have had one time that I got three images. The cameras that have images displayed are not the same if you close and re-open the montage.
I also have a question regarding the space requirements for the captured frames. If I look in the events directory, I see that the jpeg stills of each frame are saved. Is there any way to make these be saved as an mpeg? As stated above, I currently have half a terrabyte of storage devoted to video, soon to be three-quarters. Even with this amount of storage space, by my calculations 16 cameras would consume all available space in approximately 9 days, 8 hours. I would very much like to have at least two weeks of video stored before it is erased and the space recycled for new video, but would rather not add another IDE controller and more drives if I can possibly help it.
The only other problem I'm having is that the cameras are only capturing at 5 fps. It doesn't matter if I have a limit in the monitor settings or not. The Spectra-8 is a 4-tuner card capable of 120 aggregate frames per second With 8 cameras, I should be achieving around 15 fps for each camera. The CPU is over 60% idle most of the time, so I know it isn't a problem there. This isn't a huge deal (and I know that unless I can get it to generate mpegs instead of saving the jpeg stills, the space requirements will greatly increase), but was wondering if anybody knows of a reason why this would occur.
First of all, I'm running ZoneMinder 1.19.5 on Slackware 10. I'm using Mozilla as a web browser client, so I don't need any plug-ins to view the output. I have a Spectra-8 video capture card with 8 cameras connected; capturing is taking place around 5 fps. The system is an AMD Barton 2500 with a gig of RAM, an 80 gig boot drive, and two 250 gig drives for data in a RAID-1 array. I have another 250 gig drive on the way to add to this RAID.
The first problem I'm having is viewing cameras. I click on a camera name and it pops up the monitoring window as it should and all is well. However, if I close the window and open it up again, I get the broken image icon instead of the streaming images. If I choose another zoom, it comes up and displays as it should. If I switch back to the original zoom, the broken image icon again is displayed. If the window is closed and opened again, I have to choose a zoom that I haven't before to get the video to show up. (For example, the actual resolution is chosen automatically the first time the window is displayed. If I close it and open it again, I choose 3/4 size to get an image because actual has the broken image icon displayed. If I close it and open it again, I do not get an image when either the actual resolution or 3/4 zoom is chosen.) If I switch to stills, it works fine at any zoom factor, but of course the refresh rates aren't anything like watching live video.
Somewhat related to the first problem is this one, which may or may not be related. I have the streaming method in the video options set to jpeg - mpeg displays nothing but white space where the video should be. I have the plugger plug-in to view mpegs through the broswer, but still get nothing.
Another issue that may or may not be related to the first one is a problem with the Montage link. When I click on it, I get a grid of 8 cameras, but only one to three of them actually display an image. Usually one or two images are displayed, but I have had one time that I got three images. The cameras that have images displayed are not the same if you close and re-open the montage.
I also have a question regarding the space requirements for the captured frames. If I look in the events directory, I see that the jpeg stills of each frame are saved. Is there any way to make these be saved as an mpeg? As stated above, I currently have half a terrabyte of storage devoted to video, soon to be three-quarters. Even with this amount of storage space, by my calculations 16 cameras would consume all available space in approximately 9 days, 8 hours. I would very much like to have at least two weeks of video stored before it is erased and the space recycled for new video, but would rather not add another IDE controller and more drives if I can possibly help it.
The only other problem I'm having is that the cameras are only capturing at 5 fps. It doesn't matter if I have a limit in the monitor settings or not. The Spectra-8 is a 4-tuner card capable of 120 aggregate frames per second With 8 cameras, I should be achieving around 15 fps for each camera. The CPU is over 60% idle most of the time, so I know it isn't a problem there. This isn't a huge deal (and I know that unless I can get it to generate mpegs instead of saving the jpeg stills, the space requirements will greatly increase), but was wondering if anybody knows of a reason why this would occur.