Hello, if I start out with a 624/352 avi (square pixels) and want to encode it to NTSC dvd, what resolution must I set in avisynth (along with borders if necessary) so that HCenc will encode it with the correct aspect ratio ? I did some calculations, 624/352 = 1.77, therefore for a 4:3 TV, 640/1.77 = 362. So in avisynth, Avisource("j:\test.avi") LanczosResize(720,362) AddBorders(0,59,0,59 ) ConvertToYV12() Is this correct ? As an experiment I fed the avi in Tmpgenc 2.5 directly and let Tmpg pick the resolution (as it handily does) Tmpgenc rounded up the size to 368, so I modified my avisynth like this: Avisource("j:\test.avi") LanczosResize(720,368) AddBorders(0,56,0,56 ) ConvertToYV12() And reran HCenc. So what is the rule for manual resize? Calculate as I did, then round up to the nearest 8 divisor ?