VideoHelp Forum
+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 60
Thread
  1. Member
    Join Date
    Feb 2010
    Location
    canada
    Search PM
    Hi Friends!

    I have a question for the gurus here. I have yet another crappy DVD that I am trying to fix. There is a lot wrong with it, but I thought I would start by deinterlacing it. I am trying to learn the principals behind deinterlacing. I have had movies where I noticed "mice teeth" or "jaggies", and sometimes that was the result of telecined video. If I understand correctly, that problem is not fixed by using a deinterlacer like QTGMC, but rather with TFM() & TDecimate(). I do not think that the video I have here is telecined video. Mice Teeth and Jaggies abound. Here is a clip:

    http://files.videohelp.com/u/183506/sins.demuxed.m2v

    Would I fix this with the following script?

    Mpeg2Source("VTS_01_1.d2v")
    AssumeTFF().QTGMC(Preset="placebo")
    SRestore()
    AssumeFPS(23.976)

    Would this deliver the best results or should I be using something entirely different? Also, I was wondering if the mice teeth and jaggies are a result of poor pal to ntsc conversion.

    Many thanks for your help again, video masters!!!

    best,

    h
    Quote Quote  
  2. what kind of footage is it?

    for movie:
    TFM(order=1) # for interlaced TFF
    vinverse # to remove residual combing / not mandatory
    TDecimate() # for cartoons: TDecimate(mode=1)

    also possible with qtgmc:
    QTGMC( Preset="Slower", SubPel=2, Sourcematch=3, Lossless=2).assumefps(60000,1001)
    srestore(24000.0/1001.0)
    Last edited by themaster1; 18th Apr 2014 at 12:17.
    *** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
    Quote Quote  
  3. Member
    Join Date
    Feb 2010
    Location
    canada
    Search PM
    Hi!

    The footage is dvd. Thanks!
    Quote Quote  
  4. Member
    Join Date
    Feb 2010
    Location
    canada
    Search PM
    Would I be correct if I said that this was Interlaced footage encoded as progressive?
    Quote Quote  
  5. Originally Posted by hizzy7 View Post
    Would I be correct if I said that this was Interlaced footage encoded as progressive?
    No, it's interlaced footage encoded as interlaced. A number of apps can tell you that. For example, open a VOB in DGIndex and run the Preview (File->Preview) and check the 'Frame Type' in the Information Window. It's the usual PAL2NTSC garbage and the script in your first post will unblend it reasonably well if very slowly.
    Quote Quote  
  6. Member
    Join Date
    Feb 2010
    Location
    canada
    Search PM
    When I run it through DGindex to create a dv2 file the info window says the frame type is Progressive. It's not creating a progressive file, is it?

    Thanks Manono!!
    Quote Quote  
  7. Originally Posted by hizzy7 View Post
    When I run it through DGindex to create a dv2 file the info window says the frame type is Progressive.
    If you had done as I suggested and run the Preview, you'd have seen that only the very last frame was Progressive while everything else was Interlaced. It's that last Progressive frame you see after making the D2V.
    It's not creating a progressive file, is it?
    No.
    Quote Quote  
  8. Member
    Join Date
    Feb 2010
    Location
    canada
    Search PM
    Thank you! I ran the preview which said interlaced, but i didn't run it to the end - I never knew you could have a frame be progressive. I figured that when the DVD was encoded that it would stay the same throughout. Thank you for the clarification!
    Quote Quote  
  9. Member
    Join Date
    Feb 2010
    Location
    canada
    Search PM
    One thing I was curious about: After creating my lagarith AVI with the script above, the aspect ratio goes from 4:3 to 3:2. When I use my dvd authoring program, it goes back to 4:3. Why would that happen? Is there any way to keep it at 4:3 or does it not matter?

    Thank you!
    Quote Quote  
  10. AVI doesn't really have a way of specifying the display aspect ratio. The reason your AVI file appears to have a 3:2 DAR is because it has a 3:2 frame aspect ratio -- with no other AR information programs use that.
    Quote Quote  
  11. Member
    Join Date
    Feb 2010
    Location
    canada
    Search PM
    Hi Manono, Jagabo & anyone else that wants to chime in!

    What do you think of this for the pal/ntsc fix?

    LoadCPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\yadif.dll")
    Mpeg2Source("VTS_01_1.d2v")
    AssumeTFF().yadif(mode=1, order=1) # bob
    vInverse() # clean up a little residual combing
    SRestore() # back to 25 fps
    AssumeFPS(24000,1001)
    QTGMC(InputType=3) # reduce shimmer

    Thanks!!
    Quote Quote  
  12. Originally Posted by hizzy7 View Post
    LoadCPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\yadif.dll")
    Mpeg2Source("VTS_01_1.d2v")
    AssumeTFF().yadif(mode=1, order=1) # bob
    vInverse() # clean up a little residual combing
    SRestore() # back to 25 fps
    AssumeFPS(24000,1001)
    QTGMC(InputType=3) # reduce shimmer
    I wouldn't do that, but if it works for you...

    1. Yadif is probably responsible for adding to the shimmer. I'd use a different bobber in this case. There are many from which to choose so you don't have to use QTGMC (which probably prevents it from being used a second time in the same script). Or use QTGMC(Input Type=3) later, in a second script.
    2. Almost by definition, after bobbing there can be no combing in those bobbed fields for Vinverse to work on. My guess is the 'combing' is really aliasing or something similar.
    Quote Quote  
  13. Member
    Join Date
    Feb 2010
    Location
    canada
    Search PM
    Hi Manono!

    What do you prefer to yadif?

    Thanks!!
    Quote Quote  
  14. Originally Posted by manono View Post
    2. Almost by definition, after bobbing there can be no combing in those bobbed fields for Vinverse to work on. My guess is the 'combing' is really aliasing or something similar.
    Not combing from motion but there are often comb-like artifacts from slightly different brightness in the two paired fields. Especially with blocky MPEG sources.
    Quote Quote  
  15. Member
    Join Date
    Feb 2010
    Location
    canada
    Search PM
    Here is another clip from the same film:

    http://files.videohelp.com/u/183506/sins%20of%20wutai.demuxed.m2v

    There is a lot going wrong here; some shimmering, combing, and even some dot crawl. I hope I have identified these things well. I thought the script I posted in post # 11 was okay, but just okay. Any suggestions would be appreciated.

    Thanks, Video Masters!!
    Quote Quote  
  16. Originally Posted by hizzy7 View Post
    What do you prefer to yadif?
    I don't know. If you're not using QTGMC then YadifMod with NNEDI3 is pretty good.
    Quote Quote  
  17. He means something like this:

    yadifmod(mode=1, order=1, edeint=nnedi3(field=-2))

    By the way, you might try using RemoveSpotsMC() to remove a lot of the dust and scratches. And Stab() to get rid of the film bounce:

    Code:
    Mpeg2Source("sins of wutai.demuxed.d2v", CPU2="ooooxx", Info=3) 
    AssumeTFF()
    ColorYUV(off_y=-12)
    yadifmod(mode=1, order=1, edeint=nnedi3(field=-2))
    vInverse()
    Stab()
    Crop(4,96,-16,-92)
    SRestore()
    RemoveSpotsMC()
    QTGMC(InputType=3) # reduce shimmer
    AssumeFPS(24000,1001)
    Image Attached Files
    Last edited by jagabo; 20th Apr 2014 at 07:19.
    Quote Quote  
  18. Member
    Join Date
    Feb 2010
    Location
    canada
    Search PM
    Hi!

    How is this?

    Mpeg2Source("VTS_01_1.d2v")
    yadifmod(mode=1, order=1, edeint=nnedi3(field=-2))
    sRestore()
    AssumeFPS(24000,1001)
    QTGMC(InputType=2)


    Do you think it is better than:

    Mpeg2Source("VTS_01_1.d2v")
    AssumeTFF().QTGMC(Preset="placebo")
    SRestore()
    AssumeFPS(23.976)

    Should I be using vinverse?

    I don't know if you have it handy, but I can't find the plugins for removespotsmc.

    Thanks again!!
    Quote Quote  
  19. Here's the RemoveSpotsMC() that I used.
    Image Attached Files
    Quote Quote  
  20. Member
    Join Date
    Sep 2012
    Location
    Australia
    Search Comp PM
    Originally Posted by themaster1 View Post

    also possible with qtgmc:
    QTGMC( Preset="Slower", SubPel=2, Sourcematch=3, Lossless=2).assumefps(60000,1001)
    srestore(24000.0/1001.0)
    Quick question, not really related but... wouldn't using QTGMC in lossless mode in lieu of IVTC risk serious bobbing when the fields are out of phase or am I missing something? I was thinking of adding it to my script but...
    Quote Quote  
  21. Member
    Join Date
    Feb 2010
    Location
    canada
    Search PM
    RemovesspotsMC is amazing, but I can't get it to run

    I went on a plugin hunt and found all of this stuff:


    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\removedirt.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\removedirts.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\repair.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\removegrain.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\repairt.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\removegraint.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mvtools2.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\removedirt.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\fluxsmooth.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\vaguedenoiser.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\deflicker.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\despot.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mt_masktools-25.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\masktools.dll")
    #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\fft3dfilter.dll")

    #LoadVirtualDubPlugin("C:\Program Files (x86)\VirtualDubMOD\plugins\spotremover.vdf", "SpotRemover", 11)


    But when i try to run the script, I keep getting: "There is no function named RemovespotsMC"

    I am also getting a new message when trying to tun virtualdubmod: The program can't start because avsrecursion.dll is missing. I didn't delete anything, though... This is a complex one for me!!!!! Thanks for any help you folks can offer.
    Quote Quote  
  22. Member
    Join Date
    Sep 2012
    Location
    Australia
    Search Comp PM
    http://forum.doom9.org/showthread.php?t=166579

    "There is no function..." means you don't have the script anywhere AVISynth can find it.

    (edit: it should be in the plugins folder with an avsi extension for it to autoload)
    Quote Quote  
  23. Member
    Join Date
    Feb 2010
    Location
    canada
    Search PM
    Hi!

    I used the removespotsmc that jagabo posted. It's an avs file. Is that no good?

    Thanks!
    Quote Quote  
  24. Member
    Join Date
    Sep 2012
    Location
    Australia
    Search Comp PM
    Only if you import it explicitly...

    Import(filename): evals contents of another AviSynth script (imports the text of another script)

    I think that's it, I've never done it before.

    Either rename the extension to .avsi or import it into the script.
    Last edited by ndjamena; 20th Apr 2014 at 19:38.
    Quote Quote  
  25. AVS functions must be explicitly imported, even if they are in AviSynth's plugins folder:

    Code:
    import("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveSpotsMC.avs")
    Change the path to the script on your computer if necessary.

    If the script is in AviSynth's plugins folder you can rename it "RemoveSpotsMC.avsi" and it should autoload.

    RemoveSpotsMC is very fragile. Everything must be set up just right. And often crashes on closing the editor/encoder or on reload (eg, F2 in VirtualDub). Even sometimes while scrubbing through a video. Especially when used in conjunction with other filters that use mvtools (like QTGMC, McTemporalDenoise, etc.).
    Last edited by jagabo; 20th Apr 2014 at 19:43.
    Quote Quote  
  26. Member
    Join Date
    Aug 2002
    Location
    South Florida
    Search Comp PM
    I had a bad DVD but, was able to salvage the vob's (with ISOBuster.) After that it was a piece of cake.
    Quote Quote  
  27. Originally Posted by pepegot1 View Post
    I had a bad DVD but, was able to salvage the vob's (with ISOBuster.) After that it was a piece of cake.
    Well, good for you! But I think you posted in the wrong thread.
    Quote Quote  
  28. Member
    Join Date
    Feb 2010
    Location
    canada
    Search PM
    Hi Jagabo!

    I figured how to load remove spots, but it crashes virtualdubmod upon opening. Do you have any suggestions?

    Thanks!

    h
    Quote Quote  
  29. Member
    Join Date
    Sep 2012
    Location
    Australia
    Search Comp PM
    Why are you using VirtualdubMOD???? It hasn't been updated in seven years. I'm pretty sure most of its features are included in VirtualDub by now.
    Last edited by ndjamena; 20th Apr 2014 at 20:40.
    Quote Quote  
  30. Try RemoveSpots() instead of RemoveSpotsMC() -- it's in the same AVS script. That's not as effective but simpler. If that works try going back to the MC version. Remove your QTGMC() call since using the two together sometimes causes crashes. Stab() too. You might have to run the script without RemoveSpotsMC(), save to an intermediate lossless AVI, then run RemoveSpotsMC() on that lossless file. Try VirtualDub instead of VirtualDubMod. Try using SetMemoryMax() to adjust memory usage.
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!