Log in

View Full Version : How to set output aspect ratio in Megui ?


St Devious
13th June 2009, 03:19
Trying to encode a FRAPS video with input resolution of 1280x1024. I'm trying to upscale it to 1920x1080 so that it gets HD on youtube and gets best quality. How can I set the output ratio ?

Using this script

clip = AVISource("D:\Recorded Videos\wic 2009-05-30 00-13-56-17.avi", audio=true)
image = ImageSource("D:\Recorded Videos\Logo.jpg")
Overlay(clip, image, x=977, y=0, opacity = 0.3)
Lanczos4Resize(1920,1080) # Lanczos4 (Sharp)

Kurtnoise
13th June 2009, 10:10
load your AVI in the AVS Script Creator, check "Clever anamorphic encoding", edit the script in the tab to add extra lines and save it.

nakTT
13th June 2009, 18:40
load your AVI in the AVS Script Creator, check "Clever anamorphic encoding", edit the script in the tab to add extra lines and save it.
Can you give an example on what to put in the edited script? I'm newbies and also don't know how to set output aspect ration in MeGUI.

Thank you in advance.

Kurtnoise
13th June 2009, 19:09
Most of the time, you don't have to add something in the edit tab...it was addressed to St Devious to have the same script.

nakTT
13th June 2009, 20:49
Most of the time, you don't have to add something in the edit tab...it was addressed to St Devious to have the same script.
I see. Then how do I change my aspect ratio say from 4/3 (input) to say 16:10 (output)?

Thank you in advance.

Sharktooth
14th June 2009, 02:59
it's not possible. not because megui cant do it, but coz it's not possible unless you want a completely stretched picture...

St Devious
14th June 2009, 03:01
it's not possible. not because megui cant do it, but coz it's not possible unless you want a completely stretched picture...

There must be some other way to do it ?

Sharktooth
14th June 2009, 03:37
pan&scan (for 16:9 to 4:3) and cropping (for the opposite).
just changing the AR will stretch the picture.

St Devious
14th June 2009, 03:40
pan&scan (for 16:9 to 4:3) and cropping (for the opposite).
just changing the AR will stretch the picture.

If I want to stretch the picture so that it doesn't have the black bars on sides when viewed on youtube and don't care about if it gets stretched.

Sharktooth
14th June 2009, 03:41
then crop the black bars (if any) and resize the video.

St Devious
14th June 2009, 03:55
then crop the black bars (if any) and resize the video.

the original video is 1280x1024 which is a 5:4 AR IIRC. Youtube displays it with black bars on sides.

If I resize it to 1280x720, would that automatically change the AR in all players ?

Sharktooth
14th June 2009, 04:02
you need to resize the video to fit it into a 16:9 frame.
so, basically if you do that the picture will fill a 16:9 frame but it will be stretched.
a correct method would be to crop the exceeding lines to mantain the picture aspect... if you dont care about the aspect then resize it.

St Devious
14th June 2009, 04:07
you need to resize the video to fit it into a 4:3 frame.
so, basically if you do that the picture will fill a 4:3 frame but it will be stretched.
a correct method would be to crop the exceeding lines to mantain the picture aspect... if you dont care about the aspect then resize it.

But youtube doesn't do 4:3 anymore.

nakTT
14th June 2009, 06:42
it's not possible. not because megui cant do it, but coz it's not possible unless you want a completely stretched picture...
That exactly what I wanted to do. The oldies movies that I have on my VCD collection has already been forced to 4:3 to fit my country TV set (since no wide screen during 80s) so it looks narrow than it should be because its not a crop but instead forced to 4:3. Now I want to forced it back to 16:10 because I want to play it with my PC and I dont want to have to go to the aspect ration and change it to 16:10 (using VLC) everytime I watch the movies.

ASXGui allow me to set the output aspect ratio easily but I have issue with sound when encoding my .mpg file with it. That is why I turn back to MeGUI.

Thank you in advance.

Sharktooth
14th June 2009, 14:12
St Devious... SORRY! i meant 16:9! (i will edit the message to avoid confusion)

Sharktooth
14th June 2009, 14:16
nakTT read again the whole thread.