Script for Spirited Away?

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Chaobunny12
Joined: Tue Jul 04, 2006 7:41 am
Org Profile

Script for Spirited Away?

Post by Chaobunny12 » Fri Feb 05, 2010 9:50 pm

Okay, I'm going to sound really stupid here, but I can't really make any sense of these AMV guides. I've always used the same generic script to deinterlace my DVD footage and it has always worked fine.

However, I'm realizing that my Spirited Away footage has really crappy quality compared to the rest of my DVD footage. Since I'm making an AMV for convention submission, this is a big problem.

To cut to the chase; I don't really know all the specifics about the problems. Even though I had the interlacing filter in my script, the final product still had some interlacing, and the picture seems too soft.

Here's the script I usually use for everything:
mpeg2Source("filepath")
Telecide(order=1, guide=1)
Decimate(cycle=5, mode=2)
ConvertToRGB32()

I've got enough sense to realize this doesn't work with Spirited Away, but I'm clueless as to what else to do. I don't really know Avisynth that well.

I'm not used to working with older/traditional footage, so has anyone else worked with the American release of Spirited Away that can help me out with a script?

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Re: Script for Spirited Away?

Post by Kariudo » Fri Feb 05, 2010 10:21 pm

post some screenshots that illustrate the problems you're seeing.

Right away though, I can say that you should get TFM (part of the tivtc pagacke available here)
Together, TFM() and TDecimate() do the same thing as Telecide() and Decimate(), but I think TFM does better
Image
Image

User avatar
Chaobunny12
Joined: Tue Jul 04, 2006 7:41 am
Org Profile

Re: Script for Spirited Away?

Post by Chaobunny12 » Fri Feb 05, 2010 10:38 pm

Here are some problem screenshots ( I tried to take screenshots at the worst parts. The interlacing drives me crazy D: )

Image
Image
Image

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Re: Script for Spirited Away?

Post by Kariudo » Fri Feb 05, 2010 11:11 pm

not seeing much of anything that needs to be done besides better deinterlacing/IVTC

get TFM and try TFM(d2v="path",order=-1,mode=5, pp=7, slow=2)
Image
Image

User avatar
Chaobunny12
Joined: Tue Jul 04, 2006 7:41 am
Org Profile

Re: Script for Spirited Away?

Post by Chaobunny12 » Sat Feb 06, 2010 9:50 am

I downloaded TIVTC and put it in my plugins folder but I'm not finding tfm anywhere and Avisynth won't load it.

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: Script for Spirited Away?

Post by Scintilla » Sat Feb 06, 2010 11:43 am

That'll sometimes happen if you have too many plugins in your plugins directory. Try loading it manually with this line at the top of your script:

LoadPlugin("[whatever the path is]\TIVTC.dll")
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
Chaobunny12
Joined: Tue Jul 04, 2006 7:41 am
Org Profile

Re: Script for Spirited Away?

Post by Chaobunny12 » Sat Feb 06, 2010 12:16 pm

I tried that and it's still not working. :(

Here's the error message I'm getting, if it helps:

Avisynth open failure:
Script error: Invalid arguments to function "tfm"


I downloaded the TIVTC thing but I'm not finding a file called tfm.dll in the download package, only TIVTC.dll. ((The only thing I found in the package with the name tfm is the C++ script. Not having learned programming yet, I can't make heads or tails of that.))

Here's my current script as well, in case I'm missing something:

Code: Select all

Loadplugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")

tfm(d2v="K:\D2V files\spiritedaway.d2v",order=-1,mode=5, pp=7, slow=2)

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Re: Script for Spirited Away?

Post by Kariudo » Sat Feb 06, 2010 12:45 pm

tfm is in tivtc.dll (along with some other functions)

looked at the documentation, and maybe slow got changed to a bool (whose default is true)...so try taking slow=2 out completely

I was getting a similar error when I was messing around with levels() not too long ago, and the only thing that ended up working for me was to specify every parameter for levels (just leaving them at their default values)

if taking slow out doesn't work...try
TFM(order =-1, field=-1, mode=5, PP=7, ovr="", input="", output="", outputC="", debug=false, display=false, slow=true, mChroma=true, cNum=15, cthresh=10, MI=85, chroma=false, blockx=16, blocky=16, y0=0, y1=0, mthresh=5, clip2=NULL, d2v="path", ovrDefault=0)
Image
Image

User avatar
Chaobunny12
Joined: Tue Jul 04, 2006 7:41 am
Org Profile

Re: Script for Spirited Away?

Post by Chaobunny12 » Sat Feb 06, 2010 3:03 pm

Now when I try to run the script, it says

Avisynth open failure:
"I don't know what "NULL" means"

Aside from the creepiness factor of Vdub speaking to me in the first person...what could be wrong now? ><

Here's what I've currently got (I wasn't sure if I was supposed to put something in the quotes, in that case it may be my fault.) I'm really embarrassed that I have no idea what I'm doing.

Code: Select all

Loadplugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")

TFM(order =-1, field=-1, mode=5, PP=7, ovr="", input="", output="", 
outputC="", debug=false, display=false, slow=true, mChroma=true, 
cNum=15, cthresh=10, MI=85, chroma=false, blockx=16, blocky=16, y0=0, 
y1=0, mthresh=5, clip2=NULL, d2v="K:\D2V files\spiritedaway.d2v", 
ovrDefault=0)

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: Script for Spirited Away?

Post by Scintilla » Sat Feb 06, 2010 3:25 pm

Then just take out the "clip2=NULL," part.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

Locked

Return to “AviSynth Help”