# same resolution but difference in display w.r.t. height and width

1. Guys,

I have 2 video files both having the same resolution 720x400.
But when played on vlc or on my dvd player, the actual height and width of the stream displayed on monitor/tv are different.
Both do not have any black bars in the video.
So in-spite having the same resolution, they appear differently w.r.t. height and weight.

Any explanation for it ?
2. DAR = PAR * SAR

DAR = Display Aspect Ratio, the final shape of the picture
PAR = Pixel Aspect Ratio, the shape of individual pixels
SAR = Storage Aspect Ratio, the frame dimensions

For example 16:9 NTSC DVD, PAR=40:33, SAR=704x480

DAR = PAR * SAR
DAR = 40:33 * 704:480
DAR = 40/33 * 704/480
DAR = 1.2121 * 1.4667
DAR = 1.7778 (16:9)

4:3 NTSC DVD: PAR=10:11, SAR=704x480
DAR = PAR * SAR
DAR = 10:11 * 704:480
DAR = 10/11 * 704/480
DAR = 0.9091 * 4.6667
DAR = 1.333 (4:3)

There is some argument over whether commercial DVDs contain the 4:3 or 16:9 image in the center 704x480 portion of the frame (with 8 pixels of padding at the left and right edges, or in the full 720x480 frame. In any case, the difference is only about 2 percent. If you want to assume the full 720x480 frame contains the 4:3 or 16:9 frame use pixel aspect ratios of 8:9 and 32:27 respectively.
3. I am sorry to dig up this thread, but it is not very old, and the information jagabo posted above relates to a matter that I have found confusing for a little while, so I thought there was no point posting the same values again. Now, I fully understand the 704x480 and 720x480 argument to which jagabo referred and the purpose of nominal analogue blanking. My question relates to PAR.

A 704x480 16:9 DVD with a PAR of 5760/4739 means on playback the image is stretched to 856. So far, so good!

Another 16:9 DVD with the same 704x480 image padded to 720x480 obviously cannot also be stretched to 856 on playback, as the image would look slightly wrong, so is it true to say that this DVD would be resized to 720x(5760/4739)=875 on playback? Is this really how A DVD player resizes such an image?

Thanks for any help.
4. DVD only supports two display aspect ratios: 4:3 and 16:9. As I understand it, with 720x480 frame sizes, there is a flag deep within the MPEG 2 data that indicates whether the 4:3 or 16:9 picture is contained within the 720x480 frame or a 704x480 subsection. I haven't found any tools that can report this flag. DVD players can use this flag to determine how to output the picture. I wouldn't be surprised if many don't bother and simply treat all DVDs the same. Nobody will notice the ~2 percent DAR error.

Note that standalone DVD players typically decompress the frame to the storage aspect ratio, then use their display chips to adjust the timing of the output to compensate for the DAR (for analog output). They don't digitally scale to 853x480 or 640x480.
5. Thank you for the information, Jagabo. It is really interesting. I already knew that there were only two DARs; it is just PAR that I am unsure about. This flag in the MPEG-2 stream must basically be the PAR then. I wonder how free encoders set these flags, and whether they always use 5760/4739 for NTSC 16:9.

It seems I need to learn a bit about how DVD players work too. Is the calculation above correct though, may I ask?
6. There are no PAR flags on DVD, only DAR. Even in th wider MPEG 2 spec there are only 3 DARs (4:3, 16:9, 2.21:1) and one PAR (1:1). Where are you getting 5760:4739?
7. I found it as the figure for strict ITU-R BT.601 in a number of places online. For example, this is one of them: