Hi there. I am attempting to restore these old DVDs of a UK Show but am running into some issues with my inexperience. I am attempting to only restore certain skits from this TV series that look like they were from a Film source rather than a true interlaced source since they don't look like they're interlaced when I play the file in AvsPmod, before any filters. From what I can tell there's a good amount of mosquito noise and ghosting going on in the segments I'm trying to extract. I tried to remove them with the following but the ghosting is still present.
The above gives the best result but I've also tried this as well which may be incorrect as it's not interlacedCode:mpeg2source("ULTIMATE_FAST_SHOW_COLLECTION_D2\VIDEO_TS\VTS_03_1.d2v", cpu=4, info=3) ConvertToYV12() TFM() LSFMod(Strength=75, Smode=5, Smethod=4, secure=True,preblur="FFT3Dfilter(sigma=4,plane=0)") GradFun3() LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, dest_x=last.width, dest_y=last.height, Smode=4, strength=50, radius=2, Lmode=1, wide=false, overshoot=1, edgemode=0, special=true, exborder=0) ColorMatrix(mode="Rec.601->Rec.709") nnedi3_rpow2(rfactor=2,cshift="Spline36Resize",fwidth=1920,fheight=1536)
I saw that using QTGMC was recommended for its noise reduction which does give nice results but artifacts in some places whereas the first script gives a noisier but cleaner result.Code:mpeg2source("ULTIMATE_FAST_SHOW_COLLECTION_D2\VIDEO_TS\VTS_03_1.d2v", cpu=4, info=3) ConvertToYV12() QTGMC( Preset="Slower" ) SRestore(frate=25) LSFMod(Strength=75, Smode=5, Smethod=4, secure=True,preblur="FFT3Dfilter(sigma=4,plane=0)") GradFun3() LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, dest_x=last.width, dest_y=last.height, Smode=4, strength=50, radius=2, Lmode=1, wide=false, overshoot=1, edgemode=0, special=true, exborder=0) ColorMatrix(mode="Rec.601->Rec.709") nnedi3_rpow2(rfactor=2,cshift="Spline36Resize",fwidth=1920,fheight=1536)
I've attached a sample below of a bit of the interlaced stuff (not for restoration, just there to show what's on the DVD, if useful) and then the next scene is what I'd like to clean up (film source?) which isn't interlaced as I can see.
What would you recommend for this scene? Does it need deinterlacing? I notice that the hair looks like it's being blended together when I run either filter above and that there's major ghosting on edges like the chair. Is it possible to make the edges sharp? I was able to get them to look much better with WarpSharp but that seems to make everything too cartoony (and isn't listed on the Avisynth External Filters page anymore). Also what would you recommend for the periodic white spots that appear throughout or the fuzzy edges with skewed washed out color? Is that odd that the edges are soft if it's a film source? I usually see that with VHS to DVD transfers, not film.
Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or try DVDFab and copy, convert or make Blu-rays and DVDs! :)
+ Reply to Thread
Results 1 to 9 of 9
Last edited by camjac251; 2nd Nov 2018 at 00:13.
I made a bit of progress with the restoration although I think I'm missing a step somewhere. I had a thread on Doom9 but since it's currently down, I'll copy it here.
This is the script I'm currently using
mpeg2source("ULTIMATE_FAST_SHOW_COLLECTION_D2\VIDEO_TS\VTS_03_1.d2v", cpu=0, info=3) ConvertToYV12(matrix="Rec601", interlaced=true) Deblock_QED(quant1=24, quant2=26, aOff1=1, aOff2=1, bOff1=2, bOff2=2, uv=3) QTGMC( Preset="Slow", FPSDivisor=2, TR2=3 ) TemporalDegrain2() FineDehalo(rx=2.0, ry=2.0, thmi=80, thma=128, thlimi=50, thlima=100, darkstr=1.0, brightstr=1.0, showmask=0, contra=0.0, excl=true) LimitedSharpenFaster(ss_x=1.6,ss_y=1.0,Smode=3,strength=100,soft=0,edgemode=2,wide=false) nnedi3_rpow2(rfactor=2, nsize=6, nns=4, cshift="Spline36Resize") GradFun3() ColorMatrix(mode="Rec.601->Rec.709") Trim(28261,30009)
If I try to use NoiseProcess=2 in my QTGMC settings, the footage will end up looking dark and washed out, like it's a different colorspace.
This is the script I'm using in this example below
mpeg2source("ULTIMATE_FAST_SHOW_COLLECTION_D2\VIDEO_TS\VTS_03_1.d2v", cpu=0, info=3) ConvertToYV12(matrix="Rec601", interlaced=true) QTGMC(Preset="Slower", FPSDivisor=2, ShowSettings=true) ColorMatrix(mode="Rec.601->Rec.709") Trim(28261,30009)
I've tried disabling the ColorMatrix filter, ConvertToYV12, tried RGB as well. I did a clean install of the filters required for QTGMC as well except redownloading QTGMC since it's not available with Doom9 being down right now.
Is there a step I'm missing that's causing this issue?
Last edited by camjac251; 5th Nov 2018 at 22:12.
It might be from using an older masktools2.dll or mvtools2.dll version . Try updating those
If you have something like mt_masktools-26.dll in the plugins directory , move that to another folder . The pinterf branch is "masktools2.dll"
Actually it's from a newer version of those plugins with avs x86 . avs x64 works ok . I just updated myself, and now I can replicate your "dark" problem with QTGMC NoiseProcess=2 , whereas before with slightly older .dll's it was ok . I'll try to figure out exactly which one locally, and eventually file a bug report
Which avisynth version are you using ?
It's not related to mvtools2 .
It looks like masktools2 2.2.14 is the last version for x86 that didn't exhibit the problem, at least for me. My avs x86 is "avisynth classic" , avs x64 is avs+mt
masktools2-v2.2.14 x86 => ok
masktools2-v2.2.16 x86 => dark
masktools2-v2.2.17 x86 => dark
masktools2-v2.2.18 x86 => dark
(For x86 I only tested the x86 versions, not the x86_xp versions)
Last edited by poisondeathray; 5th Nov 2018 at 23:04.
And did you try 2.2.14? did it "fix" the "dark" problem for you ?
I'm trying it now and get an error. Script error: mt_lut does not have a named argument "use_expr" SMDegrain.avsi line 737 QTGMC.avsi line 494.
It might be that I'm using the latest version of SMDegrain. I think that requires at least 2.2.15 of MaskTools with what it shows in the commented section of the script.
I might wait until doom9 comes back online since there may be a fix on the QTGMC thread already.
These are the ones that work ok for x64 for me . I don't know if there are newer ones.
It "feels" like some masktools2 bug or version incompatibility to me; since older x86 versions work with their matching older versions
https://pastebin.com/vm7S4PUS which is the latest QTGMC version.
I was on QTGMC 3.358 before updating. Using the latest versions of its dependencies as well and the color issue is now fixed. Also I think you may need masktools 2.2.17 or higher according to the readme at the top of the QTGMC script, older versions may not work.