Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th August 2018, 21:39   #1  |  Link
bradwiggo
Registered User
 
Join Date: Jun 2018
Posts: 51
MEGUI is squashing the aspect ratio

MEGUI is squashing the aspect ratio of a video file I am encoding. The file is a 720 by 576 file that has black borders so the actual videos part is running at an aspect ratio of 2.39:1, however, after encoding the video is squashed horizontally. I think what is happening is the black bars are being removed but the resolution is staying the same, so the video is being stretched vertically.

How do I fix this?
bradwiggo is offline   Reply With Quote
Old 18th August 2018, 00:38   #2  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
I don't think MeGUI is responsible. This is the AviSynth forum and AviSynth knows nothing about aspect ratios. For it, everything is 1:1.

Did you set the DAR for 16:9?
manono is offline   Reply With Quote
Old 18th August 2018, 01:37   #3  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
You could try this if you think it is of use

Code:
Function SignalDAR(float DAR){ # Signal DAR for MEGUI (Name change from SetDar)
    Assert(DAR>0.0, "SignalDAR: Error, DAR must be greater than zero")
    Global MeGUI_darx=Round(1000*DAR) Global MeGUI_dary=1000
}
Function SignalDAR2(int DARX,int DARY){
    Assert(DARX>0 && DARY>0, "SignalDAR2: Error, DARX and DARY must be greater than zero")
    Global MeGUI_darx=DARX Global MeGUI_dary=DARY
}
At end of Avs Script.
Code:
SignalDar2(239,100)
Return Last
EDIT: https://en.wikibooks.org/wiki/MeGUI/...iSynth_Scripts
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 18th August 2018 at 01:54.
StainlessS is offline   Reply With Quote
Old 18th August 2018, 09:10   #4  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,580
Quote:
Originally Posted by bradwiggo View Post
How do I fix this?
Given the resolution, it could be a DVD rip.

Some need to be encoded with a SAR of 64:45 in the command line of x264 or the encoder you are using.

Try and tell me.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 25th August 2018, 13:31   #5  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 476
Just remux it and set the DAR there.
kuchikirukia is offline   Reply With Quote
Old 4th September 2018, 05:16   #6  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 556
An AviSynth-script that shows what SAR you should set for DVD:s is here,
https://forum.doom9.org/showthread.p...52#post1849752
Forteen88 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.