Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Aspect ratio in MPEG-1 and MPEG-2 (Read 3927 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Aspect ratio in MPEG-1 and MPEG-2

What does the aspect ratio flag in the MPEG header mean? Is that supposed to be the pixel aspect ratio or the display aspect ratio? And is the meaning different for MPEG-1 and MPEG-2?  I am beginning to think that in MPEG-1 it is supposed to be the pixel aspect ratio and in MPEG-2 it is supposed to be the display aspect ratio, but the fact that every viewer and every encoder seems to be different is confusing me.

If I'm right about the MPEG-1, what are you supposed to do with, say, a 352x240 file that is supposed to have a display aspect ratio of 4:3? How do you set up the header so it displays properly?

Aspect ratio in MPEG-1 and MPEG-2

Reply #1
Use Virtual Dub or similar editing program to crop or resize as you wish.

There is a ton of info on aspect ratio and a whole guide on Virtualdub procedures at Doom9.

If you just want a quick playback tool for a web file and need to adjust the aspect ratio, use Bsplayer. It has customizable aspect ratios and is in general a fantastic free tool.

http://www.virtualdub.org/

http://www.bsplayer.org/

http://www.doom9.org/

Aspect ratio in MPEG-1 and MPEG-2

Reply #2
Not that this will directly answer your question, but good reading anyhow.

http://www.uwasa.fi/~f76998/video/conversion/
Gur svggrfg funyy fheivir lrg gur hasvg znl yvir. Jr zhfg ercrng.

 

Aspect ratio in MPEG-1 and MPEG-2

Reply #3
AFAIK, the AR flag in the MPEG container is for PAR ( Pixel Aspect Ratio ) ....