Log in

View Full Version : Question about autocrop tuning...


therealjoeblow
18th March 2006, 22:23
I want to encode a 1280x1088 transport stream that has and 8-pixel grey bar at the bottom that I want to crop off. Target resolution is 960 wide by whatever AutoGK resizes it to. Here's what I tested

-When I encode with no cropping it ends up at 960x544
-When I crop 4 from the bottom it also ends up at 960x544
-When I crop 8 from the bottom it also ends up at 960x544
-When I crop 12/bottom and 4/top it ends up at 960x528

Does this mean that if I crop in less than 16 pixel steps AutoGK will just resize whatever is left over to even multiples of 16, and so those cases simply have more aspect ratio error, and if I crop in even steps of 16 pixels then the aspect ratio error is eliminated (or minimized)?

IE is the last case above the best way - lose the extra 4 pixels each at the top and bottom (plus the surplis 8 pixel grey bar at the bottom that was the object), but perserve the aspect ratio?

len0x
19th March 2006, 01:43
Does this mean that if I crop in less than 16 pixel steps AutoGK will just resize whatever is left over to even multiples of 16, and so those cases simply have more aspect ratio error, and if I crop in even steps of 16 pixels then the aspect ratio error is eliminated (or minimized)?


no, that means that if you don't crop in steps of 16 then more cropping will be done from other sides to compensate for AR errors, but you always guaranteed to have the minimal AR error. (and btw, its not the cropping that its done in mod 16, but rather resizing).