Hi Philip,
On my system, scaling the image stream, in the watchfeed view for example, is not working correctly. If I select a larger scale the frame with the image scales in width, but the height stays the same. So the lower part of the image cannot be seen. It is the same wether viewed from mozilla with native streaming, or from IE with cambozola.
Is anyone else having this problem?
Ross Melin
Scaling the streaming image
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: Scaling the streaming image
Hi Ross,
This issue is mentioned in the 'What's New' section in the README in the following excerpt
o Scaleable Streams. Event and monitor streams can now be scaled to a certain extent allowing you to view at a different resolution than that captured. This area may be somewhat incomplete especially in terms of monitoring at a higher screen size where the frame is not adjusted properly.
Basically, the ability to scale up the live streams was included only because upscaling was already done for events and it was more of a pain to leave it out. So the frame does not get enlarged as you have discovered. This will be completed in the next version but for now you might be able to hand craft it by changing the 'onChange' event handler for the 'scale' selection box to target the frameset (zm_html_view_watch.php) rather than itself. Then if you add a small calculation to the frame height calculation to take account of the new scale it might work.
Phil,
This issue is mentioned in the 'What's New' section in the README in the following excerpt
o Scaleable Streams. Event and monitor streams can now be scaled to a certain extent allowing you to view at a different resolution than that captured. This area may be somewhat incomplete especially in terms of monitoring at a higher screen size where the frame is not adjusted properly.
Basically, the ability to scale up the live streams was included only because upscaling was already done for events and it was more of a pain to leave it out. So the frame does not get enlarged as you have discovered. This will be completed in the next version but for now you might be able to hand craft it by changing the 'onChange' event handler for the 'scale' selection box to target the frameset (zm_html_view_watch.php) rather than itself. Then if you add a small calculation to the frame height calculation to take account of the new scale it might work.
Phil,
Re: Scaling the streaming image
Hi Philip,
Thanks for the reply, and apologies for not reading the documention carefully. I look forward to the next version. For now I have found a solution that meets my needs. In the MonitorStream frame I set scrolling=no to scrolling=auto . This allows me to "zoom in" and then scroll to any portion of the image.
Best regards,
Ross Melin
Thanks for the reply, and apologies for not reading the documention carefully. I look forward to the next version. For now I have found a solution that meets my needs. In the MonitorStream frame I set scrolling=no to scrolling=auto . This allows me to "zoom in" and then scroll to any portion of the image.
Best regards,
Ross Melin
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: Scaling the streaming image
Ok Ross, thanks for posting that. I will look at applying that perhaps as an interim.
Phil,
Phil,
Re: Scaling the streaming image
Hi all,
Of course when demonstrating ZM for a potential client, I opened a watch window, and the first question he asked was "OK how do I view that fullscreen?" I was at a loss for an answer. But I have since found a nice little trick that gets the job done.
If you are using mozilla its really simple. Right click in the streaming image frame. From the menu that pops up select 'This Frame -> Open Frame in a New Window. Then you can maximize the window and select whatever scale fits best. If you have applied the hack from the above post you can zoom in to 4X and scroll for a really close look at any part of the image.
If you want to do this from IE you have to enter in the address bar something like:
http://camserver/zm/index.php?view=watchfeed&mid=2
Once you have the view you want just bookmark it.
One nice thing about this view is that if the stream stops, as it sometimes does on my system, clicking the reload/refresh button on the browser window starts it back up.
Hope someone finds this useful.
:)
Ross
Of course when demonstrating ZM for a potential client, I opened a watch window, and the first question he asked was "OK how do I view that fullscreen?" I was at a loss for an answer. But I have since found a nice little trick that gets the job done.
If you are using mozilla its really simple. Right click in the streaming image frame. From the menu that pops up select 'This Frame -> Open Frame in a New Window. Then you can maximize the window and select whatever scale fits best. If you have applied the hack from the above post you can zoom in to 4X and scroll for a really close look at any part of the image.
If you want to do this from IE you have to enter in the address bar something like:
http://camserver/zm/index.php?view=watchfeed&mid=2
Once you have the view you want just bookmark it.
One nice thing about this view is that if the stream stops, as it sometimes does on my system, clicking the reload/refresh button on the browser window starts it back up.
Hope someone finds this useful.
:)
Ross
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: Scaling the streaming image
Hi Ross,
Thanks for the tip.
You might be pleased to know that resizing the streaming image windows when scaling the stream is now fixed in the next version, out in a couple of days. You can still do your trick though of course.
Cheers,
Phil,
Thanks for the tip.
You might be pleased to know that resizing the streaming image windows when scaling the stream is now fixed in the next version, out in a couple of days. You can still do your trick though of course.
Cheers,
Phil,