Log in

View Full Version : Avisynth Help!!


ocelot
7th January 2003, 01:59
already read some guides but still I have some questions Iam using FitCd
and my script look like this:

# -= AviSynth script by FitCD v1.1.2 =-
#LoadPlugin("D:\PathOf\AnyPlugin.dll")
AviSource("F:\Red Dragon\test.avi")
BicubicResize(480,288,0,0.6,10,0,620,272)
AddBorders(0,96,0,96)
#Trim(0,3646).FadeOut(150)

I tried to resize and my first question is what is crop good for and what b and c parameters are??
The second thing is I tried to resize my NTSC file(640*272) to 480*360 but it seems to be impossible cause when I resize to 480*288 or 480*304 my destination in FitCd is always 480*480 so what is the difference between this two resolutions and how can I resize to 480*360??
And is it a quality difference if I use FitCd or write my own script something like this:


LoadPlugin("c:\mpeg2dec.dll")
AviSource("F:\Red Dragon\test.avi")
BicubicResize(480,360)
#Trim(0,3646).FadeOut(150)

Sorry I know lot of questions but I would appreciate your support
Thanks!!

Guest
7th January 2003, 02:05
Please read the forum rules before posting, in particular rule 9.

ocelot
7th January 2003, 02:55
I hope this title is better!!

Guest
7th January 2003, 04:08
Huh?

manono
7th January 2003, 07:46
I'm assuming you're converting a 640x272 .avi to make an SVCD.

The crop is to keep proper AR.

I couldn't find any mention of b and c in FitCD, but they're usually for the BicubicResize parameters (in your case, the 0,0.6).

You don't want to resize to 480x360, at least not without AddBorders(0,60,0,60) added, because it won't be SVCD compliant, and in any case it won't have proper AR, unless you're creating an anamorphic SVCD. All SVCDs must be 480x480 (for NTSC).

Your script won't burn a proper SVCD (if it burns at all). I'd suggest you follow what FitCD gives you. I'd also suggest you set Blocks TV-Overscan to 2 to eliminate your TV's overscan, which will then give you:

BicubicResize(448,272,0,0.6,14,0,612,272)
AddBorders(16,104,16,104)

I'd also suggest you check the ITU-R BT .601-4 box, which will then give you:

BicubicResize(480,272,0,0.6,0,0,640,272)#note-no cropping done
AddBorders(0,104,0,104)#or with 2 blocks:

BicubicResize(448,256,0,0.6,3,0,634,272)
AddBorders(16,112,16,112)

If you're not making an SVCD, but a smaller .avi, then you don't use FitCD. You'd be better off using GKnot for cropping and resizing (and it will give you 480x208).