digitalFAQ.com Forum

digitalFAQ.com Forum (https://www.digitalfaq.com/forum/)
-   Restore, Filter, Improve Quality (https://www.digitalfaq.com/forum/video-restore/)
-   -   VHS restoration with Avisynth+ script, room to improve? (https://www.digitalfaq.com/forum/video-restore/12477-vhs-restoration-avisynth.html)

MediaHoarder 02-01-2022 12:26 AM

VHS restoration with Avisynth+ script, room to improve?
 
1 Attachment(s)
Hi all,
Looking to get some feedback on my VHS Restoration script and results before I start doing full tapes again.
This is the script I am using, I will attach a sample of the source video as well.

Code:

video = AviSource("B:\Videos\Captures\Cronkike Remembers Test2.avi")
audio = WAVSource ("B:\Videos\Captures\Cronkike Remembers Test.wav")
AudioDub (video, audio)


# change path statement below to match your suystem
#AviSource("C:\Users\Charles\Videos\Scripts\out2.avi")

SetFilterMTMode("DEFAULT_MT_MODE", 2)
AssumeTFF()
ColorYUV(gain_y=5)
Tweak(cont=1.10,sat = 1.05,dither=true,coring=false)
#Levels(16, 1.0, 255, 16, 250, dither=true, coring=false)
ConvertToYV12(interlaced=true)
QTGMC(Preset="Faster", Lossless=2, MatchEnhance=0.75, TR2=1, Sharpness=0.1, EdiThreads=16)
Stab()
Stab()
RemoveGrain(mode=2, modeU=2, modeV=2)
TemporalDegrain2(degrainTR=2)
LSFmod(strength=100, Smode=3, Smethod=2, kernel=11)
Crop(0,0,-16,-16).AddBorders(8,8,8,8)

Prefetch(16)


themaster1 02-01-2022 04:34 AM

for better results you should use qtgmc first in the chain of filters. It's well known the yuy2<> yv12 convertion is not 100% accurate. Also for vhs tapes i'm a fan of chroma noise filters especially spotless.
Quote:

avisource(interlace=true) # YUY2 source
assumetff()
qtgmc(fast,edithreads=15) # "fast" mode is best in most cases
ColorYUV(gain_y=5) #YUY2
Tweak(cont=1.10,sat = 1.05,dither=true,coring=false,sse=true ) # YUY2
TemporalDegrain2(degrainTR=2) # in YUY2
converttoyv12(interlaced=true)
Spotless()
Stab() # YV12 only
Stab() # YV12 only
RemoveGrain(mode=2, modeU=2, modeV=2) # YV12 only ????
LSFmod(strength=100, Smode=3, Smethod=2, kernel=11) # YV12 only
Crop(0,0,-16,-16)
AddBorders(8,8,8,8)
Prefetch(16)


All times are GMT -5. The time now is 12:23 PM

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.