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.
+ Reply to Thread
Results 1 to 12 of 12
Thread: How to deinterlace this sample?
Depending on how picky you are, this seems to work pretty well:
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:
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:
You might use it like this:
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)
Crop(4, 0, -4, -0)
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:
More info here:
Or just try what you want from the beginning:
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:
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.
on the dvd there is this last dvd extra. how do I deinterlace 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.