Log in

View Full Version : animeivtc in layman's terms??


Amateur
3rd January 2011, 20:25
would it be possible for someone to give me some layman's term instructions of how to use this function? i tried reading the stuff in the script but it seems to be written by a programmer for a programmer.

i'm currently trying to encode Highlander animated series. using megui to analyse the clip gives me:

hybrid film/interlaced. mostly interlaced
top field first
TIVTC

the only problem is that with these settings, i get images like

(what i understand to be bad blending?)
http://img831.imageshack.us/img831/6713/82036340.jpg

and

(still traces of interlacing in his mouth?)
http://img20.imageshack.us/img20/728/61909945.jpg


the script generated by megui is
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("E:\Highlander\e1\VTS_02_1.d2v", cpu=4, info=3)
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\TIVTC.dll")
tfm(order=1).tdecimate(mode=1,hybrid=3)
crop( 8, 0, -10, 0)

LanczosResize(640,480) # Lanczos (Sharp)

i have yet to mess with smoothing and sharpening and stuff yet because of the above problems. hopefully i can get this solved.

thanks for whatever help can be provided.

edit: i did find the following in the animeivtc thread
mode=1, hard telecide
mode=2, field blended
mode=3, double hard telecide
mode=4, material hybrid.

i figure since megui says it's hybrid that i should choose mode=4 but then it asks me to specify an output mode which is where i get completely lost. i also see many many other parameters being used in other scripts in that same thread which i really don't know what they control

manono
4th January 2011, 00:30
Provide a sample, 10 seconds or so showing steady movement.

Amateur
4th January 2011, 06:08
http://www.mediafire.com/?jxlo87f2mowf9cq

here is a short sample from what i think is the same are as my stills. if you can get this looking great, i would love to know which filters you used. my main filters are

undot() (says risk free so i add it to everything...should i?)
Deen("a2d",7,11,13,min=0.5) (only copy and paste from scintilla's guide (http://aquilinestudios.org/avsfilters/spatial.html#deen). would love to learn more on how to tweak this more effectively since it's supposedly a great smoother.)
vmToon(strength=100, luma_cap=150, threshold=2, thinning=100, ssw=3,ssh=3) (again, copy and paste from scintilla's guide (http://aquilinestudios.org/avsfilters/sharpeners.html#vmtoon).)
turnright().sangnom().turnleft().sangnom() (saw this somewhere else and it helps makes most of my lines smoother)

the only problem with this strand of filters is that while it works wonders on many of my encodes, it makes a few of my encodes look like garbage (ben 10 alien force and xmen evolution for example). those two are ones i've been working on for months and can't get an output how i like.

lych_necross
4th January 2011, 07:06
Well, in layman's term, AnimeIVTC is a wrapper for TFM, TDecimate, and TDeint with some added tweaks. Here is a guide that explains the process in more detail (link (http://www.animemusicvideos.org/guides/avtechbeta/)).

Amateur
6th January 2011, 07:04
well...i didn't mean a one sentence summary of what it is supposed to do. i meant a layman's term guide to help me understand how to set the different parameters. i went back to the zip that i downloaded and found the guide though so i'll be reading through that.

but as far as this clip, thanks to didee i now know that setting hybrid=3 is what is giving me the terrible blending so i set that to 0 which solved that problem. i still have what appears to be interlacing in the guys mouth as he speaks though so how would i get rid of that? it's nothing too terrible but definitely noticeable.

edit: trying to set aa=4 and it's saying awarpsharp2 isn't loaded. i only have awarpsharp. where is 2? i looked through the entire requirements package and either didn't see it, or it's not included.