Log in

View Full Version : New MeGUI Question


DigitalDivide
30th August 2006, 21:37
Hi, I'm still using the older .net1 version of MeGUI and am thinking of installing .net2 to move up. In the older version I had to manualy enter in the A/R for anamorphic encodes using the A/R calculater. Just wondering if this is still case with the new version?

Thanks

Sharktooth
31st August 2006, 01:15
The new version of MeGUI is deeply changed.
There is a completely new A/R management and a "Clever(tm) anamorphic encoding" option in the avisynth script creator.
I think you will be satisfied with the new version... ;)

DigitalDivide
31st August 2006, 03:04
Hey Sharktooth,

I just installed the latest version of MeGUI. I'm totally lost with anamorphic encodes. I think I figured it out. Here's what my script looks like...does it look right? It's a 2:35 NTSC film. I selected custom 2:35 for the DAR.

Also do I need to resize? I cropped to mod 16. Can I remove the Resize line or will it simply ignore it in this case?

# Set DAR in encoder to 141 : 46. The following line is for automatic signalling
global MeGUI_darx = 141
global MeGUI_dary = 46
DGDecode_mpeg2source("G:\Projects\U571\u571.d2v",info=3)
ColorMatrix(hints=true)
#blank deinterlace line
crop( 0, 54, 0, -58)

LanczosResize(720,368) # Lanczos (Sharp)
#denoise

Sharktooth
31st August 2006, 12:39
The scripts seems ok.
Resizing is needed only if the cropping doesnt hit a mod 16 res.
In your case it's not necessary coz 480-54-58 = 368.

frodeste
31st August 2006, 18:54
The scripts seems ok.
Resizing is needed only if the cropping doesnt hit a mod 16 res.
In your case it's not necessary coz 480-54-58 = 368.

I think this is an important point. MeGUI always adds a resize line, even though it not always is necessary. Will this line require more computation or effect quality, when the new and old size is the same?

Any comments to this?

DigitalDivide
31st August 2006, 20:31
I've been doing a little reading on some of the threads and I have a question regarding anamorphic encoding. I ran a job last night which is still running but when I created the job, I only had the following for anamorphic encoding in the avs script.
# Set DAR in encoder to 141 : 46. The following line is for automatic signalling
global MeGUI_darx = 141
global MeGUI_dary = 46

But from reading elsewhere I think I was supposed to set this in the preview as well. Is this correct? If it's only in the AVS script will the movie be encoded anamorphically?

Edit: When creating the project I used DGINDEX and used Force Film. Should I have done it this way or use MeGUI then click Analyse and do what it recommends?

DigitalDivide
1st September 2006, 00:06
Well obviously I did something right..and something wrong.. because when I click on the mkv file and select properties I can see the Display size for the movie is 1128x368. So the anamorphic encoding worked...however it's wrong. MeGUI set the following for cropped 720*368.

Set DAR in encoder to 141 : 46. The following line is for automatic signalling
global MeGUI_darx = 141
global MeGUI_dary = 46

My calculations indicate it should be 215:179.

When I watch the movie it looks really stretched horizontally. Too much so. Any ideas why MeGUI selected the wrong DAR?

DigitalDivide
1st September 2006, 00:06
Well obviously I didn't something right..and something wrong.. because when I click on the mkv file and select properties I can see the Display size for the movie is 1128x368. So the anamorphic encoding worked...however it's wrong. MeGUI set the following for cropped 720*368.

Set DAR in encoder to 141 : 46. The following line is for automatic signalling
global MeGUI_darx = 141
global MeGUI_dary = 46

My calculations indicate it should be 215:179.

When I watch the movie it looks really stretched horizontally. Too much so. Any ideas why MeGUI selected the wrong DAR?

berrinam
1st September 2006, 11:17
I think this is an important point. MeGUI always adds a resize line, even though it not always is necessary. Will this line require more computation or effect quality, when the new and old size is the same?

Any comments to this?
AviSynth will realise that the resize is a null-op, and just pass the frame straight through unmodified. Nothing is lost.

berrinam
1st September 2006, 11:18
Well obviously I did something right..and something wrong.. because when I click on the mkv file and select properties I can see the Display size for the movie is 1128x368. So the anamorphic encoding worked...however it's wrong. MeGUI set the following for cropped 720*368.

Set DAR in encoder to 141 : 46. The following line is for automatic signalling
global MeGUI_darx = 141
global MeGUI_dary = 46

My calculations indicate it should be 215:179.

When I watch the movie it looks really stretched horizontally. Too much so. Any ideas why MeGUI selected the wrong DAR?No idea, as it has always worked for me. Can you explain your calculations please? From what you've given me, I have no reason to trust your calculations any more than MeGUI's.

About setting the DAR in the preview: when MeGUI opens an AVS script, it loads the MeGUI_darx variables into the preview, so you only need to look there if you want to modify what MeGUI stores.

DigitalDivide
1st September 2006, 13:52
Hey Berrinam,

I got my AR calculations from the ARS Calculater from this thread
http://forum.doom9.org/showthread.php?t=106656&page=3

Most of my encodes using this calculater look good. I hope it's correct. Why is it soooo hard to get the DAR set?? I really wish there was an easy way. So is it a known issue with MeGUI that the DAR it sets is incorrect?

berrinam
1st September 2006, 14:18
No, I am not aware of such an issue. Again, I have had no problems with MeGUI's calculations, so I suspect something else is going wrong. How are you using MeGUI, excatly, with what sources?

DigitalDivide
1st September 2006, 15:16
Well I had the U571 NTSC DVD. Ripped it via DVD D, then ran DGINDEX (with Force Film selected) to create the Project withe AC3 Track.

I then opened up the AVS Script Creator from within MeGUI. Selected the DAR of Custom, 2:35, Clever Anamorphic, Resize to Mod 16, selected Preview, then croped to 720x368 took of 56 from top and bottom to get the 368.

Then went to the Editor tab which indicated the settings in my first post. That's it. Then created the job for the mkv file using HQ Slower profile.
# Set DAR in encoder to 141 : 46. The following line is for automatic signalling
global MeGUI_darx = 141
global MeGUI_dary = 46
DGDecode_mpeg2source("G:\Projects\U571\u571.d2v",info=3)
ColorMatrix(hints=true)
#blank deinterlace line
crop( 0, 54, 0, -58)

LanczosResize(720,368) # Lanczos (Sharp)
#denoise

berrinam
2nd September 2006, 02:26
Selected the DAR of Custom, 2:35.
There's your mistake. You selected 2.35, which means a DAR of 2.35 before cropping. If you leave it as what MeGUI autodetects (16:9 for this DVD), then it will give you a correct calculation.

I remember now that people have made this mistake before. I don't know what can really be done about it....