i needed to rotate the zms streaming image, because my mobile has a resolution of 240x320 and i want to have it fullscreen
(see http://support.yoics.com/viewtopic.php?t=22)
so i added another parameter to zms and used phils rotate function. no big thing, but might be useful.
the patch for 1.22.3 is available at:
http://www.liquid-co.de/pub/zm/patch/zms_rotate.patch
cheers,
tim
zms rotate patch
zms rotate patch
Code: Select all
$> man woman
$> Segmentation fault (core dumped)
I like the sound of this as I too occasionally access ZM via my PDA. Currently I'm rotating the screen every time but to not have to would obviously be a bonus.
I'm completely ignorant when it comes to patching so could you briefly summarise what I have to do to implement this? Also, can you confirm it only changes things when connecting via the PDA/mobile and not in 'normal' use? (I currently use the format=xhtml URL suffix when using the PDA if that's relevent)
Mathew
I'm completely ignorant when it comes to patching so could you briefly summarise what I have to do to implement this? Also, can you confirm it only changes things when connecting via the PDA/mobile and not in 'normal' use? (I currently use the format=xhtml URL suffix when using the PDA if that's relevent)
Mathew
with the patch you are able to rotate a picture just for a single stream, and only the stream (not the webinterface picture, not the camera input).
e.g. you have
(note the rotate option!)
which will result in a 90° rotated multipart jpeg stream. as is said, i use it with a small java application, which just pulls and displays the image. i avoid to rotate the image on the "thin-client".
if you want to give it a shot, you need to download the patch into the source directory where you are building zm from. then run
and configure, make.... as usual
maybe it would be useful to get access to the rotated image via the webinterface (i.e. for PDA users). could be a flag for each user: "degrees to rotate streams"
e.g. you have
Code: Select all
http://localhost/cgi-bin/nph-zms?mode=jpeg&monitor=1&scale=50&maxfps=5&user=foo&pass=bar&rotate=90
which will result in a 90° rotated multipart jpeg stream. as is said, i use it with a small java application, which just pulls and displays the image. i avoid to rotate the image on the "thin-client".
if you want to give it a shot, you need to download the patch into the source directory where you are building zm from. then run
Code: Select all
patch -p1 < zms_rotate.patch
maybe it would be useful to get access to the rotated image via the webinterface (i.e. for PDA users). could be a flag for each user: "degrees to rotate streams"
Code: Select all
$> man woman
$> Segmentation fault (core dumped)
no rotations needed?
is there a reason why this mini-feature didn't make its way into the code? i always have to force monex to patch it into the suse RPMs
my PDA cant rotate its screen. so if i use the PPC-Viewer - without rotating the picture - i have several black areas.
my PDA cant rotate its screen. so if i use the PPC-Viewer - without rotating the picture - i have several black areas.
Code: Select all
$> man woman
$> Segmentation fault (core dumped)
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
update needed
The patch won't work on 1.23.2
I need to make an update... Don't call use - we call you
I need to make an update... Don't call use - we call you
Code: Select all
$> man woman
$> Segmentation fault (core dumped)
New patch for 1.23.3
Code: Select all
$> man woman
$> Segmentation fault (core dumped)