Log in

View Full Version : Aspect ratio and conversion of file


cd090580
29th October 2008, 19:57
Hi,

I have a portable device which as a 2" screen and a 220*176 resolution.

So, the aspect ratio is 1.25:1

How can I convert any video to the right aspect ratio for the device.

If my source is 4:3 => do I need to resize it to 220/(4/3)=>165 so a 220*164.

What's the best way to fill the max of the screen while keeping the right AR ?

Thanks.

LoRd_MuldeR
29th October 2008, 22:44
I fact you have three options:
* Letter Boxing: Resize the source video in a way that will fit into 220*176 and keep the aspect of the source - you will see "black bars" when the video's aspect is different from 1.25:1
* Pan and Scan: Crop the source video down to the 1.25:1 aspect and resize it to 220*176 afterwards - the entire screen will be filled, but you'll loose a part of the image
* Stretching/Squishing: Resize the video to 220*176 and don't care about the aspect ratio - the entire screen will be filled and no parts are lost, but it will look stretched or squished

The correct resolution for a "letterboxed" 4:3 video would be 220*165 for your screen, 11 lines will be unused.
For "Pan & Scan" you would crop a 640x480 source down to 600x480 and then resize to 220* 220*176...

dat720
30th October 2008, 13:48
For a device with a 2" screen i wouldn't be too woried about keeping the aspect ratio, i would rather fill the screen.... you hardly need a 'pure' image.....

My preference would be to stretch the image to 220x176, My Nokia N95 has a 2.6" and even that is too small (i feel anyway) to not stretch the movie...

dat720
4th November 2008, 09:46
I hate Spastics who advertise in forums!
I wish they would crawl in a whole and DIE!!!

mikeytown2
6th November 2008, 02:04
Hi,
How can I convert any video to the right aspect ratio for the device.

What's the best way to fill the max of the screen while keeping the right AR ?

Thanks.



The ZoomBox (http://forum.doom9.org/showthread.php?p=1111789#post1111789) script for AviSynth should be able to do this for you.
#Load Source

#Resize
ZoomBox(220,176,"Spline36Resize",Align=-5)
Align of -5 letterboxes the video, 5 will zoom in so that it doesn't have any black bars. This assumes that the video is already at the correct aspect ratio; if it's not then set SourcePAR or SourceDAR.