PDA

View Full Version : How to know the exact aspect ratio of a .ts stream?


Bruce Willis
12th May 2005, 21:07
Hi there!

If you play a .ts file in PowerDVD, it is shown in the right a.r. However, it doesn't tell you the exact ratio.

I want to convert it to a xvid. But how do I know its exact a.r.?

There must be some clue encoded in the .ts stream, because PowerDVD knows what a.r. to use...


:confused: :confused:

DrP
12th May 2005, 23:52
Most of the mpeg editing tools will tell you, project-x and pvastrumento certainly do. Go to the doom9 downloads area for project-x.

Bruce Willis
13th May 2005, 12:21
Thx

I loaded the file in ProjectX. After a short processing, it says:

-> video basics: 1280*1088 @ 29.97fps @ 0.7031 (16:9) @ 65000000bps, vbvBuffer 488

What does the '0.7031 (16:9)' mean? 16:9 = 1.77, and 9:16=0.5625...

1 : 0.7031 = 1.422 ---> looks like the right a.r. :)

non@me
13th May 2005, 20:13
Hmm. If Par=0,7031

1088*0,7031=764,9728 and Ar is

1280/764,9728=1,6732621...

Bruce Willis
13th May 2005, 21:55
I was wrong, AR is not 1 / 0.7031.

Comparing various AR's with the video that PowerDVD is showing, I think that the 16:9 ratio is the ratio of the final resolution. So if the width of the avi has to be 1024, the height should be

9/16 * 1024 = 576

This seems to give the right result, compared to PowerDVD.


It is still not clear what the mysterious 0.7031 means though..

eb
13th May 2005, 23:01
It is still not clear what the mysterious 0.7031 means though..

I think that in this value are involved pixel matrix + DAR + PAR

eb