Log in

View Full Version : How to add custom script to Avisynth.ini?


FredThompson
13th November 2003, 03:11
DDogg explained this to me once but I've forgotten adn don't have any notes so here we go again.

I'd like to add a custom script to the AVISYNTH.ini file as follows:

[DV_to_SVCD]
0=AviSynth_plugin_directory="C:\Program Files\AviSynth 2.5\plugins\"
1=LoadPlugin(AviSynth_plugin_directory+"Cnr2.dll")
2=LoadPlugin(AviSynth_plugin_directory+"PeachSmoother.dll")
3=LoadPlugin(AviSynth_plugin_directory+"Reinterpolate411.dll")
4=ConvertToYUY2(interlaced=true)
5=Reinterpolate411()
6=Cnr2("xxx",4,5,255)
7=PeachSmoother()
8=BicubicResize(480,480,0.0,0.6)

When I append this to the end of the file, it doesn't show up as an option in the frameserver tab when I run AVI2SVCD.

IIRC, there was something additional which needed to be added so AVI2SVCD knows a new resizing option exists. That's what I don't remember. What are the missing statements?

MarkP
13th November 2003, 03:37
Fred

I am glad you asked this question, as a relatively Newbie to all this, I am having the same problem, if you read Q71 of the DVD2SVCD Q&A here (http://forum.doom9.org/showthread.php?s=&threadid=21859) It states that any custom Avisynth scripts should be added into the DVD2SVCD.INI which I did and they were not appearing in the Frameserver Tab Dropdown.

So now you mention Avisynth.ini I am more than a bit confused so i would appreciate any help on this also.

I am using Ver 2.08 does this make a difference?

Thanks in advance

Mark

FredThompson
13th November 2003, 03:55
IIRC, the AviSynth scripts were moved into AVISYNTH.ini quite a while ago. There aren't any script statements in DVD2SVCD.ini, SVCD.ini or VCD.INI which I can see.

Why are you using AviSynth 2.08? Those filters can be loaded into 2.5.x

IIRC, there is something which must be added to the end of custom strips so the program will properly parse the ini file. I just don't remember what it was.

MarkP
13th November 2003, 04:03
Fred

I was only following the guidelines in the Official Q&A and could not find any other info regarding this.

Am using 2.08 because when installed DVD2SVCD that is what it reccomended, is it wise to upgrade to 2.5? If so how would I go about it?

As said before I am still trying to get my head round all this on the face DVD2SVCD is incredibly easy to use but when you delve deeper can get pretty complicated.

Mark

FredThompson
13th November 2003, 04:06
Many things are improved in the 2.5.x version of AviSynth. 2.5.3. was just released. You can get it at avisynth.org. Personally, I would reinstall DVD2SVCD chosing AviSynth 2.5.2 then install the 2.5.3 version on top of it. That would remove the chance you've messed something up.

r6d2
13th November 2003, 04:15
Originally posted by FredThompson
DDogg explained this to me once but I've forgotten adn don't have any notes so here we go again.

I'd like to add a custom script to the AVISYNTH.ini file as follows:

[DV_to_SVCD]
@Fred, dude, ;)

Change the title line to this:

[AVISYNTH_DV_to_SVCD]

@MarkP,

Sorry, the FAQ is almost a year old and I'm revamping it to match it recent changes in DVD2SVCD (some checking has to be made in order to have it bullet-proof).

As of now, for the most part the FAQ is current, but not for this. Hope this tip solves yor problem.

MarkP
13th November 2003, 04:26
Yes it did solve the problem

Spent hours trying to get it to work and searching the Forum.

Thought I was being so stupid and missing something obvious and all the time was editing the wrong file...

Thank you both

Mark

FredThompson
13th November 2003, 04:39
Originally posted by r6d2
@Fred, dude, ;)I hear them's fightin' words in some parts... :p
Change the title line to this:

[AVISYNTH_DV_to_SVCD]Yessiree, Bob, that does the trip. Thank you, kindly!