PDA

View Full Version : Converting 1080p to 720p


jamos
8th February 2008, 23:11
I would like to use a avisynth script to do this but the issue is I need to readd the borders while keeping the same aspect ratio.

original is 1920x800 (borders cropped I am assuming just adding 140 top and bottom borders would make it full 1080p)

But i want to downsize it to 720p. I would like to get a proportional 1280x??? with adding borders to make the ??? turn into 720.

I have tried this but it seems to strech the picture so I am assuming the borders have to be bigger and the height smaller.

Lanczos4Resize(1280,588).addborders(0,66,0,66)

thanks for any help.

ok doing some math which i am not good at it seems that correct proportions would be

Lanczos4Resize(1280,534).addborders(0,93,0,93)

am I correct?

Atak_Snajpera
8th February 2008, 23:24
It's very simple :)
1920/800 = 2.4
1280/2.4 = ~533

Lanczos4Resize(1280,534).addborders(0,93,0,93)
so this line is correct

jamos
9th February 2008, 05:47
It's very simple :)
1920/800 = 2.4
1280/2.4 = ~533

Lanczos4Resize(1280,534).addborders(0,93,0,93)
so this line is correct

Thanks I did it correctly then.