View Full Version : resize help
AznDark
25th July 2004, 08:34
hi there i am wondering how i can resize my 518x390 avi file into a svcd compliant size (which is multiple of 16 or 8) using avisynth? is there any step by step guide links on how to do so? im a newbie to this :S plz help!! much appriciated
Boulder
25th July 2004, 09:45
Start here: http://www.avisynth.org/YourFirstScript
Wilbert
25th July 2004, 10:58
Look around for FitCD (google). It enables you to create these kind of scripts.
AznDark
26th July 2004, 19:13
ok i am using fitcd but then what do i do with the script? :confused:
drob
28th July 2004, 15:38
It is much simpler then you think, first your movie is full screen so in the resize portion of the script use 480x480
Here is my basic script for svcd:
Let's assume your file is in c:\movie\movie.avi
That you want to cut it at frame 99999
And for sake of argument that it is 576x240 and NTSC
AVISource("c:\movie\movie.avi",False)
trim(0,999999)
BicubicResize(480,272,0.0,0.75)
AddBorders(0,104,0,104)
convertToYUY2()
How we got those value:
v=vertical resolution
h= horizontal resolution
720/h*v/1.1=x
Then you use x as your second value in the resize line
Now 480-x/2=y
Use y as both values in the borders line, that's that all that is to it. This is true for NTSC for pal tiny bit deferent let me know if you need that.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.