PDA

View Full Version : Weird MeGUI Resize Error


TNHitokiRi
12th April 2007, 04:08
I have an avs that looks like
# Set DAR in encoder to 37 : 20. The following line is for automatic signalling
global MeGUI_darx = 37
global MeGUI_dary = 20
DGDecode_mpeg2source("G:\The Office S03E19 - 1080i.d2v")
tfm(order=1).tdecimate()
crop( 0, 0, -2, -4)
Trim(1000,2000)
LanczosResize(1280,720) # Lanczos (Sharp)
#denoise


and it yields perfect 1280x720 picture when encoding with virtualdub, and playing the avs file itself. However, when I use megui to encode, I get a resolution of 1332x720. Any ideas why?

check
12th April 2007, 05:07
Well firstly, what aspect ratio is the movie? Is it 1.77 (16/9) or is it 1.85:1?
When using the avs creator, you told MeGUI it was 1.85:1, and MeGUI writes this info to the container when it muxes. The video is still 1280x720, but the video renderer will read the AR flag and stretch it to be shown at 1.85:1. If this AR is incorrect, you can remux the file with mkvtoolnix or mp4box and pass them the correct aspect ratio.