I was just curious what i should use in an avisynth script to deinterlace this music video dvd. I usually only work with anime so I'm clueless.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 12 of 12
Thread
-
-
Depending on how picky you are, this seems to work pretty well:
TFM(PP=0,Chroma=True)
TDecimate() -
Thank you! Don't worry I'm not really picky for this source it's only a music video.
-
PP=0 can be risky as it turns off the post-processor. The post-processor (deinterlacer) messed up a few frames that looked good without it, but it's very possible to get some interlacing, especially at scene changes. I might stick on Vinverse in such situations, to take care of any leftover interlacing.
-
yea in the scene i put a sample of the deinterlacing looks fine, but the rest looks a little bit bad. What is vinverse?
-
Yeah, all I had to go on is the sample. The rest looks worse in what way? Some interlacing remains? You might try just removing the PP=0:
TFM(Chroma=True)
TDecimate()
Unless you're eagle-eyed you might not spot the few frames the deinterlacer messes up. As for Vinverse, it's a 'conditional' deinterlacer. It only deinterlaces those frames that need deinterlacing, and only those parts of the frames it 'sees' as being interlaced. You can find it here:
http://bengal.missouri.edu/~kes25c/vinverse.zip
You might use it like this:
TFM(PP=0,Chroma=True)
TDecimate()
Vinverse() -
V inverse fixed the few interlaced frames I saw. Now just one more question. My computer has 6 cores and I was just curious how to use this script with avisynth_mt. I have everything set up, I just don't know how to use in the actual script.LoadPlugin("C:\Users\Ryan\Downloads\MeGUI_2 418_x86\tools\dgindex\DGDecode.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\checkmate.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\TIVTC.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\vinverse.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrainS.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\FFT3DFilter.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\MSharpen.dll")
DGDecode_mpeg2source("C:\BRITNEY_SPEARS\VIDEO_TS\V TS_02_2.d2v", cpu=6)
checkmate()
TFM(PP=0,Chroma=True)
TDecimate()
Vinverse()
RemoveGrain(mode=1)
FFT3DFilter()
MSharpen(threshold=1,strength=50)
Crop(4, 0, -4, -0)
Spline36resize(640,480) -
I guess you know the CPU=6 setting in the DGDecode line has nothing to do with how many cores your CPU has, but tells DGDecode to deblock and dering everything. I never use it myself as it smooths the hell out of a video.
Using MT can be tricky as you have to tune it and some filters can use the '2' setting and others can't. So you have to do a lot of testing. It's often suggested to use a light setting at the top:
SetMTMode(5,12)#12 for twice the number of cores, but may have to experiment
And then put what you really want after the DGDecode_mpeg2source line:
SetMTMode(2)
More info here:
http://forum.doom9.org/showthread.php?t=148782
http://web.archive.org/web/20130308191718/http://avisynth.org/mediawiki/MT_support_page
Or just try what you want from the beginning:
SetMTMode(2,12)
That's what I often do.
-
ok so this is a different video from the same dvd. Can i use the same method of deinterlacing on it?
-
You could, yes. I noticed that one frame getting deinterlaced by Vinverse was pretty obviously blended (which is what Vinverse does). So I decided maybe this is a bit better:
TFM(Clip2=Nnedi3,Chroma=True)
TDecimate()
That 'Clip2' setting says to use Nnedi3 as the deinterlacer when needed. Doing it that way a lot of frames get deinterlaced and using Nnedi3 keeps those deinterlaced frames looking good. There are lots of ways of doing this. -
That was shot using video cameras. If for DVD you don't deinterlace at all. If it has to be progressive, then you use a deinterlacer in single or double-rate (bob) mode. Yadif, QTGMC, whatever.
Similar Threads
-
Is this the right wayto deinterlace this sample?
By beav in forum Newbie / General discussionsReplies: 18Last Post: 11th May 2013, 14:19 -
Does this sample look ghosted to you guys?
By beav in forum Newbie / General discussionsReplies: 7Last Post: 7th May 2013, 23:06 -
Premiere and sample rates
By tpapictures in forum EditingReplies: 6Last Post: 4th Apr 2011, 21:05 -
avc mp4 sample?
By kablooie29 in forum Newbie / General discussionsReplies: 2Last Post: 24th Oct 2009, 13:06 -
[SOLVED!] Converting Variable Sample Rate to Constant Sample Rate
By Midzuki in forum AudioReplies: 17Last Post: 24th May 2009, 11:26