Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 17th March 2014, 12:31   #1  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
AnimeIVTC 2.X with bug fix and more

hi

I have this edition of AnimeIVTC, which have many fix and Additions

Compared to the original version:-

1- chrfix really work now, even with mode 2

test successfully with http://forum.doom9.org/showthread.php?t=167194

sample http://forum.doom9.org/showthread.ph...56#post1615656

edit:- try not to use chrfix because it do not use IVTC and use deinterlacer and that will lose Quality unlike IVTC, use QTGMC_bob(0,0.5) like this
Code:
originali = last
ffapp = originali.QTGMC_bob(0,0.5).chroma_rep #or chroma_rep2 see dchr below
getparity(originali) ? ffapp.interlaced60or50 : ffapp.interlaced60or50(bff=true) #reinterlaced
ivtc here
2- add dchr bool, can help chrfix with some source

3- add extbob clip to use an External bobber with bbob/cbob=5, like this External bobber or External bobber with DeRainbow (feel free to change ASTDR settings to fit your source), EX:-

Code:
# start of the script, Including the source and trim and other
function MC_A_bob(clip input)
{
# stable and maintains details v1.11
TDeint_cilp=input.tdeint(1, tryWeave=true)
sup    = TDeint_cilp.HQdn3d.FFT3DFilter.MSuper(pel=2,sharp=1)
fv1    = sup.MAnalyse(isb=false,delta=1,DCT=2,Truemotion=false)
fv2    = sup.MAnalyse(isb=true,delta=1,DCT=2,Truemotion=true)
csaa   = input.QTGMC(lsbd=true, lsb=true, edimode="eedi3+nnedi3", SourceMatch=3, Lossless=2) # SourceMatch=3, Lossless=2 for less Artefacts in anime source, you can add tr0=1, tr1=1, tr2=1 too
momask1 = TDeint_cilp.MMask(fv1, kind = 1, ml=2)
momask2 = TDeint_cilp.MMask(fv2, kind = 1, ml=3)
momask = mt_average(momask1,momask2,u=3,v=3)
mt_merge(TDeint_cilp,csaa,momask,u=3,v=3)
}
AnimeIVTC(2, bbob=5, extbob=MC_A_bob, mode22=true)
# The rest of the filters
4- add bob4p to change QTGMC Preset

5- add ediext clip to use it with QTGMC (b/c bob 4)

6- TC file now will out in V2

7- add mode22 bool to use it in mode 2 for Spatial field-blend (field-blend in a part of the picture)

http://forum.doom9.org/showthread.php?t=169892

8- make "precision=1" use "nnedi3" only, for "Toriko Anime" (in op) or any 60i source, and also for speed

now it is:-
Code:
precision : Higher = slower, but more precise... Here, it's about quality vs speed and consonant in special cases.

0 : Fastest, tfm only
1 : Better (uses tfm + nnedi3 to deinterlace)
2 : Even better (tfm +Tdeint + nnedi3 for interpolation)
3 : Optimal (tfm +Tdeint + nned3i + motion mask) (default)
9- fix this http://forum.doom9.org/showthread.ph...37#post1621237

10- there are other by the thetoof and doom9 member in replies form original Thread

----------


some notes:-

1- try not to use aa, killcomb and iFade, Better alternative here

and for real Anti-aliasing use maa2 or maa2mod or maa2+ mod

2- in mode 2 and 3 (which work with bob), using daa (or some thing like it, like mcdaa3) and ifade almost useless in most cases, especially if the bob was good and stable, and the same thing when use chrfix in rest mode, Details in the following note

3- using chrfix will ignore precision (Field matching) and use cbob/bbob instead

4- you can use SEt avs 2.6 mt in mode 2 with most case in AnimeIVTC, test with this ver. http://www.dropbox.com/s/xhqggxamegi...th_20130309.7z

5- chrfix not fix Dot Crawl, the one who make it removal is QTGMC or TGMCmod, which is the default in cbob, and because mode 2 use bbob and the default is yadifmod not QTGMC, Dot Crawl will not fix by default

6- you can call AnimeIVTC many time in mode 1 and mode 3 (includes collect both) without chrfix, Preferably without anything, just mode number, like:-

Code:
trim(0,7899).animeivtc(1) +\
Trim(7900,8143).animeivtc(3) +\
Trim(8144,36413).animeivtc(1)
or
Code:
 a=Trim(0,7899).animeivtc(1)
 b=Trim(7900,8143).animeivtc(3)
 c=Trim(8144,36413).animeivtc(1)
 a+b+c
In order to keep the synchronization, trim should start with the beginning of the scene, and the end of trim ends with the scene end, Excluded from that the beginning and end of the episode, of course

and here a script to make a trims base on scenes changes


-------------


Small tip

if you have telecine source with Rainbow and\or Dot Crawl and TComb not enough for it you can use this

Code:
sourcefilter
TComb 
MC_A_bob #MC_A_bob with DeRainbow edition
srescr = last
srestore(frate=23.976, mode=-4, thresh=44, cache=10, dclip=srescr.crop(10,0,-10,0).reduceflicker(strength=1)) #or srestore(frate=23.976, thresh=44, cache=10, dclip=srescr.crop(10,0,-10,0)) if you don't use MC_A_bob with DeRainbow
without animeivtc and without daa\daa3

edit:- see this http://forum.doom9.org/showthread.php?t=172221 it better

now there are ASTDRmc ver. and it is advisable to use it after the restore to 24 (23.976) fps clip, and it should be better than ASTDR with bob clip in avoid chroma bleeding in moving scenes

---

* if you have a telecine source with a light Rainbow, even if you did not notes it, it maybe destroy IVTC Filter accuracy in some frames, so you must remove that Rainbow before IVTC, use TComb(1) can help with that

and some time the scan order wrong, you can check it by SeparateFields() and see the moving scenes, if it wrong correct it by put AssumeBFF() or AssumeTFF() after source calling line

more notes in page 3 1st post http://forum.doom9.org/showthread.ph...35#post1720135

*try not to use anything use bob because it do not use IVTC and use deinterlacer and that will lose Quality unlike IVTC, even for Field blended you can do this http://forum.doom9.org/showpost.php?...9&postcount=49

----------


download links:- link

and in attachments too
this old version

newer versions and notes in 2nd post
Attached Files
File Type: zip AnimeIVTC.zip (9.8 KB, 2909 views)
__________________
See My Avisynth Stuff

Last edited by real.finder; 4th April 2017 at 19:01. Reason: edit and add notes
real.finder is offline   Reply With Quote
 

Tags
anime aa, animeivtc, chroma fix, deinterlace, mod


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.