logo Sign In

addborders() help in avisynth

Author
Time
I have this file,it is 1:85:1 16:9 widescreen,the Xvid video itself is 704x384,I want to encode it to anamorphic widescreen using CCE & Avisynth,now using Citizens aspect ratio calculator i put in the 704x384,and for source I used NTSC Anamorphic 16:9,and what it gave me was this:

NTSC Anamorphic (16:9) = 720,393
Lanczos4Resize(720,393).Addborders(0,43,0,44)
does this seem right?is this 1:85:1?
or should I use:

source PC normal (1:1)
NTSC Anamorphic (16:9) = 720,477
Lanczos4Resize(720,477).Addborders(0,1,0,2)

thanks for any and all help
DJ

Author
Time
Assuming the XviD is sized correctly, it should have a 1:1 pixel aspect ratio.

704/384 = 1.83, so it's not far off 1:1.85. (The aspect ratio of XviDs could be out by up to 3% because of the requirement to use mod16 resolutions.)

The second calculation is correct if the AR is supposed to be 1:1.83.
If it is supposed to be 1:1.85, then Lanczos4Resize(720,473).Addborders(0,3,0,4) would be correct.

Personally I would keep it simple and just use Lanczos4Resize(720,480) - because I have a pragmatic "that's close enough" approach to such calculations!

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here