Page 2 of 2

Re: A bug? 1.29.0 -- stretched image on rotated streams

Posted: Sat Feb 13, 2016 6:56 am
by SteveGilvarry
If so only rotated in one place so camera or zoneminder, if in camera then width and height would be like you are doing, but orientation should be normal. If in zm then these settings are correct and camera set to 0.

Re: A bug? 1.29.0 -- stretched image on rotated streams

Posted: Sat Feb 13, 2016 7:06 am
by rayrayray
No... this particular camera is rotated physically.

Re: A bug? 1.29.0 -- stretched image on rotated streams

Posted: Sat Feb 13, 2016 7:49 am
by SteveGilvarry
Ok so testing on my camera which is normally 1920x1080 in normal orientation, as soon as I applied Rotate left or right in Orientation on the source tab it stretched the image. To fix it I have to swap the image to 1080x1920 which then works. I thought it was just a rotation on display but it must be at a lower level as the timestamp is being applied to rotated images.
Does seem odd that you have to rotate and change the image dimensions around to make it work.

Re: A bug? 1.29.0 -- stretched image on rotated streams

Posted: Sat Feb 13, 2016 8:02 am
by McFuzz
That's the problem we are all facing I think - if I have no rotation enabled, the width is 640 and height is 480; if I rotate left - they flip, width is 480 and height is 640 - that's when the stretching occurs. In the last trusty rev of 1.29.0 as well as in 1.28.109 that was never a problem.

Re: A bug? 1.29.0 -- stretched image on rotated streams

Posted: Sat Feb 13, 2016 8:37 am
by SteveGilvarry
OK so this is a bug in 1.29.0, actually the width() and Height() functions have been added to fix it. I was on 1.29 and to make orientation work I had to both rotate left and swap width and height.
1.29.0
https://github.com/ZoneMinder/ZoneMinde ... onitor.php
Master
https://github.com/ZoneMinder/ZoneMinde ... onitor.php
Updating to Master and I can change orientation and streaming works fine without any stretching.

Re: A bug? 1.29.0 -- stretched image on rotated streams

Posted: Fri Feb 19, 2016 5:40 pm
by McFuzz
Will these updates make it to the PPA soon?

Re: A bug? 1.29.0 -- stretched image on rotated streams

Posted: Thu Mar 03, 2016 8:31 pm
by McFuzz
Bump - hoping someone has an answer about whether this will make it to any updates soon...

Re: A bug? 1.29.0 -- stretched image on rotated streams

Posted: Fri Mar 04, 2016 5:49 am
by SteveGilvarry
Depends which PPA you are on, if release one then it will be in 1.30, which is planned soon, given the guys want to release monthly. If on Zoneminder-master PPA it may already be there, not sure when it was last built.

Re: A bug? 1.29.0 -- stretched image on rotated streams

Posted: Thu Aug 25, 2016 1:21 pm
by rayrayray
Sorry to bump an old thread, but finally got my 1.30.0 server working, and this issue is totally fixed with no hacks necessary. Thanks!