VideoHelp Forum
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. 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.
    Image Attached Files
    Quote Quote  
  2. Depending on how picky you are, this seems to work pretty well:

    TFM(PP=0,Chroma=True)
    TDecimate()
    Quote Quote  
  3. Thank you! Don't worry I'm not really picky for this source it's only a music video.
    Quote Quote  
  4. 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.
    Quote Quote  
  5. yea in the scene i put a sample of the deinterlacing looks fine, but the rest looks a little bit bad. What is vinverse?
    Quote Quote  
  6. 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()
    Quote Quote  
  7. 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)
    Quote Quote  
  8. 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.
    Quote Quote  
  9. ok so this is a different video from the same dvd. Can i use the same method of deinterlacing on it?
    Image Attached Files
    Quote Quote  
  10. 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.
    Quote Quote  
  11. on the dvd there is this last dvd extra. how do I deinterlace this?
    Image Attached Files
    Quote Quote  
  12. 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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!