Hello, and Happy Saturday . I'm wanting to upscale my Speed Racer DVD's and was looking for help to improve the encodes' sharpness. Using an updated version of the script I finally settled on for my Simpsons DVD's, this is my current script:
Given the source, I find the results surprisingly OK but was hoping for some help making the final output slightly sharper (it looks a bit too blurry to my eyes). I fiddled about with the ### Darken-Thin Lines ### section of the script, trying various settings, but I couldn't find a better combination. I'd certainly be open to a different line sharpener-darkener, and would appreciate any other suggestions for improvement, too. Thanks. Here's a test clip.Code:DGDecode_mpeg2source("Path") ### Deinterlace-Match Fields-Decimate ### Function FieldMatch(Clip C) { PP = C.DuplicateFrame(0) CC = C NN = C.DeleteFrame(0) P2 = PP.SeparateFields C2 = CC.SeparateFields N2 = NN.SeparateFields PC = Interleave(P2.SelectEven,C2.SelectOdd).Weave CP = Interleave(C2.SelectEven,P2.SelectOdd).Weave CN = Interleave(C2.SelectEven,N2.SelectOdd).Weave NC = Interleave(N2.SelectEven,C2.SelectOdd).Weave Deint = CC.QTGMC.SelectEven SSS=""" \ !CC.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? CC \ : !NN.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? NN \ : !CN.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? CN \ : !NC.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? NC \ : !PP.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? PP \ : !CP.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? CP \ : !PC.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? PC \ : Deint """ Args="CC,NN,CN,NC,PP,CP,PC,Deint" Return CC.GScriptClip(SSS,Args=Args,Local=True) } TFM(Order=-1,Mode=5,PP=2,Clip2=FieldMatch(),Slow=2,MChroma=False,UBSCO=False,CThresh=12,Chroma=True) TDecimate(Mode=1) ### Fix Line-Doubled Fields ### NNEDI3(Field=-2) Merge(SelectEven(),SelectOdd()) ### Color Conversion ### ColorMatrix(Mode="Rec.601->Rec.709") ### Color Adjustment ### MergeChroma(aWarpSharp2(Depth=16)) ### Crop ### Crop(8,0,-8,0) ### Gibbs Noise Block ### Edge=MT_Edge("prewitt",ThY1=20,ThY2=40).RemoveGrain(17) Mask=MT_Logic(Edge.MT_Expand().MT_Expand().MT_Expand().MT_Expand(),Edge.MT_Inflate().MT_Inpand(),"xor").Blur(1.0) MT_Merge(Minblur(),Mask,Luma=True) ### Deblock ### vsDeblockPP7() ### Overall Temporal Denoise ### ConvertToYUV444.ConvertBits(32) Anime4KCPP(ACNet=True,HDN=True,HDNLevel=2) ConvertToYUV420.ConvertBits(16) ### Resize ### NNEDI3_RPow2(2,CShift="Spline36Resize",FWidth=960,FHeight=720) aWarpSharp2(Depth=5) Sharpen(0.2) ### Darken-Thin Lines ### FastLineDarkenPlus(Strength=24,Prot=6) aWarpSharp2(Blur=4,Type=1,Depth=8,Chroma=2) ### Deband ### Neo_F3KDB(Y=100,Cb=100,Cr=100,GrainY=0,GrainC=0)
+ Reply to Thread
Results 1 to 1 of 1
-
Last edited by LouieChuckyMerry; 27th Jul 2024 at 21:34. Reason: [/code], Not [code/]; Fixed Typing Errors
Similar Threads
-
Suggestions For Optimizing SD Animation Encoding
By LouieChuckyMerry in forum DVD RippingReplies: 135Last Post: 8th Dec 2024, 14:48 -
Recommendations for my DVD upscale lineage
By ElegantRain in forum RestorationReplies: 12Last Post: 2nd Jun 2023, 12:10 -
Need help with my DVD upscale project
By ElegantRain in forum RestorationReplies: 16Last Post: 1st May 2023, 20:49 -
Restore/upscale Poorly Mastered Anime DVD -- Please help!!
By laserbolt5 in forum RestorationReplies: 10Last Post: 21st Jan 2021, 20:12 -
Any way to reencode a DVD to 1080p using my MadVR upscale settings.
By Hoover1979 in forum Video ConversionReplies: 2Last Post: 12th Mar 2020, 00:52