A bug? 1.29.0 -- stretched image on rotated streams
-
- Posts: 494
- Joined: Sun Jun 29, 2014 1:12 pm
- Location: Melbourne, AU
Re: A bug? 1.29.0 -- stretched image on rotated streams
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.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Random Selection of Cameras (Dahua and Hikvision)
Re: A bug? 1.29.0 -- stretched image on rotated streams
No... this particular camera is rotated physically.
You spoony bard!
-
- Posts: 494
- Joined: Sun Jun 29, 2014 1:12 pm
- Location: Melbourne, AU
Re: A bug? 1.29.0 -- stretched image on rotated streams
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.
Does seem odd that you have to rotate and change the image dimensions around to make it work.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Random Selection of Cameras (Dahua and Hikvision)
Re: A bug? 1.29.0 -- stretched image on rotated streams
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.
-
- Posts: 494
- Joined: Sun Jun 29, 2014 1:12 pm
- Location: Melbourne, AU
Re: A bug? 1.29.0 -- stretched image on rotated streams
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.
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.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Random Selection of Cameras (Dahua and Hikvision)
Re: A bug? 1.29.0 -- stretched image on rotated streams
Will these updates make it to the PPA soon?
Re: A bug? 1.29.0 -- stretched image on rotated streams
Bump - hoping someone has an answer about whether this will make it to any updates soon...
-
- Posts: 494
- Joined: Sun Jun 29, 2014 1:12 pm
- Location: Melbourne, AU
Re: A bug? 1.29.0 -- stretched image on rotated streams
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.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Random Selection of Cameras (Dahua and Hikvision)
Re: A bug? 1.29.0 -- stretched image on rotated streams
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!
You spoony bard!