Page 1 of 1

Strange corruption when images are rotated 90 or 270 degrees

Posted: Fri May 06, 2005 4:29 am
by katydid
I am running zoneminder v1.19.5. with 4 local monitors on /dev/video0 channels 0-3 All runs well until I rotate an image 90 or 270 degrees on say channel 1 whereupon all monitors AFTER the rotated monitor (channels 2,3) show a corrupted picture which looks like it has lost line sync.
[/img]

Posted: Fri May 06, 2005 9:25 am
by zoneminder
I think this is likely because the rotated image is determined to have dimensions of 240x320 for example rather than 320x240. This is passed into the bttv driver as the picture size when the first camera initialises but with single chip cards all channels must have the same basic picture attributes so all channels are getting data ordered in this way which is messing the latter ones up.

I _think_ that's probably whats happening anyway.

Phil

Posted: Fri May 27, 2005 2:50 am
by tommy
I also am using a single chip bttv card. I have at least one camera rotated 90 degrees all the time. The unrotated picture is 320x240. Just rotating the image in Monitor > Source produces the distortion you described ie: subsequent channels are messed up. Changing the source for the rotated camera to 240x320 fixed it for me.