NLPguy
6th May 2022, 00:54
Hi folks,
I'm having some problems with AviSynth+.
I mean, I am using the script below that was created for AviSynth version 2.6 and I'm trying to adapt it to AviSynth +.
But I'm having a hard time trying to find: ContrastMask --- RemoveDirtMC --- RemoveSpotsMC2() that works on AviSynth +
I use MaskTools2.dll version of 09/04/2020.
note: I have attached the Avisynth image error.
SetMemoryMax(1024)
#SetFilterMTMode("MT_SERIALIZED", 3)
#LoadPlugin("D:\App\AVS\plugins64+\RemoveGrain.dll")
LoadPlugin("M:\Temp2\MaskTools2.dll")
#LoadPlugin("M:\Temp2\Depan.dll")
#LoadPlugin("M:\Temp2\DepanEstimate.dll")
#LoadPlugin("M:\Temp2\MVTools2.dll")
#LoadPlugin("M:\Temp2\LSMASHSource.dll")
#LoadPlugin("M:\Temp2\RgTools.dll")
#LoadPlugin("M:\Temp2\D2VSource.dll")
#LoadPlugin("M:\Temp2\MPEG2DecPlus64.dll")
#Import("M:\Temp2\Zs_RF_Shared.avsi")
#Import("M:\Temp2\LSFMod.avsi")
#Import("M:\Temp2\SetMTMode.avsi")
#Import("M:\Temp2\Stab.avsi")
Import("M:\Temp2\ContrastMask.avs")
Import("M:\Temp2\RemoveDirtMC.avsi")
###MPEG2Source("M:\Paulo Medeiros Junior 19-7-18\DVD\02-2.d2v")
AVISource("E:\Vinicius 7.10.21 - Fazer\02 Vinicius 3capt V17JVCES10 AVDPTL.avi") # DV AV
#v = LSMASHVideoSource("E:\Vinicius 7.10.21 - Fazer\02 Vinicius 3capt V17JVCES10.mp4", track=0, threads=0, seek_mode=0,
#\ seek_threshold=10, dr=False, fpsnum=30, fpsden=1,
#\ format="YUV420P8", decoder="", prefer_hw=0, ff_loglevel=0)
#a = LSmashAudioSource("E:\Vinicius 7.10.21 - Fazer\02 Vinicius 3capt V17JVCES10.mp4")
#AudioDub(v,a)
#SetFilterMTMode("DEFAULT_MT_MODE", 2)
#Trim(80,500)
AssumeTFF()
ConvertToYV12(interlaced=true,ChromaOutPlacement="MPEG2")
ContrastMask(enhance=6.5)
ColorYUV(off_v=4)
Levels(12,0.95,255,16,235,dither=true,coring=false)
ConvertToYV12(interlaced=true,ChromaOutPlacement="MPEG2")
SeparateFields()
e=SelectEven().RemoveDirtMC(80,false).TurnRight().RemoveSpotsMC2().TurnLeft()
o=SelectOdd().RemoveDirtMC(80,false).TurnRight().RemoveSpotsMC2().TurnLeft()
Interleave(e,o)
Weave()
#Prefetch(17)
return last #<-- Save as "Test2_Part02_A.avi" with Lagarith YV12 ---#
I've borrow this script from a guy that solved a problem of many transparent fine/thin horizontal lines in a video. He tested it in a video with many of these lines and it was a great success. However, the script was created for AviSynth Version 2.6 and I'm using AviSynth + for some time now.
It's important to mention that I've already tried to clean the VHS tape many times and tested it in 6 different VCRs. With this process the video quality improved a lot. But the fine transparent horizontal lines still remains.
Please, if some member knows how to adapt a script of version 2.6 to Avisynth+ I really appreciate.
Thank you so much in advance!
.
I'm having some problems with AviSynth+.
I mean, I am using the script below that was created for AviSynth version 2.6 and I'm trying to adapt it to AviSynth +.
But I'm having a hard time trying to find: ContrastMask --- RemoveDirtMC --- RemoveSpotsMC2() that works on AviSynth +
I use MaskTools2.dll version of 09/04/2020.
note: I have attached the Avisynth image error.
SetMemoryMax(1024)
#SetFilterMTMode("MT_SERIALIZED", 3)
#LoadPlugin("D:\App\AVS\plugins64+\RemoveGrain.dll")
LoadPlugin("M:\Temp2\MaskTools2.dll")
#LoadPlugin("M:\Temp2\Depan.dll")
#LoadPlugin("M:\Temp2\DepanEstimate.dll")
#LoadPlugin("M:\Temp2\MVTools2.dll")
#LoadPlugin("M:\Temp2\LSMASHSource.dll")
#LoadPlugin("M:\Temp2\RgTools.dll")
#LoadPlugin("M:\Temp2\D2VSource.dll")
#LoadPlugin("M:\Temp2\MPEG2DecPlus64.dll")
#Import("M:\Temp2\Zs_RF_Shared.avsi")
#Import("M:\Temp2\LSFMod.avsi")
#Import("M:\Temp2\SetMTMode.avsi")
#Import("M:\Temp2\Stab.avsi")
Import("M:\Temp2\ContrastMask.avs")
Import("M:\Temp2\RemoveDirtMC.avsi")
###MPEG2Source("M:\Paulo Medeiros Junior 19-7-18\DVD\02-2.d2v")
AVISource("E:\Vinicius 7.10.21 - Fazer\02 Vinicius 3capt V17JVCES10 AVDPTL.avi") # DV AV
#v = LSMASHVideoSource("E:\Vinicius 7.10.21 - Fazer\02 Vinicius 3capt V17JVCES10.mp4", track=0, threads=0, seek_mode=0,
#\ seek_threshold=10, dr=False, fpsnum=30, fpsden=1,
#\ format="YUV420P8", decoder="", prefer_hw=0, ff_loglevel=0)
#a = LSmashAudioSource("E:\Vinicius 7.10.21 - Fazer\02 Vinicius 3capt V17JVCES10.mp4")
#AudioDub(v,a)
#SetFilterMTMode("DEFAULT_MT_MODE", 2)
#Trim(80,500)
AssumeTFF()
ConvertToYV12(interlaced=true,ChromaOutPlacement="MPEG2")
ContrastMask(enhance=6.5)
ColorYUV(off_v=4)
Levels(12,0.95,255,16,235,dither=true,coring=false)
ConvertToYV12(interlaced=true,ChromaOutPlacement="MPEG2")
SeparateFields()
e=SelectEven().RemoveDirtMC(80,false).TurnRight().RemoveSpotsMC2().TurnLeft()
o=SelectOdd().RemoveDirtMC(80,false).TurnRight().RemoveSpotsMC2().TurnLeft()
Interleave(e,o)
Weave()
#Prefetch(17)
return last #<-- Save as "Test2_Part02_A.avi" with Lagarith YV12 ---#
I've borrow this script from a guy that solved a problem of many transparent fine/thin horizontal lines in a video. He tested it in a video with many of these lines and it was a great success. However, the script was created for AviSynth Version 2.6 and I'm using AviSynth + for some time now.
It's important to mention that I've already tried to clean the VHS tape many times and tested it in 6 different VCRs. With this process the video quality improved a lot. But the fine transparent horizontal lines still remains.
Please, if some member knows how to adapt a script of version 2.6 to Avisynth+ I really appreciate.
Thank you so much in advance!
.