View Full Version : Original A/R from cropped movies (I don't know how to post this...)
Movie Maniac®
5th July 2003, 18:41
Hi
I've searched the forum but couldn't find nothing.
I just want to know how to calculate the original A/R for a movie starting from the cropped avi.
I mean. Suppose you have an avi, and its resolution is 512x400. Is it possible to obtain the original resolution, supposing that this movie was encodec from some VOBs ripped off from a DVD?
I hope that my question is clear enough.
Thanx in advance to anyone who will take care of my problem :D
Bye
redeemer-dk
5th July 2003, 19:03
The AR for AVI's is width/height since they use square pixels.
Movie Maniac®
5th July 2003, 19:15
Maybe I wasn't clear.
I know this, and I'm able to calculate it...
The problem is: how do I calculate the A/R of the original DVD?
If I calculate the A/R of an avi encoded at 512*400, it's 1.28 which is 32/25. But I don't think this is the original movie A/R...
Supposing the original DVD is pal, the full frame should be 720*576. If I resize it at 512*xxx, it should be 512*410. So there are 10 pixel
Maybe this is a little bit clearer.
And maybe I'm asking a very stupid question.. dunno! i'm starting to doubt :(
Movie Maniac®
5th July 2003, 19:52
Yes sure...
I've asked a really stupid question...
Sorry, but you know how it is when you're under exhams... I had 2 exams last 10 days, and one next friday, so I can say that I'm out like a carpet... if you can understand this expression (I've literally translated an italian slang expression).
Now I've got it. And I've got a new function in my app :D
:D
Thanks again, and sorry for my really, really stupid question :'(
mpucoder
5th July 2003, 21:11
Originally posted by redeemer-dk
The AR for AVI's is width/height since they use square pixels.
Mine don't. Two cases where the pixels aren't square, when capturing in D1 (720x480), or when converting from DVD without resizing. And ever since Zoomplayer, I can watch them with the correct AR (before turning them into DVD)
Movie Maniac®
5th July 2003, 22:21
Originally posted by mpucoder
Mine don't. Two cases where the pixels aren't square, when capturing in D1 (720x480), or when converting from DVD without resizing. And ever since Zoomplayer, I can watch them with the correct AR (before turning them into DVD)
mmm
now I'm doubting again :'(
let me explain what I want to do, so that you can help me.
I wrote an avi detector, like GSpot (if you want to test it you can download it here (http://www.moviemaniac.altervista.org/setup.exe) , but please consider that it's a collection of tools).
Well, this avi detector shows the aspect ratio of the avi in the form 1,333:1, simply by calculating width/height.
I wanted to show it also in the form 4/3 so I managed to do it by calculating MCD, and things work fine.
Now you say that this colud not be true, so any suggestions?
I'me here :D
Regards
Movie Maniac®
Wilbert
6th July 2003, 14:38
I mean. Suppose you have an avi, and its resolution is 512x400. Is it possible to obtain the original resolution, supposing that this movie was encodec from some VOBs ripped off from a DVD?
Assuming the avi has a PAR=1/1. We have 4/3>1, so you must put borders left and right.
letterbox PAL, PAR 4/3:
1) playback should be 3/4*512 x 400 = 384 x 400,
2) upscaling to 552 x 576 (must be mod 4)
3) black borders to 720 x 576
So, you should resize to 552x576 => add borders: 720x576
anamorphic PAL, PAR 16/9:
1) playback should be 9/16*512 x 400 = 324 x 400,
2) upscaling to 468 x 576 (must be mod 4)
3) black borders to 720 x 576
So, you should resize to 468x576 => add borders: 720x576
NTSC is similar.
Well, this avi detector shows the aspect ratio of the avi in the form 1,333:1, simply by calculating width/height.
You also need to know the PAR besides the DAR.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.