How to calculate
Divide the display width-to-height ratio by stored pixel width divided by stored pixel height. A result of 1:1 means each pixel is square.
Worked example
Use Original width (px) 720 · Original height (px) 480 · Display ratio width 4 · Display ratio height 3. The result is 8:9.
Input and result notes
Use active image dimensions for the portion of the video that maps to the display ratio.