md1032
10th May 2003, 00:51
What are the recommended resolutions for anamorphic (16:9) video? 640 · 480 pixels seems to be the favorite resolution for non anamorphic video encoded at the bitrates I use (mostly up to 90 minutes 23.976 FPS video at 700 MB), but in guides I’ve read a similar suggestion for anamorphic encodes is more rarely to be seen. The only one I’ve come across so far are in Zhentarim DivX’s general guidelines for encoding (http://guide.mellbin.org/zx.guideline.1.2.txt), where a resolution of 640 · 352 or 368 depending on the cropping (initially only a resolution of 640 · 352 pixels was suggested, so this post will only discuss that resolution) is suggested, along with 640 · 480 pixels for 4:3 movies.
What puzzles me is that the total area of the anamorphic resolution is quite smaller than that of the non-anamorphic resolution. 640 · 480 pixels seems to give great results for many people, so shouldn’t an ideal anamorphic resolution be as close to the total amount of pixels in this resolution as possible, 640 · 480 = 307200 to be exact? The number of pixels in the suggested anamorphic resolution, however, is only 640 · 352 = 225280. That’s a difference of 81920 pixels or 36 per cent, which surely will affect the output in a noticeable (but I’m not certain of how, compared to non-anamorphic video) way.
If we were to find an anamorphic resolution where the total number of pixels is as close to 307200 as possible, we could set up a simple equation where the height is defined as x, the width is defined as the ratio of 640 to 352 multiplied with the height (x) and the product of these lengths equals that of 640 · 480. It would be like this:
x · (640 : 352) · x = 640 · 480
x^2 · (20 : 11) = 307200
x^2 = 307200 : (20 : 11)
x = (307200 : (20 : 11))^(1 : 2) = ~411
Since the DivX 5 codec requires the height to be a multiple of 2, we’ll round it off to 410, which gives the following width:
412 · (20 : 11) = ~745
We’ll lower this to 744, which is, as required by the codec, divisible by 4. This resolution, 744 · 412, has an aspect error of 0.68% from the original 640 · 352, and the total amount of pixels is:
744 · 412 = 306528
which is only 672 pixels from 640 · 480.
However, since I haven’t seen this subject discussed in this detail anywhere else I confess I have a sneaking suspicion that I may be wrong altogether … feedback strongly appreciated. ;-)
What puzzles me is that the total area of the anamorphic resolution is quite smaller than that of the non-anamorphic resolution. 640 · 480 pixels seems to give great results for many people, so shouldn’t an ideal anamorphic resolution be as close to the total amount of pixels in this resolution as possible, 640 · 480 = 307200 to be exact? The number of pixels in the suggested anamorphic resolution, however, is only 640 · 352 = 225280. That’s a difference of 81920 pixels or 36 per cent, which surely will affect the output in a noticeable (but I’m not certain of how, compared to non-anamorphic video) way.
If we were to find an anamorphic resolution where the total number of pixels is as close to 307200 as possible, we could set up a simple equation where the height is defined as x, the width is defined as the ratio of 640 to 352 multiplied with the height (x) and the product of these lengths equals that of 640 · 480. It would be like this:
x · (640 : 352) · x = 640 · 480
x^2 · (20 : 11) = 307200
x^2 = 307200 : (20 : 11)
x = (307200 : (20 : 11))^(1 : 2) = ~411
Since the DivX 5 codec requires the height to be a multiple of 2, we’ll round it off to 410, which gives the following width:
412 · (20 : 11) = ~745
We’ll lower this to 744, which is, as required by the codec, divisible by 4. This resolution, 744 · 412, has an aspect error of 0.68% from the original 640 · 352, and the total amount of pixels is:
744 · 412 = 306528
which is only 672 pixels from 640 · 480.
However, since I haven’t seen this subject discussed in this detail anywhere else I confess I have a sneaking suspicion that I may be wrong altogether … feedback strongly appreciated. ;-)