VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. I'm currently attempting to upscale my collection of old anime DVDs into 1080p using VapourSynth. It's going well, except I have the issue of very noticeable combing of originally non-combed lines post-deinterlacing. My process is to first use MeGUI to deinterlace before upscaling with Waifu2x-caffe. What I'm having trouble with is finding a code block for MeGUI that will decomb the lines that need it and leave the non-combed lines and non-ghosted frames untouched.

    RAW:
    Image
    [Attachment 57817 - Click to enlarge]

    Deinterlaced:
    Image
    [Attachment 57818 - Click to enlarge]


    Current MeGUI Code (Using QTGMC):
    Code:
    LoadPlugin("E:\MeGUI-2913-64\TDeint.dll")
    LoadPlugin("E:\MeGUI-2913-64\RgTools.dll")
    LoadPlugin("E:\MeGUI-2913-64\nnedi3.dll")
    LoadPlugin("E:\MeGUI-2913-64\DePanEstimate.dll")
    LoadPlugin("E:\MeGUI-2913-64\DePan.dll")
    LoadPlugin("E:\MeGUI-2913-64\mvtools2.dll")
    LoadPlugin("E:\MeGUI-2913-64\masktools2.dll")
    <input>
    <deinterlace>
    <crop>
    <resize>
    <denoise>
    import("E:\MeGUI-2913-64\SMDegrain.avsi")
    import("E:\MeGUI-2913-64\QTGMC.avsi")
    QTGMC( Preset="Slow", SourceMatch=3, Lossless=2, TR2=2 )
    SelectEven()
    Image Attached Thumbnails Click image for larger version

Name:	ff6c9cfdc2aa77877d34b7cb63c9324d.jpg
Views:	81
Size:	640.0 KB
ID:	57815  

    Click image for larger version

Name:	10cda849c3092b1179772123ca2490ab.jpg
Views:	79
Size:	979.8 KB
ID:	57816  

    Quote Quote  
  2. Normally a cartoon or anime DVD should be IVTCed, not deinterlaced

    If you use QTGMC and SelectEven, the framerate will be wrong, playback jerky

    Did you try TFM and TDecimate ?

    If you have a tricky source, post a cut sample of the source
    Quote Quote  
  3. Originally Posted by poisondeathray View Post
    Normally a cartoon or anime DVD should be IVTCed, not deinterlaced

    If you use QTGMC and SelectEven, the framerate will be wrong, playback jerky

    Did you try TFM and TDecimate ?

    If you have a tricky source, post a cut sample of the source
    I'm sorry to say that I'm very amateur when it comes to kind of stuff, and I'm not really sure what IVTC, TFM, or TDecimate are, much less how to use them. I would post a source sample, but this particular footage is from an ecchi series, and all the problematic segments feature large amounts of nudity.
    Quote Quote  
  4. Just find a section with steady movement and cut 10 seconds or so using DGIndex. Upload the resulting M2V here.
    Quote Quote  
  5. Upon further study, I feel like using TDeintMod with VapourSynth would work better, but I'm unsure how/if I should tweak the example script given by the mod-maker. Judging from this example clip, what you suggest I use as the command line, assuming I should change it at all?
    Image Attached Files
    Quote Quote  
  6. Your video sample is pure 3:2 (not a problematic sample)

    Extract video from MKV
    Index with DGIndex

    MPEG2Source("1 (1) (1)-002_track1_[eng].d2v")
    TFM()
    TDecimate()


    If you have a nvidia card and license with DGtools, you can use DGSource on MKV directly
    Quote Quote  
  7. Cool, do I need to specifically download any extra DLLs or anything to run the script, or would simply following the QuickStart guide and executing it through MeGUI be enough?
    Quote Quote  
  8. Nevermind, I figured it out. For anyone else wondering, here are the two extra DLLs you need. I extracted them into the "...\DGDecode\x64" folder along with the provided DGDecode.dll

    Template Script:
    Code:
    LoadPlugin("...\DGDecode\x64\DGDecode.dll")
    LoadPlugin("...\DGDecode\x64\TDeint.dll")
    LoadPlugin("...\DGDecode\x64\TIVTC.dll")
    MPEG2Source("__vid__")
    TFM()
    TDecimate()
    #Crop(left, top, -right, -bottom)
    Crop(0, 0, -0, -0)
    #Uncomment the below line if your framerate is not the usual 23.976;
    #the current input will have a framerate of 29.970 (the standard for most NTSC files)
    #AssumeFPS(30000, 1001, false)
    Once you follow the QuickStart guide steps in creating the d2v file, simply select the simultaneously created AVS file in MeGUI, and Queue it after you've made any necessary cropping.
    Last edited by AOmundson; 15th Mar 2021 at 22:15.
    Quote Quote  
  9. Originally Posted by AOmundson View Post
    ... and Queue it after you've made any necessary cropping.
    If any cropping is actually needed, you'd best stick the crop line after the IVTC.

    And had you followed my suggestion, pdr wouldn't have needed to mention extracting the video from the MKV:
    Originally Posted by manono View Post
    Just find a section with steady movement and cut 10 seconds or so using DGIndex. Upload the resulting M2V here.
    Quote Quote  
  10. Thank you, the script has been corrected
    Quote Quote  



Similar Threads

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