Try this to remove some of the "overshoot" spots:
If you still want to use QTGMC() use it after that, then run RemoveSpots() again after QTGMC() to alleviate some of the bounce that comes from the top and bottom fields being slightly shifted in position and intensity.Code:SeparateFields() top=SelectEven().RemoveSpots() bot=SelectOdd().RemoveSpots() Interleave(top,bot) Weave()
+ Reply to Thread
Results 31 to 60 of 61
-
Last edited by jagabo; 26th Nov 2012 at 19:44.
-
The script posted does a little cleaning, but there's still a long way to go (I didn't see any spots in the clip you linked to, neither before nor after processing, but I did see some bad block noise and chroma flutter). One problem: unless you forgot a Crop statement somewhere, your video enters the script as 720x480 but comes out as 736x480. It adds 16 pixels of width to the video for an invalid frame size to the encoder, but ignores the 12 pixels of head switching noise at the bottom of the frame.
@jagabo, thanks for the tips above. Will give it a try. When you view the 60fps progressive version, you can see those objects hopping vertically in the frames. But the horizontal wiggle...well, wish the video's maker had used a tbc.Last edited by sanlyn; 24th Mar 2014 at 11:29.
-
I'm not jagabo, but here you go:
http://forum.doom9.org/showthread.php?p=1591371&highlight=removespotsmc#post1591371
It continues in the post after this one. RemoveSpotsMC is just one of several RemoveSpots functions included.Last edited by manono; 27th Nov 2012 at 03:29.
-
Last edited by sanlyn; 24th Mar 2014 at 11:29.
-
I'm can't get RemoveSpotsMC to work. I copied all the RemoveSpots scripts from this post and onwards into a file called RemoveSpots.avsi. When I try to encode a video I get this message: error: Script error: expected `:'
(RemoveSpots.avsi, line 258, column 0)
Do I just put a colon where it says? -
That line, and a few others, are missing the ends of the line. Add " : NullClip(clp)" to the end of those lines.
-
OK now I've got this script: http://pastebin.com/KNLvYrHZ from here.
I've made sure I have all the plugins mentioned in the top of the script but I'm getting the following error:
error: LoadPlugin: unable to load "C:\PROGRAM FILES (x86)\AVISYNTH 2.5\PLUGINS\RemoveGrainT.dll", error=0x7e
(RemoveSpots.avsi, line 46)
PROCESS EXITED WITH ERROR CODE: 1
I downloaded RemoveGrainT-1.0 and put the RemovGrainT.dll in the correct location. I also tried with RemoveGrainTSSE2.dll and changed the code but got the same error message, this time it said the problem was with RemoveGrainTSSE2.dllLast edited by VideoFanatic; 27th Nov 2012 at 09:33.
-
I've tried for 2 years to get RemoveSpotsMC to run on any of my 3 PC's. Gave up on it. Will try jagabo's NullClip suggestion when I get time
later. The script quoted contains multiple functions, each a different version of RemoveSpots.
Tried jagabo's RemoveSpots idea. Works great to stop that object bobbing between fields. Fixed lots of temporal shimmer, chroma background flutter (most of it), most of the oversharp artifacts and ghosting, lots of aliasing and dot crawl, some of the crushed blacks, lots of the edge mosquito noise, most of the simmering tape noise, and got a more stable video. Used the script below, cleaned up the rest of the grunge in VirtualDub. Still a bit of subtle motion smear from all the crap in the original.
No Audio. Sorry. I forgot that.
Code:MPEG2Source(vidpath+"RemoveSpots Raw 1996 March 11 10 Secs.d2v") ColorYUV(cont_y=-10,off_y=-1) ColorYUV(cont_y=-5) McTemporalDenoise(settings="medium", AA=true, useEEDI2=false, DeBlock=true, sigma=6, edgeclean=true, interlaced=true) SeparateFields() top=SelectEven().RemoveSpots() bot=SelectOdd().RemoveSpots() tb=Interleave(top,bot).Weave() tb AssumeTFF().QTGMC(preset="fast") Vinverse() RemoveSpots() mergechroma(aWarpSharp(depth=20.0, thresh=0.75, blurlevel=2, cm=1)) LSFMod(strength=75,smode=3,secure=true,edgemode=2) AddGrainC(var=1.5,uvar=1.5) SeparateFields().SelectEvery(4,0,3).Weave() # --- RGB for VirtualDub antiflicker + crop --- ConvertToRGB32(matrix="Rec601",interlaced=true) Crop(0,0,0,-12).AddBorders(0, 6, 0, 6) return last
Last edited by sanlyn; 24th Mar 2014 at 11:29.
-
No blurring. The image is smoothed, most of it is smoothing of noise. Try LSFMod as in the script I posted above. There is no way to smooth and denoise and retain 100% of the so-called VHS "detail", half of which is noise anyway. VHS simply doesn't have that much fine detail to begin with.
Last edited by sanlyn; 24th Mar 2014 at 11:30.
-
-
I tested my commercial DVD test clip with RemoveSpots after QTGMC and got no smoothing/blurring. I did another test the same as before but I also put SeparateFields() and RemoveSpots before QTGMC and I DID get smoothing/blurring which is why I want to see what RemoveSpotsMC is like to see if it smoothes/blurs!
-
I don't understand why I don't have MSVCR80.dll as that apparently comes with Microsoft Visual C++ 2005 Redistributable and was a part of Windows yet I don't have that file. Is there anywhere I can get that file?
The same thing happened with the MSVCP71.dll and msvcr71.dll files. Vista had those files but Windows 7 64-bit does not. I only found out about them when I tried to author a Bluray in MultiAVCHD and it wouldn't let me because I didn't have those file. -
Are you sure you don't have them? Maybe they just installed in the wrong folder? System32 instead of SysWow64 (assuming you're using 32 bit versions). Everything in System32 is 64 bit.
A lot of applications ship with those libraries. Search your Program Files (x86) folder for them. -
The MSVCP71.dll and msvcr71.dll files that came with Vista were not in Windows 7 despite me having Visual C++ 2005, 2008 x 86, 2010 x64, 2010 x86 installed. I had to download them by searching on Google for them. I figured that out a long time ago.
However the MSVCR80.dll file I need for RemoveSpotsMC to work is not in either the System32 or SysWow64 folder.
On a seperate issue, any idea why AddGrainC lowers the file size on my Raw 1996 10 sec clip when I thought it's adding noise(grain)? What's weird is that's it's hiding the spots as well so the picture looks better and the file size is lower even though grain is added! -
Still get the error the following error in Simple x264 launcher: PROCESS EXITED WITH ERROR CODE: -1073741819
I also tried in Hc Encoder but that just crashes without giving an error message. -
Yes. In VirtualDub I also tried saving the video as an AVI and it began saving so I don't know why it doesn't work in HC Encoder or Simple X264 Launcher.
-
I asked on Doom9 why I'm getting the error and he said to try just RemoveGrainT on it's own to see if that works. I can't find any scripts for that anywhere. I just need a simple 1 line script to test that RemoveGrainT works. Do you have one?
-
Well, I usually have problems with RemoveSpotsMC() too. If I open a script in VirtualDub it works ok, but when I close it (or open another script) VirtualDub crashes. Same with x264. It gets all the way through the encode, then crashes. This is probably caused by a version conflict but I don't use RemoveSpotsMC() often and I don't want to screw up other filters chasing the problem down.
LOL, I just took a look and I didn't have RemoveGrainT at all. I downloaded it an put RemoveGrainTSSE2.dll in AviSynth's plugins folder and now it no longer crashes on exit.Last edited by jagabo; 27th Nov 2012 at 17:34.
-
I already had that file and it wasn't working in Hc Encoder & Simple x264 Launcher. Windows 7 is such a pile of crap - there's so many problems with it.
Do you know of any simple RemoveGrainT scripts just so I can test that my RemoveGrainTSSE2.dll works?
Are there any alternatives to RemoveSpots that I could use such as DeSpot? If so, could you please suggest a script? -
I don't know anything about RemoveGrainT. I didn't even have it until a few minutes ago.
-
Any idea how I activate the dehalo function in McTemporalDenoise as I notice halos in my commercial dvd sample?
Last edited by VideoFanatic; 28th Nov 2012 at 12:41.
-
It's in the documentation in MCTD's script for the Edgeclean parameter.
MCTemporalDenoise(settings="whatever",edgeclean=true,ECmode="dehalo_alpha()")
By default, edgeclean is false for all settings. quoted from the script:Last edited by sanlyn; 24th Mar 2014 at 11:30.
-
Thanks. So it's doesn't look like I can get RemoveSpotsMC() working. I'm just doing this:
Code:setmtmode(5,9) Mpeg2Source("J:\2 = New\commercial dvd.d2v", CPU=6) setmtmode(2,0) # SeparateFields() # I can't use removespots before QTGMC because it causes blurring/smoothing - too much quality is lost # top=SelectEven().RemoveSpots() # bot=SelectOdd().RemoveSpots() # Interleave(top,bot) # Weave() AssumeTFF() # or AssumeBFF() depending on the source QTGMC(Preset="Medium") # Removes interlacing artefacts. Strangely this is faster than Ultra Fast Vinverse() RemoveSpots() AddGrainC(var=1.0,uvar=1.0) SeparateFields() SelectEvery(4,0,3) Weave()
Sanlyn - What were those combing artifacts you were talking about some time ago? I can't see any interlacing artifacts.
Jagabo - You said that using RemoveSpots after QTGMC still causes blurring but I've watched a QTGMC only clip and another version with QTGMC and RemoveSpots and I can't tell the difference between them - I can't see any blurring difference. I could see some slight blurring on the refs shirt on both videos. I'm encoding to h264 not MPEG2 so I won't get the blocks and DCT ringing will I (like I would when encoding to MPEG2)? -
Last edited by sanlyn; 24th Mar 2014 at 11:30.
-
You said this about the commercial DVD sample before any work was done on it:
I was just wondering what combing artifacts you were talking about because I couldn't see any. Yes, there's no spots in the commerical DVD sample. I was talking about the other sample which is a few secs long. -
h264 has less problems with blocking and DCT ringing. As long as you use sufficient bitrate.
Nobody here can see what you're seeing on your TV. So we can't say where your problems may be. Maybe you should post samples of your videos after encoding. Also, the small amount of blurring from RemoveSpots() is very hard to see at normal playback speed. It's not surprising you're not seeing it.Last edited by jagabo; 28th Nov 2012 at 19:00.
Similar Threads
-
Improve performance with VirtualDub & AviSynth
By ziggy1971 in forum Video ConversionReplies: 5Last Post: 26th Jan 2012, 17:17 -
Colour Conversion problems with Avisynth
By wiseant in forum Video ConversionReplies: 6Last Post: 16th Mar 2011, 11:40 -
AviSynth Splicing Problems
By legocrazy1 in forum EditingReplies: 7Last Post: 13th Jul 2010, 23:15 -
Deinterlacing problems _ AviSynth
By pureimpure in forum Video ConversionReplies: 18Last Post: 15th Sep 2009, 20:25 -
What AviSynth filters and settings could I use to improve this old film ?
By chipsndukes in forum RestorationReplies: 38Last Post: 12th Aug 2009, 17:09