Laughlyn
1st January 2004, 05:47
Pretty basic question, and I think I've got it figured out already, but something about just bugs me... So I was hoping someone here might be able to confirm whether or not this is correct:
I have a 320x160 source file that I'm converting SVCD, using AVISynth to resize it.
Now, previous experience tells me that a 640x480 file resizes nicely to 480x480 and plays properly. 320x160 would be equal to 640x320, so to simply resize it while keeping the aspect ratio would be:
LanczosResize(480,320)
AddBorders(0,80,0,80)
And if I wanted to add a 24-pixel border to all sides, it would be:
LanczosResize(432,272)
AddBorders(24,104,24,104)
Is, uhm, that right?
For some reason, I'm just not able to confidently reconcile my numbers today. (Hopefully, that little problem will clear up before I do my taxes...lol)
Thanks for any help. :)
I have a 320x160 source file that I'm converting SVCD, using AVISynth to resize it.
Now, previous experience tells me that a 640x480 file resizes nicely to 480x480 and plays properly. 320x160 would be equal to 640x320, so to simply resize it while keeping the aspect ratio would be:
LanczosResize(480,320)
AddBorders(0,80,0,80)
And if I wanted to add a 24-pixel border to all sides, it would be:
LanczosResize(432,272)
AddBorders(24,104,24,104)
Is, uhm, that right?
For some reason, I'm just not able to confidently reconcile my numbers today. (Hopefully, that little problem will clear up before I do my taxes...lol)
Thanks for any help. :)