![]() |
Where to find RemoveDirtMC & ReplaceFramesMC2?
Back in September, Sanlyn presented an AviSynth script that used RemoveDirtMC and ReplaceFramesMC2. The only thing I found for RemoveDirtMC was a Doom9 thread that had text for the plugin. I copied the text and put it in a file marked as avsi in the AviSynth plugin folder. I get a "there is no function "script error. What should I do?
I have the set of Lordsmurf's AviSynth plugins that have RemoveDirt, RemoveDirtS, and RemoveDirtSSE. Should I substitute one of these for RemoveDirtMC(40,false)? I am not able to find anything on ReplaceFramesMC2 on the AviSynth wiki site. Any ideas what to do for it? It was setup as ReplaceFramesMC2(15,1). Thanks, Steve |
1 Attachment(s)
Quote:
See attachment. Do you already have those? No idea if it'll help, but surely can't hurt! I know a lot about Avisynth, but realize there's almost an infinite number of scripts that can be written. I forget some things, and some things I never knew. I feel like I'm constantly learning new scripting, both from others, and from my own trials. Always to attack a specific problem. |
1 Attachment(s)
ReplaceFramesMC2
from https://forum.doom9.org/showpost.php...6&postcount=14 Code:
# ######################################################################################################from https://forum.videohelp.com/threads/...=1#post2224484 "Here's my current version of ReplaceFramesMC()" Code:
function ReplaceFramesMC(clip Source, int N, int X)... though it did not for me. johnmeyer may be able to help, let me nudge him, see if he'll post here. :) |
Quote:
RemoveDirtMC.avs: http://www.digitalfaq.com/forum/atta...emovedirtmcavs Old VisualC++ system support files for Win7 and later (for RemoveDirt and several other Avisynth plugins: http://www.digitalfaq.com/forum/vide...s-running.html The two plugin versions below were posted at digitalfaq in post #60 at the bottom of the page in the thread Help choosing the proper VHS capturing workflow?: ReplaceframesMC.avsi: http://www.digitalfaq.com/forum/atta...ceframesmcavsi ReplaceframesMC2.avsi: http://www.digitalfaq.com/forum/atta...eframesmc2avsi Almost anything that has "MC" in its name will require the motion vector plugin MVTools2. It comes with QTGMC and several other complicated plugins, so if you have QTGMC and it's working, you have one of the later MVTools versions. A new MVTools2 comes out every 15 minutes (or so it seems). I update it every couple of years or so. Note that the latest incarnation of MVTools in the Avisynth wiki comes with a new version of the DePan motion tools. The new Depan tools will screw up every other Avisynth filter that uses it, so I'd stay away from it. |
Thank you for the feedback. I've been away from studying restoration approaches for a while. I captured all my VHS tapes, but switched to how to capture film in trying to get some done before Christmas. I've been through a variety of crash courses in optics, motor control, digital camera technology, etc while preparing to capture 8mm and 16mm film. My industrial camera alone came with an over 200 page manual. The camera is basically a computer in a very small 1" box. Well, the film capture turned out to be a bigger problem than I thought so I'm back to improving the bad film captures done by someone else and I'm working on my VHS captures.
The scripts I am referring to are in post 11 of http://www.digitalfaq.com/forum/vide...ermittent.html. So far, I've updated the script to point to my file and added LoadPlugin lines to add TIVTC and AutoAdjust from LordSmurf's plugin list (LordSmurf thank you for the plugins). My AviSynth plugins folder already had the RemoveDirtMC.avs file from my work in September (thank you Sanlyn). The RemoveDirtMC text I downloaded from Doom9 and labeled as an avsi didn't work. I renamed the RemoveDirtMC.avs file from Sanlyn and it works--up to the point of needing RestoreMotionBlocks. Rats! RestoreMotionBlocks: Doom9 says it's part of RemoveDirt. AviSynth wiki chart of filters says it's part of RemoveGrain--but it's not. Sorry to be a pain in the arse, but any thoughts where to get RestoreMotionBlocks? An internet search didn't point to a concrete place to find it, just references that it's part of RemoveDirt. It's actually just a function called in the RemoveDirt script. Thank you very much, Steve |
Every RemoveDirt variant I've seen has some form of a scripted "RemoveDirt" function inside of it. What none of them have is the compiled RemoveDirt .dll's. They are in RemoveDirt_v09.zip: http://www.digitalfaq.com/forum/atta...ovedirt_v09zip.
|
Thank you! VDub is now happy. So RestoreMotionBlocks is inside the RemoveDirt dll -- true? RemoveDirtMC relies on RemoveDirt?
Would changing the RemoveDirt avs extension to avsi do the same thing as the Import function? I changed another item from your script from avs to avsi and VDub accepted it. Lordsmurf, thanks for the ReplaceFrames info. Man, I am constantly amazed that you guys can respond so often and quickly to questions. I'm also amazed you have kept your sanity with the huge number of plugins and their multitude of versions. (am I assuming too much on the sanity comment :hmm:) Steve |
Quote:
A few years ago someone at doom9 posted a collection of 6 different plugins called RemoveDirtmod, RemoveDirtMC, RemoveDirtMC2, and so forth, all needing the same .dll but all using a different internal text function called "RemoveDirt". Needless to say, all 6 versions were .avs files, not .avsi. There are also 4 or 5 different .avs versions of a plugin called RemoveSpots, with different names but with a text version of "RemoveDirt" inside each one. Some even have a different version of a text function called "RemoveSpots" inside !!! Quote:
|
Quote:
There have been times where I wanted time scream into a pillow. :pullhair: |
There have been times when I did scream into a pillow. Even times without the pillow.
|
1 Attachment(s)
Sorry for the resurrection (it's still April), but I came across this thread and noticed that the ReplaceFramesMC() code listed does not maintain the audio of the area interpolated. I have been using a different version where I incorporated AudioDub into the function to save time. Hopes it helps.
Code:
# ######################################################################################################## |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.