Script for Spirited Away?

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Script for Spirited Away?

Postby 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
Chaobunny12
 
Joined: 04 Jul 2006

Re: Script for Spirited Away?

Postby 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
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Re: Script for Spirited Away?

Postby 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
Chaobunny12
 
Joined: 04 Jul 2006

Re: Script for Spirited Away?

Postby 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)
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Re: Script for Spirited Away?

Postby 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
Chaobunny12
 
Joined: 04 Jul 2006

Re: Script for Spirited Away?

Postby 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
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Re: Script for Spirited Away?

Postby 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
Chaobunny12
 
Joined: 04 Jul 2006

Re: Script for Spirited Away?

Postby 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)
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Re: Script for Spirited Away?

Postby 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
Chaobunny12
 
Joined: 04 Jul 2006

Re: Script for Spirited Away?

Postby Scintilla » Sat Feb 06, 2010 3:25 pm

Then just take out the "clip2=NULL," part.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Re: Script for Spirited Away?

Postby Chaobunny12 » Sat Feb 06, 2010 3:32 pm

I think I got it. I tried messing around with the script, and I accidentally got it to work, or at least it appears to. I had to use the original script you gave me but put mpeg2source instead of d2vpath, because for some reason my computer didn't like that.

This is what I ended up using.

Code: Select all
Loadplugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
mpeg2source("K:\D2V files\spiritedaway.d2v")
TFM(order=-1, field=-1, mode=5, PP=7, slow=2)


When I ran in through Vdub the interlacing SEEMS to be gone, which is great. However the video is still 29.97 fps, not 23.976 fps. Is it supposed to be like that?
User avatar
Chaobunny12
 
Joined: 04 Jul 2006

Re: Script for Spirited Away?

Postby mirkosp » Sat Feb 06, 2010 4:01 pm

Code: Select all
tdecimate()

Add that after the tfm. :up:
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: Script for Spirited Away?

Postby Chaobunny12 » Sat Feb 06, 2010 5:02 pm

Okay, I've got it working now. Thanks so much for all the help!! :D
User avatar
Chaobunny12
 
Joined: 04 Jul 2006

Re: Script for Spirited Away?

Postby Corran » Mon Feb 08, 2010 1:03 am

Hey guys... Spirited Away is not an interlaced source. It's 24fps progressive.

It would be better to run the vob through dgindex again and select the option "Force Film"... Once you do that you don't even need a de-interlacing/IVTC plugin and rendering frames via avisynth will be much faster.
User avatar
Corran
 
Joined: 14 Oct 2002


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest