Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
19th December 2022, 19:49 | #261 | Link | |
Registered User
Join Date: Apr 2019
Posts: 223
|
After a few days of experiments, I thought I will post my findings.
Sometimes I used Code:
Despot(mthres=16,p1=24,p2=12,pwidth=4,pheight=4,ranked=true,sign=-1,maxpts=0,p1percent=10,show=0) The experiment is to get Spotless to do what DeSpot does. The answer is Code:
SpotLess(BlkSz=8, OLap=8/2, pel=1, Tm=False, Bblur=0.0, ThSAD=200, RadT=1) Code:
Despot(mthres=16,p1=24,p2=12,pwidth=3,pheight=3,ranked=true,sign=-1,maxpts=0,p1percent=10,show=0) Quote:
|
|
21st December 2022, 02:22 | #262 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
I would not really like to include that in SpotLess() function,
best I can suggest is make some kind of mask by combining source chroma close to 128, and luma hi/low, and use only results of Spotless where masks comply with required. There are others here way better than I at masking stuff, perhaps someone else can assist on that, I also got my hands quite full with non AVS related stuff.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
21st December 2022, 23:46 | #264 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Try Chroma = false
Have you tried spotless with Prefetch() ?
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 21st December 2022 at 23:50. |
22nd December 2022, 05:04 | #266 | Link | |
Registered User
Join Date: Apr 2019
Posts: 223
|
Quote:
Testing to see if it will work faster. EDIT: Much later... The above took 2 minutes longer than SpotLess(BlkSz=8, OLap=8/2, pel=1, Tm=False, Bblur=0.0, ThSAD=200, RadT=1). Crap idea. Last edited by coolgit; 22nd December 2022 at 14:06. |
|
21st May 2023, 03:12 | #270 | Link | |
Registered User
Join Date: Aug 2005
Posts: 1,100
|
Quote:
DirectShowSource("GC.mkv") Import("C:\Program Files (x86)\AviSynth\plugins\Spotless.avsi") LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\MSharpen.dll") LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\mvtools2.dll") LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\MedianBlur2.dll") assumeTFF() TFM().TDecimate() crop(24,12,-16,-20) #crop the crud off Spotless() MSharpen() #greyscale() #convert to B&W addborders(20,16,20,16) #pad to 720x480 This was the error the preview showed: Traceback (most recent call last): File "avsp.pyo", line 9119, in OnMenuVideoPlay File "avsp.pyo", line 14672, in PlayPauseVideo File "avsp.pyo", line 13855, in ShowVideoFrame File "avisynth.pyo", line 462, in GetFrame WindowsError: exception: access violation reading 0xFFFFFFFF I really appreciate any help because I would LOVE to try your script if I can get it to run, thanks! |
|
21st May 2023, 06:20 | #271 | Link |
Registered User
Join Date: May 2006
Posts: 3,997
|
Lathe, please don't hijack and litter this thread as well. The problem is not with Spotless(), it's a problem between your chair and your keyboard. See all your other posts here and over at the VideoHelp forum. You call yourself a newbie with 1077 posts at doom9 in almost 20 years? Start with learning the basics of video and AviSynth. Sorry to be a bit harsh
Last edited by Sharc; 21st May 2023 at 06:45. |
12th April 2024, 00:08 | #274 | Link |
Registered User
Join Date: Jan 2015
Posts: 27
|
Hi, it's possible to remove the vertical lines and spots from this video using spotless? I tried with the default setting and using RadT=2 but could not eliminate them
sample Code:
https://drive.google.com/file/d/1ybNWoe2Td_EvRTOdvQxcfMEoG54MpUjf/view?usp=drive_link |
12th April 2024, 14:23 | #277 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
" I tried with the default setting and using RadT=2 "
For me, SpotLess seems to remove those scratches (works in Avisynth and Vapoursynth) Script used: Code:
ClearAutoloadDirs() SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE) LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\LSMASHSource.dll") LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\mvtools2.dll") LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\MedianBlur2.dll") LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\RgTools.dll") Import("F:\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi") Import("F:\Hybrid\64bit\Avisynth\avisynthPlugins\SpotLess.avs") # loading source: C:\Users\Selur\Desktop\sample.mkv # color sampling YV12@8, matrix: bt709, scantyp: progressive, luminance scale: limited LWLibavVideoSource("C:\Users\Selur\Desktop\sample.mkv",cache=false,format="YUV420P8", prefer_hw=0,repeat=true) # current resolution: 1920x1080 # despotting using SpotLess SpotLess() # Converting from 8 to 10bit for encoder ConvertBits(10) # setting output fps to 24.000fps AssumeFPS(24,1) PreFetch(16) # output: color sampling YV12@10, matrix: bt709, scantyp: progressive, luminance scale: limited return last |
12th April 2024, 16:07 | #279 | Link |
Registered User
Join Date: Jan 2015
Posts: 27
|
You seems to be using spotless by default, and looking at the pictures you upload it it works perfectly, I'm doing the same but from staxrip and using FFVideoSource to open the file instead LSMASHSource (because otherwise I get error) and it's like spotless was not being applied, the scratches still there.
Code:
SetFilterMTMode("DEFAULT_MT_MODE", 2) tcFile = "%temp_file%_timestamps.txt" # timestamps file path Exist(tcFile) ? FFVideoSource("%source_file%", cachefile="%source_temp_file%.ffindex", timecodes=tcFile) : FFVideoSource("%source_file%", cachefile="%source_temp_file%.ffindex") LoadPlugin("C:\Users\Bluedraft\Downloads\Portables\StaxRip 2.12\Apps\Plugins\AVS\MVTools2\mvtools2.dll") LoadPlugin("C:\Users\Bluedraft\Downloads\Portables\StaxRip 2.12\Apps\Plugins\AVS\MedianBlur2\MedianBlur2.dll") LoadPlugin("C:\Users\Bluedraft\Downloads\Portables\StaxRip 2.12\Apps\Plugins\AVS\RgTools\RgTools.dll") Import("C:\Users\Bluedraft\Downloads\Portables\StaxRip 2.12\Apps\Plugins\AVS\Spotless\Spotless.avsi") Spotless() PreFetch(16) |
12th April 2024, 16:14 | #280 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
No, clue, seems fine to me, but I have never used StaxRip.
SpotLess script I use: https://pastebin.com/2UDMcJw5 |
Tags |
denoise, despot, prefilter |
|
|