bopshello.blogg.se

Avisynth vhs restoration
Avisynth vhs restoration












avisynth vhs restoration

i wonder if this is this similar to AUTOLEVELS,AUTOWHITE in FRED/JOHN scripts ? #DepanStabilize(data=globalmotion, rotmax=5, cutoff=0.5, prev=3, next=3, pixaspect=1.094, dxmax=20, dymax=20, method=1) # lower vibration frequency cutoff #globalmotion = MDepan(vect0, pixaspect=1.094, thSCD1=400, zoom=true, rot=true, range=2) #1.094 for standard PAL

avisynth vhs restoration

#vect0 = MAnalyse(super0,isb=false, blksize=blksize, overlap=overlap, dct=dct, chroma=true) #super0 = MSuper(pel=2,chroma=true,sharp=2) #dct=0 # use dct=1 for clip with light flicker #overlap=4 # overlap value (0 to 4 for blksize=8) Must be even and less than block size Larger blocks are less sensitive to noise, are faster, but also less accurate. #blksize=8 # 4, 8 or 16 ( default is 8 ). do the motion stablization here - Does QTGMC keep motion vectors that I can re-use in "MDepan" ? if so, I wonder how ? QTGMC(Preset="Slow", EdiThreads=2, Sharpness=1.4, SLMode=1, NoiseDeint="Generate", StabilizeNoise=true) # result is double framerate progressive, so re-interlate it later # StabilizeNoise (bool) Use motion compensation to limit shimmering and strengthen detail within the restored noise. "Generate" is a high quality mode that generates fresh noise lines, but it is slower. "Bob" & "DoubleWeave" are fast but with minor issues: "Bob" is coarse and "Doubleweave" lags by one frame.

#AVISYNTH VHS RESTORATION HOW TO#

# NoiseDeint (string) When noise is taken from interlaced source, how to 'deinterlace' it before restoring. # Sharpness = (0.0.) How much to resharpen the temporally blurred clip (default is always 1.0 unlike original TGMC) # SLMode = (0,1,2,3,4) Sharpness limiting: 0 = off, : before final temporal smooth, : after final temporal smooth # Preset = "Placebo", "Very Slow", "Slower", "Slow", "Medium", "Fast", "Faster", "Very Fast", "Super Fast", "Ultra Fast", "Draft". QTGMC deinterlace into double framerate, sharpen whilst we're doing it SMDegrain(tr=2, Contrasharp=true, RefineMotion=false, plane=4, Interlaced=true, pel=2, prefilter=3, blksize=8, overlap=4, Chroma=false) #deblock_QED(quant1=48) # treat the blockiness introduced by the last step of the vhs-to-mpeg2dvd capture SeparateFields() # no need for pointresize, field block appear to be squareĭeblock_QED() # treat the blockiness introduced by the last step of the vhs-to-mpeg2dvd capture DEBLOCK really blocky source the hard way. Any suggestions ?Ĭode: MPEG2Source("G:\test\GOLF-testclip.d2v",info=0,ipp=true,cpu=0)Ĭropbottom(20).addborders(0,10,0,10) # because the bottom 20 lines are very badly corrupted across the board.

avisynth vhs restoration

I'm uncomfortable with the result from the script below, too much detail is lost but I am unsure how to trade off noise vs detail for these sources. This sample clip (18Mb) is one of the less blocky ones by far: Globalmotion = MDepan(vect0, pixaspect=1.094, thSCD1=400, zoom=true, rot=true, range=2) #1.094 for standard PALĭepanStabilize(data=globalmotion, rotmax=5, cutoff=0.5, prev=3, next=3, pixaspect=1.094, dxmax=20, dymax=20, method=1) # lower vibration frequency cutoffb) My sources are about 150 old and very grainy VHS-C PAL home-video tapes captured to mpeg2 DVD (blockily) by a combo VHS-DVD recorder. Vect0 = MAnalyse(super0,isb=false, blksize=blksize, overlap=overlap, dct=dct, chroma=true) Super0 = MSuper(pel=2,chroma=true,sharp=2) Overlap=4 # overlap value (0 to 4 for blksize=8) Must be even and less than block sizeĭct=0 # use dct=1 for clip with light flicker Code: blksize=8 # 4, 8 or 16 ( default is 8 ).














Avisynth vhs restoration