Go Back    Forum > Digital Video > Video Project Help > Restore, Filter, Improve Quality

Reply
 
LinkBack Thread Tools
  #1  
05-05-2022, 08:14 AM
NLP.bandler NLP.bandler is offline
Free Member
 
Join Date: Sep 2014
Posts: 13
Thanked 0 Times in 0 Posts
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.

I have attached the error image below.


Code:
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 ---#


With this script I want to solve some problems with transparent and gray lines. The DigitalFaq user sanlyn answered a thread almost 3 years ago helping another folk here (glazuna) with great success. But his script was created for AviSynth version 2.6 and I'm trying to adapt it to AviSynth + without success.

I'm trying to solve the exact same problem faced by glazuna my video have a lot of fine/thin transparent lines. Also gray lines. But, if I only solve the transparent lines it would be amazing.

I also already tried to clean the tape many types and tested it in 6 different VCRs. With this process the video improved a lot. But these fine lines still remains.

Thread link: http://www.digitalfaq.com/forum/vide...ent-lines.html



Thank you so much in advance!


Attached Images
File Type: jpeg avisynth error.jpeg (14.8 KB, 8 downloads)
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
05-05-2022, 11:58 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Never used AviSynth+, but are you loading the missing plugin, including FFTW 3.3.5? http://avisynth.nl/index.php/VariableBlur

A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Vertical lines on DVD Rips with Avisynth SkinnerSweet Restore, Filter, Improve Quality 0 02-25-2021 04:31 PM
Wide transparent bars seen throughout my transfers? PaulL Capture, Record, Transfer 6 03-25-2020 07:09 PM
Avisynth help: Transparent lines in the video? glazuna Restore, Filter, Improve Quality 33 07-30-2019 02:26 PM
Uploading Hi8 tapes to digital, gray lines in picture? Artemis399 General Discussion 3 10-17-2018 11:06 AM
Anti-Aliasing Jaggies on chalk lines of race track with Avisynth? VideoFanatic Restore, Filter, Improve Quality 1 01-23-2014 11:02 PM




 
All times are GMT -5. The time now is 11:10 AM