Jetzt REICHTS! TMCkernelbob ist out, tot, uralt, crappy etc.
Wehe dem, der das Ding noch verwenden will!
Habe mal einen etwas "anderen" Deintelacer zusammengabestelt.
er basiert auf Tomsmocomp und einem (beliebigen?) anderen deinterlacer.
Tomsmocomp (0,-1,0) ist ein spezieller interpolationsmodus von Tomsmocomp,
der nicht deinterlaced, sondern nur zwischenzeilen errechnet.
Und das wahnsinnig gut ohne informationen aus den anderen Halbbildern zu kennen.
hier das Script:
TMCkernelbob.avs
Code
function TMCkernelbob(clip input, int "th", bool "TFF") { function kernelbob(clip a, int th, int ord) { f=a.kerneldeint(order=ord, sharp=false, twoway=false, threshold=th) e=a.separatefields.trim(1,0).weave.kerneldeint(order=1-ord, sharp=false, twoway=false, threshold=th) interleave(f,e) } th = default(th,7) input = (TFF == true) ? input.assumetff.addborders(0,4,0,4) : input.assumebff.addborders(0,4,0,4) input = input.converttoyuy2(interlaced=true) x=input.separatefields.selecteven.tomsmocomp(0,-1,0).separatefields.selectodd y=input.separatefields.selectodd.tomsmocomp(0,-1,0).separatefields.selecteven a=interleave(x,y).weave.swapfields.kernelbob(th,0).crop(0,0,0,-1).addborders(0,1,0,0) #select TMC's extra-lines and deinterlace them b=input.kernelbob(th,0) #take the input clip and deinterlace it layer(a,b,"fast").crop(0,4,0,-4) #mix both to get a higher resolution blur(0,-1) #restore the sharpness lost due to the mixing }
benutzung:
Code
loadplugin("c:\x\kerneldeint140.dll")
loadplugin("c:\x\tomsmocomp.dll")
import("tmckernelbob.avs")
avisource("interlacedvideo.avi")
tmckernelbob(TFF=true) #TFF=false , wenn nur schrott rauskommt
Der Deinterlacer ist hauptsaechlich auf natuerliches Video ausgelegt.
Computergraphiken werden unscharf/unsauber.
Dafuer hat man bei nat. Video fast keine Treppcheneffekte in den interpolierten Bildstellen mehr, wie das Beispielbild veranschaulicht: