noaxark
19th April 2008, 13:36
So I've been using this guide (http://mewiki.project357.com/wiki/Guides:Basic_Guide) to convert a DVD to x264. The guide doesn't cover aspect ratios very well, and as I've found out, neither does google (at least with the keywords I'm using).
I'm encoding Bubba Ho-Tep, which is in a 16:9 AR with 6 pixels of of black at the top and 10 at the bottom. The avisynth script is as follows:
# Set DAR in encoder to 2357 : 1250. The following line is for automatic signalling
global MeGUI_darx = 2357
global MeGUI_dary = 1250
DGDecode_mpeg2source("E:\Temp\dvdriptemp\VTS_01_1.d2v",info=3)
ColorMatrix(hints=true)
#deinterlace
crop( 0, 6, 0, -10)
The problem is that no matter which Clever (TM) Anamorphic encoding setting I use -- resize to mod16, non-mod16 (as in the script above), crop to mod16 -- the black bars in the end product are too large. But if I manually change the darx and dary values in the AVS script to 853 and 464 respectively (numbers construed from my pretty much guessing what calculations to use), the black bars match those of the DVD as far as I can tell.
Now, I don't like the look of that odd number (853), and I certainly would prefer that MeGUI did the math instead of the dysfunctional duo that is run->calc and I. So what am I doing wrong?
I'm encoding Bubba Ho-Tep, which is in a 16:9 AR with 6 pixels of of black at the top and 10 at the bottom. The avisynth script is as follows:
# Set DAR in encoder to 2357 : 1250. The following line is for automatic signalling
global MeGUI_darx = 2357
global MeGUI_dary = 1250
DGDecode_mpeg2source("E:\Temp\dvdriptemp\VTS_01_1.d2v",info=3)
ColorMatrix(hints=true)
#deinterlace
crop( 0, 6, 0, -10)
The problem is that no matter which Clever (TM) Anamorphic encoding setting I use -- resize to mod16, non-mod16 (as in the script above), crop to mod16 -- the black bars in the end product are too large. But if I manually change the darx and dary values in the AVS script to 853 and 464 respectively (numbers construed from my pretty much guessing what calculations to use), the black bars match those of the DVD as far as I can tell.
Now, I don't like the look of that odd number (853), and I certainly would prefer that MeGUI did the math instead of the dysfunctional duo that is run->calc and I. So what am I doing wrong?