# HG changeset patch # User gpoirier # Date 1115562653 0 # Node ID d2180f62e0e8d136c6e6ba771ec3e82315f479ba # Parent 7259fe94381333dcb5f92d8b4c09fbdd86580cc0 explains what ARa is and a tries to improve the readability of the paragraph about X and Y resolution diff -r 7259fe943813 -r d2180f62e0e8 DOCS/xml/en/mencoder.xml --- a/DOCS/xml/en/mencoder.xml Sun May 08 12:30:07 2005 +0000 +++ b/DOCS/xml/en/mencoder.xml Sun May 08 14:30:53 2005 +0000 @@ -1185,6 +1185,9 @@ Wc and Hc are the width and height of the cropped video, + ARa is the displayed aspect ratio, which usually is 4/3 or 16/9, + + PRdvd is the pixel ratio of the DVD which is equal to 1.25=(720/576) for PAL DVDs and 1.5=(720/480) for NTSC DVDs, @@ -1195,6 +1198,7 @@ Then, you can compute the X and Y resolution, according to a certain Compression Quality (CQ) factor: ResY = INT(SQRT( 1000*Bitrate/25/ARc/CQ )/16) * 16 + and ResX = INT( ResY * ARc / 16) * 16