DAR: Display Aspect Ratio , 可以通过MediaInfo获取. 为16:9 或 4:3.
SAR: Storage Aspect Ratio, 片源每帧的width/height值.
PAR: Pixel Aspect Ratio. 1:1 表示 square pixels . 表示每个像素的宽高比.
相互的关系:
DAR = SAR * PAR.
PAR = DAR / SAR.
情形举例:
假设一个文件的SAR为5:4, WxH为60x48, DAR为4:3[60:45]. 则按照上式, PAR=16/15. 即每个像素的宽高比为16:15.
将一个60x48的矩形放入一个60x45的矩形. 有两种选择:
a. 满足宽: 60x45, 高压缩了3个像素. 每个像素减少的比例为(48-45)/48 = 1/16. 即每个像素的宽高比为16:15.
b. 满足高: 64x48, 宽超出了4个像素, 不考虑.
疑问:
数字信号显示时, PAR为1, 是否只需考虑DAR即可?
Video Format (WxH) | Name | Storage Aspect Ratio (W:H) | Pixel aspect ratio (W:H) (Standard 4:3) | Pixel aspect ratio (W:H) (Anamorphic 16:9) | Description |
720×576 | 576i | 5:4 | 16:15 | 64:45 | Used on D1 /DV PAL (ITU-R 601 ) |
704×576 | 576p | 11:9 | 12:11 | 16:11 | Used on EDTV PAL |
720×480 | 480i | 3:2 | 8:9 | 32:27 | Used on DV NTSC |
720×486 | 480i | 40:27 | 9:10 | 6:5 | Used on D1 NTSC (ITU-R 601 ) |
704×480 | 480p | 22:15 | 10:11 | 40:33 | Used on EDTV NTSC |
The 704 vs. 720 horizontal resolution is due to overscan (nominal analogue blanking), and 480 vs. 486 (NTSC vertical) is due to rounding.
src:
http://en.wikipedia.org/wiki/Pixel_aspect_ratio#pardigital
http://en.wikipedia.org/wiki/Standard-definition_television#Resolution