VionetoVioneto
Back to the magazine

VIONETO MAGAZINE Playback & technology

Understand pixel and display aspect ratios in video

720 by 540 stored pixels can appear as 16:9. A separate file test shows why pixel dimensions, pixel aspect ratio, and actual display must be evaluated independently.

Our own calculation: both video files have a resolution of 720 by 540 pixels. With a pixel aspect ratio of 4:3, the displayed size is 960 by 540 pixels, equivalent to 16:9.
Freely generated geometric model; no claim about a specific historical video format.Image: Vioneto · original illustration

A circle suddenly appears oval in the video. Before you widen the player frame on the website, check the source file: the stored number of pixels is not always the same as the aspect ratio in which it should be displayed. A misinterpretation cannot be reliably explained or corrected simply by adding an appropriate outer border.

Adobe distinguishes between the aspect ratio of the image frame and the aspect ratio of individual pixels. Square pixels have a 1:1 ratio. For non-square pixels, an additional specification is needed to interpret the pixel aspect ratio. Therefore, a program must consider both the raster dimensions and this additional specification.

Name the three dimensions

  • Pixel dimensions: the number of stored image points, for example 720 times 540.
  • Pixel aspect ratio: the ratio of the width to the height of an interpreted pixel. Adobe refers to it as PAR; the field we read in our test from FFmpeg is called sample_aspect_ratio, abbreviated SAR.
  • Aspect ratio: the width to height ratio of the displayed image. In the FFmpeg excerpt, it is referred to as display_aspect_ratio, abbreviated as DAR.

For our fully utilized rectangular grid, the calculation is: Display aspect ratio = stored width ÷ stored height × pixel aspect ratio. This is a helpful formula for this model. Historical video formats may have their own specifications regarding the actually active image area; therefore, a universal correction method cannot be derived solely from resolution.

Two separate files containing the same image data

We first created a custom graphic featuring a circle and a square at 960 x 540 pixels. This graphic was horizontally scaled down to 720 x 540 pixels. From this, two silent, two-second H.264 videos were generated, each containing 50 frames. Both videos retain the same pixel grid and produce exactly identical YUV image data after complete decoding.

The first file has a pixel aspect ratio of 4:3. Its calculation yields 720 ÷ 540 × 4 ÷ 3 = 16 ÷ 9. The second file has a 1:1 pixel aspect ratio and results in a 4:3 display aspect ratio. This is a freely chosen geometric model, not a description of a PAL or other recording format.

In the standard local Chrome browser, both files were loaded side by side with a width of 480 CSS pixels each. The first view was 270 pixels high, while the second was 360 pixels high. In the first version, the circle appeared as in the original model, whereas in the second version it appeared horizontally compressed. The browser reported intrinsic sizes of 960 by 540 pixels and 720 by 540 pixels, respectively. These display dimensions are therefore not identical to the stored pixel grid in either case.

The same decoded test pattern is displayed once in a 16:9 aspect ratio and once in a 4:3 aspect ratio. On the left, circles and squares appear as in the original model; on the right, they are horizontally stretched.
Illustrative arrangement of the same actual decoder image; native Chrome test confirmed both image formats.Image: Vioneto · original illustration

Distinguish interpreting and converting

The actually read native FFmpeg help describes setsar as setting the sample or pixel aspect ratio. Such a specification initially describes only the geometry; it does not add any image details. In our test, the display changed despite identical decoded image data.

An edition with square pixels may additionally require an actual conversion of pixel dimensions. For geometrically accurate representation of our model, a 960 by 540 at a 1:1 aspect ratio is the appropriate mapping. Simply labeling the same 720 by 540 resolution as 1:1 was instead precisely the distorted counterpart. A separate working copy helps make such variations comparable and traceable.

Investigate a distorted source deliberately

  1. Record the source grid and full field names for pixel and display aspect ratios.
  2. On an appropriate subject, check what actual shape is expected; a random face alone is not a reliable measurement object.
  3. Check the interpretation in the editing program before altering the sequence or website frame.
  4. When converting raster sizes and pixel aspect ratios, define them together.
  5. View the new file in the intended player and retrieve the source version.

A correct pixel aspect ratio does not determine whether a website layout is cropped or stretched. These are additional considerations. In their own comparison, both browser views used the same width and automatic height, keeping the two image geometries visible.

Check the external video dimensions on the website

A file's container and codec are different.

Sources and our own testing framework

Adobe Original Help read on October 30, 2026; FFmpeg option setsar verified from existing native documentation. Files and graphics are provided as example content. No real camera, Premiere session, historical format standard, or general device compatibility was tested.

Adobe Premiere: Aspect Ratios

FFmpeg: SAR filter reference for setsar

Topics

Sources and further reading

  1. https://helpx.adobe.com/premiere/desktop/edit-projects/intro-to-editing/aspect-ratios.html
  2. https://www.ffmpeg.org/ffmpeg-filters.html