Strange corruption when images are rotated 90 or 270 degrees

Support and queries relating to all previous versions of ZoneMinder
Locked
katydid
Posts: 4
Joined: Mon Apr 26, 2004 12:22 pm
Location: Katy, Texas, USA

Strange corruption when images are rotated 90 or 270 degrees

Post 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]
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
tommy
Posts: 45
Joined: Sun Aug 17, 2003 2:58 am

Post 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.
Locked