Hello again and sorry for this noise....
i'm better understanding my problem and i try to explain
it again....
I can't get an image from an axis2100 into any
zm monitor window)
If i issue a request like the one below directly in the browser:
http://130.186.7.229/cgi-bin/nph-zms?monitor=3
(mostly the same "img src" tag in the monitor window),
i get a save dialog for a BIN file.
If I save the file it grows continuously: the http response is
probably a streamed movie, i guess, and my browser
don't know how to manage it. Isn't it?
Now:
1) why do i get a stream instead of an image? I specify
/axis-cgi/jpg/image.cgi as image location. And this location
works and give me an image if issued as a standalone request in the browser... (so it should not depend on the camera)
2) where can i tell zm to treat it as an image and not a stream.
Zm is able to get the image in "zones" panel (where the image is opened
with a javascript instead of using nph-zms) !
3) supposing it's a jpeg stream, do i need cambozola to view it with
mozilla-firefox ?
Thanks again
Roberto
Question about images and nph-zms ...
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
you can view the stream in firefox without cambazola, this is used in ie to display the stream. If you remove the maxfps and chnage jpeg to single you should be able to get a single jpeg image and refresh when required. The axis path will only work when getting images from the camera directly not of your zm server that uses zms to stream images.
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
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
-
- Posts: 48
- Joined: Tue Mar 21, 2006 1:37 pm
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: Question about images and nph-zms ...
Because you are not looking at an image from your Axis cam (or you could just use the Axis url). You are looking at a continuous stream of images from ZM. These images may have been captured as single jpegs but ZM is streaming them out continuously, though of course you can also view then as individual images also.occhiostanco wrote:1) why do i get a stream instead of an image? I specify
/axis-cgi/jpg/image.cgi as image location. And this location
works and give me an image if issued as a standalone request in the browser... (so it should not depend on the camera)
If you add "mode=single" to your nph url then it will just return a single image.occhiostanco wrote:2) where can i tell zm to treat it as an image and not a stream.
Zm is able to get the image in "zones" panel (where the image is opened
with a javascript instead of using nph-zms) !
No, FF can view mpjpeg streams without any plugins.occhiostanco wrote:3) supposing it's a jpeg stream, do i need cambozola to view it with
mozilla-firefox ?
Phil