Hi all
I have 0.9.16-031027 working on Mandrake 9.2. This is my first look at zoneminder and it's a great package! I'm still testing and learning the interface.
I have not been able to view streaming video, only stills. I have tried with and without cambrozola enabled. I used the .jar from this site, copyed to /var/www/html/zm. Mozilla and Konqueror both show a frame with an image icon and nothing else, both from localhost and from a remote host. IE shows the name and author of the applet.
Mandrake 9.2 and streaming
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: Mandrake 9.2 and streaming
Hi Ross,
It sounds like perhaps you are having trouble with zms, the streaming daemon. If you click on the cambozola applet then it should present you with an url that is being used (or just look at the source of the page). If you take what comes after the '&' and put it into a command window as the QUERY_STRING environment variable you should be able to run zms on the command line. Can you try that and see if it works (or crashes).
Also are you having problems with just watching the live feed, or events, or both?
Cheers,
Phil,
It sounds like perhaps you are having trouble with zms, the streaming daemon. If you click on the cambozola applet then it should present you with an url that is being used (or just look at the source of the page). If you take what comes after the '&' and put it into a command window as the QUERY_STRING environment variable you should be able to run zms on the command line. Can you try that and see if it works (or crashes).
Also are you having problems with just watching the live feed, or events, or both?
Cheers,
Phil,
Re: Mandrake 9.2 and streaming
Thanks for the reply.
Click on the combozla applet? I guess I dont understand. View the source of which page? The monitor page? I'm not finding an URL in the source of the monitor page. Sorry I'm so slow but if you will clarify I will try to give a better bug report.
I dont get streaming video, only stills in the monitor window and the event window. Maybe unrelated but if I generate a video it is all black. I get the same thing if I try to generate a video with ffmpeg from the command line, all black.
Click on the combozla applet? I guess I dont understand. View the source of which page? The monitor page? I'm not finding an URL in the source of the monitor page. Sorry I'm so slow but if you will clarify I will try to give a better bug report.
I dont get streaming video, only stills in the monitor window and the event window. Maybe unrelated but if I generate a video it is all black. I get the same thing if I try to generate a video with ffmpeg from the command line, all black.
Re: Mandrake 9.2 and streaming
OK I think Im making some progress. IE gives me some info when I click on the streaming frame. Konqueror and Mozilla did't give me anything. IE tells me:
URL: http://192.168.2.20/cgi-bin/zms?monitor ... 50&scale=1
FPS: 0
Trying to apply the debugging instruction above I did this:
# QUERY_STRING=monitor=3&idle=250&refresh=250&scale=1
# zms
#tail /var/log/syslog
Nov 6 14:58:50 sentry zma-m3[2333]: INF [All: Alarm Pixels: 4430, Filter Pixels: 3640, Blob Pixels: 2310, Blobs: 1, Score: 3]
Nov 6 14:58:51 sentry zma-m3[2333]: INF [test1: 186 - Left alarm state (384) - 60(28) images]
Nov 6 14:58:55 sentry zma-m3[2333]: INF [All: Alarm Pixels: 9009, Filter Pixels: 8192, Blob Pixels: 7124, Blobs: 2, Score: 9]
Nov 6 14:58:55 sentry zma-m3[2333]: INF [test1: 208 - Gone into alarm state]
Nov 6 14:58:56 sentry zma-m3[2333]: INF [All: Alarm Pixels: 21602, Filter Pixels: 21177, Blob Pixels: 19246, Blobs: 1, Score: 25]
Nov 6 14:58:56 sentry zma-m3[2333]: INF [All: Alarm Pixels: 22473, Filter Pixels: 22240, Blob Pixels: 21304, Blobs: 1, Score: 27]
Nov 6 14:58:56 sentry zma-m3[2333]: INF [All: Alarm Pixels: 21141, Filter Pixels: 20897, Blob Pixels: 19815, Blobs: 1, Score: 25]
Nov 6 14:58:57 sentry zma-m3[2333]: INF [All: Alarm Pixels: 10799, Filter Pixels: 10268, Blob Pixels: 9395, Blobs: 1, Score: 12]
Nov 6 14:58:58 sentry zma-m3[2333]: INF [test1: 223 - Left alarm state (385) - 25(5) images]
Nov 6 14:59:03 sentry zma-m3[2333]: INF [test1: 240 - Processing at 4.29 fps]
I sorted out the issues with ffmpeg and now can view generated videos.
URL: http://192.168.2.20/cgi-bin/zms?monitor ... 50&scale=1
FPS: 0
Trying to apply the debugging instruction above I did this:
# QUERY_STRING=monitor=3&idle=250&refresh=250&scale=1
# zms
#tail /var/log/syslog
Nov 6 14:58:50 sentry zma-m3[2333]: INF [All: Alarm Pixels: 4430, Filter Pixels: 3640, Blob Pixels: 2310, Blobs: 1, Score: 3]
Nov 6 14:58:51 sentry zma-m3[2333]: INF [test1: 186 - Left alarm state (384) - 60(28) images]
Nov 6 14:58:55 sentry zma-m3[2333]: INF [All: Alarm Pixels: 9009, Filter Pixels: 8192, Blob Pixels: 7124, Blobs: 2, Score: 9]
Nov 6 14:58:55 sentry zma-m3[2333]: INF [test1: 208 - Gone into alarm state]
Nov 6 14:58:56 sentry zma-m3[2333]: INF [All: Alarm Pixels: 21602, Filter Pixels: 21177, Blob Pixels: 19246, Blobs: 1, Score: 25]
Nov 6 14:58:56 sentry zma-m3[2333]: INF [All: Alarm Pixels: 22473, Filter Pixels: 22240, Blob Pixels: 21304, Blobs: 1, Score: 27]
Nov 6 14:58:56 sentry zma-m3[2333]: INF [All: Alarm Pixels: 21141, Filter Pixels: 20897, Blob Pixels: 19815, Blobs: 1, Score: 25]
Nov 6 14:58:57 sentry zma-m3[2333]: INF [All: Alarm Pixels: 10799, Filter Pixels: 10268, Blob Pixels: 9395, Blobs: 1, Score: 12]
Nov 6 14:58:58 sentry zma-m3[2333]: INF [test1: 223 - Left alarm state (385) - 25(5) images]
Nov 6 14:59:03 sentry zma-m3[2333]: INF [test1: 240 - Processing at 4.29 fps]
I sorted out the issues with ffmpeg and now can view generated videos.
Re: Mandrake 9.2 and streaming
Just adding a note that the above is with the new beta update applied. Also none of the logs in /tmp have any error messages.
Also I find that after about 30 minutes with zm running it eats all my memory and swap and the system becomes none responsive to keyboard or mouse. :(
Also I find that after about 30 minutes with zm running it eats all my memory and swap and the system becomes none responsive to keyboard or mouse. :(
Re: Mandrake 9.2 and streaming
Success !!
An update to the latest Mandrake Apache2 security update packages has solved the streaming problem! And perhaps the memory leak problem as well. I will keep the system up to test.
An update to the latest Mandrake Apache2 security update packages has solved the streaming problem! And perhaps the memory leak problem as well. I will keep the system up to test.