http://forum.doom9.org/showthread.php?p=1773050&highlight=SMDegrain#post1773050
and you don't need to use parameters for it, just use lsb clip with or without lsb_in (According to your input clip, not the prefilter one)
it work by check if the prefilter clip height is doubled or not, and if it doubled it will use lsb_in=true in Dither_Luma_Rebuild (or just use ditherpost if TV_Range=false), with lsb_in in Dither_Luma_Rebuild can gave more Quality than using ditherpost then Dither_Luma_Rebuild
TV_Range=false mean no Dither_Luma_Rebuild ('Str' and 'Amp' parameters will do nothing)And the TV_Range=off kicks in the range expansion or also the "on"?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 181 to 210 of 210
Thread
-
Last edited by real.finder; 21st Nov 2016 at 14:47.
-
After latest update:
Code:Simple x264 Launcher (Build #1060), built 2016-10-21 Job started at 2016-12-01, 03:17:06. Source file : E:\in\2_14 Suicide squad (extended)\suicide_44.avs Output file : E:\in\2_14 Suicide squad (extended)\suicide_44.mkv --- SYSTEMINFO --- Binary Path : D:\eseguibili\media\x264 launcher Avisynth : Yes VapourSynth : No --- SETTINGS --- Encoder : x264 (AVC/H.264), 64-Bit (x64), 8-Bit Source : Avisynth (avs) RC Mode : CRF Preset : slow Tuning : <None> Profile : High Custom : --level 4.1 --keyint 240 --vbv-bufsize 78125 --vbv-maxrate 62500 --aq-mode 2 --sar 1:1 --- CHECK VERSION --- Detect video encoder version: Creating process: "D:\eseguibili\media\x264 launcher\toolset\x64\x264_8bit_x64.exe" --version x264 0.148.2721kMod 72d53ab (libswscale 4.1.100) (libavformat 57.50.100) (ffmpegsource 2.22.1.0) built by Komisar on Sep 23 2016, gcc: 4.9.2 (multilib.generic.Komisar) x264 configuration: --bit-depth=8 --chroma-format=all libx264 configuration: --bit-depth=8 --chroma-format=all x264 license: GPL version 2 or later libswscale/libavformat/ffmpegsource license: GPL version 2 or later Detect video source version: Creating process: "D:\eseguibili\media\x264 launcher\toolset\x64\avs2yuv_x64.exe" Avs2YUV 0.24bm3 > x264 revision: 2721 (core #148) - with custom patches! > Avs2YUV version: 0.24.3 --- GET SOURCE INFO --- Creating process: "D:\eseguibili\media\x264 launcher\toolset\x64\avs2yuv_x64.exe" -frames 1 "E:\in\2_14 Suicide squad (extended)\suicide_44.avs" NUL error: Script error: There is no function named 'ExtractU'. (D:/Programmi/media/AviSynth+/plugins64/SMDegrain-2016_1129�realfinder.avsi, line 767) (D:/Programmi/media/AviSynth+/plugins64/SMDegrain-2016_1129�realfinder.avsi, line 173) (E:\in\2_14 Suicide squad (extended)\suicide_44.avs, line 19) PROCESS EXITED WITH ERROR CODE: 1
-
-
Any idea of why now tr=6 is less effective than tr=5 and almost same as tr=4?
Plus Pee Wee's big adventure.264 (Pee Wee's big adventure.dgi) and the script
PHP Code:SetMemoryMax(8000)
SetFilterMTMode("DEFAULT_MT_MODE", 2)
SetFilterMTMode("ChangeFPS", 3)
SetFilterMTMode("DGSource", 3)
LoadPlugin("D:\eseguibili\media\DGDecNV\x64\DGDecodeNV.dll")
DGSource("F:\raw\Pee Wee's big adventure.dgi")
ChangeFPS(last,last,true)
SMDegrain (tr=4,PreFilter=4,thSAD=400,contrasharp=false,refinemotion=false,truemotion=true,plane=4,chroma=true,lsb=true,mode=6,TV_range=false)
Prefetch(8)
To make it work with latest beta, I have to use Prefetch(7).Last edited by tormento; 5th Dec 2016 at 23:33.
-
-
-
Files:
pee.264
pee.dgi
SMDegrain.avsi + this variation to use KNLMeansCL 1.0
Basic script and variations:
PHP Code:SetMemoryMax(8000)
SetFilterMTMode("DEFAULT_MT_MODE", 2)
SetFilterMTMode("ChangeFPS", 3)
SetFilterMTMode("DGSource", 3)
LoadPlugin("D:\eseguibili\media\[url=https://www.videohelp.com/software/DGDecNV]DGDecNV[/url]\x64\[url=https://www.videohelp.com/software/DGMPGDec]DGDecodeNV[/url].dll")
DGSource("E:\in\Pee Wee's big adventure\pee.dgi")
ChangeFPS(last,last,true)
SMDegrain (tr=4,PreFilter=4,thSAD=400,contrasharp=false,refinemotion=false,truemotion=true,plane=4,chroma=true,lsb=true,mode=6,TV_range=false)
Prefetch(7)
Code:encoded 2162 frames, 7.81 fps, 4015.53 kb/s, duration 0:04:36.77 av2y [info]: E:\in\Pee Wee's big adventure\pee_44.avs: 1920x1080, 2997/125 fps, 2162 frames Final file size is 43.2 MB bytes.
PHP Code:SMDegrain (tr=4,PreFilter=4,thSAD=400,contrasharp=false,refinemotion=false,truemotion=true,plane=4,chroma=true,lsb=true,mode=6,TV_range=false,always_MDegrainN=true)
Code:encoded 2162 frames, 7.72 fps, 4245.76 kb/s, duration 0:04:40.05 av2y [info]: E:\in\Pee Wee's big adventure\pee_44a.avs: 1920x1080, 2997/125 fps, 2162 frames Final file size is 45.7 MB bytes.
PHP Code:SMDegrain (tr=5,PreFilter=4,thSAD=400,contrasharp=false,refinemotion=false,truemotion=true,plane=4,chroma=true,lsb=true,mode=6,TV_range=false)
Code:encoded 2162 frames, 7.00 fps, 3771.63 kb/s, duration 0:05:08.76 av2y [info]: E:\in\Pee Wee's big adventure\pee_54.avs: 1920x1080, 2997/125 fps, 2162 frames Final file size is 40.6 MB bytes.
PHP Code:SMDegrain (tr=5,PreFilter=4,thSAD=400,contrasharp=false,refinemotion=false,truemotion=true,plane=4,chroma=true,lsb=true,mode=6,TV_range=false,always_MDegrainN=true)
Code:encoded 2162 frames, 6.81 fps, 3991.23 kb/s, duration 0:05:17.41 av2y [info]: E:\in\Pee Wee's big adventure\pee_54a.avs: 1920x1080, 2997/125 fps, 2162 frames Final file size is 42.9 MB bytes.
PHP Code:SMDegrain (tr=6,PreFilter=4,thSAD=400,contrasharp=false,refinemotion=false,truemotion=true,plane=4,chroma=true,lsb=true,mode=6,TV_range=false)
Code:encoded 2162 frames, 6.16 fps, 3806.16 kb/s, duration 0:05:51.22 av2y [info]: E:\in\Pee Wee's big adventure\pee_64.avs: 1920x1080, 2997/125 fps, 2162 frames Final file size is 40.9 MB bytes.
PHP Code:SMDegrain (tr=6,PreFilter=4,thSAD=400,contrasharp=false,refinemotion=false,truemotion=true,plane=4,chroma=true,lsb=true,mode=6,TV_range=false,always_MDegrainN=true)
Code:encoded 2162 frames, 6.12 fps, 3806.16 kb/s, duration 0:05:53.37 av2y [info]: E:\in\Pee Wee's big adventure\pee_64a.avs: 1920x1080, 2997/125 fps, 2162 frames Final file size is 40.9 MB bytes.
-
Does SMDegrain now support Avisynth+'s native 16-bit format or still relies on lsb?
-
86s gives me error:
Code:[2017-02-05][19:53:58] Simple x264 Launcher (Build #1086), built 2017-01-14 [2017-02-05][19:53:58] [2017-02-05][19:53:58] Job started at 2017-02-05, 19:53:58. [2017-02-05][19:53:58] [2017-02-05][19:53:58] Source file : E:\in\1_45 wave, The\wave_44.avs [2017-02-05][19:53:58] Output file : E:\in\1_45 wave, The\wave_44.mkv [2017-02-05][19:53:58] [2017-02-05][19:53:58] --- SYSTEMINFO --- [2017-02-05][19:53:58] [2017-02-05][19:53:58] Binary Path : D:\eseguibili\media\x264 launcher [2017-02-05][19:53:58] Avisynth : Yes [2017-02-05][19:53:58] VapourSynth : No [2017-02-05][19:53:58] [2017-02-05][19:53:58] --- SETTINGS --- [2017-02-05][19:53:58] [2017-02-05][19:53:58] Encoder : x264 (AVC/H.264), 64-Bit (x64), 8-Bit [2017-02-05][19:53:58] Source : Avisynth (avs) [2017-02-05][19:53:58] RC Mode : CRF [2017-02-05][19:53:58] Preset : slow [2017-02-05][19:53:58] Tuning : <None> [2017-02-05][19:53:58] Profile : High [2017-02-05][19:53:58] Custom : --level 4.1 --keyint 240 --vbv-bufsize 78125 --vbv-maxrate 62500 --aq-mode 2 --sar 1:1 [2017-02-05][19:53:58] [2017-02-05][19:53:58] --- CHECK VERSION --- [2017-02-05][19:53:58] [2017-02-05][19:53:58] Detect video encoder version: [2017-02-05][19:53:58] [2017-02-05][19:53:58] Creating process: [2017-02-05][19:53:58] "D:\eseguibili\media\x264 launcher\toolset\x64\x264_8bit_x64.exe" --version [2017-02-05][19:53:58] [2017-02-05][19:53:58] x264 0.148.2744kMod b97ae06 [2017-02-05][19:53:58] (libswscale 4.3.101) [2017-02-05][19:53:58] (libavformat 57.58.101) [2017-02-05][19:53:58] (ffmpegsource 2.23.0.0) [2017-02-05][19:53:58] built by Komisar on Dec 3 2016, gcc: 4.9.2 (multilib.generic.Komisar) [2017-02-05][19:53:58] x264 configuration: --bit-depth=8 --chroma-format=all [2017-02-05][19:53:58] libx264 configuration: --bit-depth=8 --chroma-format=all [2017-02-05][19:53:58] x264 license: GPL version 2 or later [2017-02-05][19:53:58] libswscale/libavformat/ffmpegsource license: GPL version 2 or later [2017-02-05][19:53:58] [2017-02-05][19:53:58] Detect video source version: [2017-02-05][19:53:58] [2017-02-05][19:53:58] Creating process: [2017-02-05][19:53:58] "D:\eseguibili\media\x264 launcher\toolset\x64\avs2yuv_x64.exe" [2017-02-05][19:53:58] [2017-02-05][19:53:59] Avs2YUV 0.24bm5 [2017-02-05][19:53:59] [2017-02-05][19:53:59] > x264 revision: 2744 (core #148) - with custom patches! [2017-02-05][19:53:59] > Avs2YUV version: 0.24.5 [2017-02-05][19:53:59] [2017-02-05][19:53:59] --- GET SOURCE INFO --- [2017-02-05][19:53:59] [2017-02-05][19:53:59] Creating process: [2017-02-05][19:53:59] "D:\eseguibili\media\x264 launcher\toolset\x64\avs2yuv_x64.exe" -frames 1 E:\in\1_45WA~1\wave_44.avs NUL [2017-02-05][19:53:59] [2017-02-05][19:53:59] error: Evaluate: operand of `!' must be boolean (true/false) [2017-02-05][19:53:59] (D:/Programmi/media/AviSynth+/plugins64/SMDegrain-3.1.2�86s�realfinder.avsi, line 101) [2017-02-05][19:53:59] (E:\in\1_45WA~1\wave_44.avs, line 13) [2017-02-05][19:53:59] [2017-02-05][19:53:59] PROCESS EXITED WITH ERROR CODE: 1
Code:cnl = chroma && fullchr ? "YUV" : "Y" nlc = Eval("nlc.KNLMeansCL(D=d, A=a, h=h,lsb_inout=lsb_in || lsb,device_type=device_type,device_id=deviceid,channels=cnl" + knlm_params + ")")
-
@real.finder
Would you try a build with DGDenoise? http://rationalqm.us/board/viewtopic.php?f=5&t=506&start=90 -
-
-
Now that Masktools too has been ported to high bit, what else is needed but KNLMeansCL to create a complete and I hope faster 16 bit environment script?
-
-
When using your latest version of SMDegrain, I get this: https://forum.videohelp.com/images/imgfiles/NrbR1kX.png
Thoughts? Is there an updated dependency I'm missing somewhere?
Edit: I should note I am using the latest mvtools-pfmod and Masktools2-pfmod but the problem presents even with those reverted.
Also using Avisynth+ r2455-MT from pinterf
Edit2: I guess I should also just get to the point for my base problem and why I'm trying your version. I upgraded to a Ryzen R7 1800X from an Intel i7-4790k. Every time I use smdegrain on my new Ryzen box regardless which version, it crashes several hundred frames into the encode. No reason given for why. It just does. Any thoughts on that?
Edit3: So it turns out that fftw doesn't work on AMD Ryzen. dfttest and fft3dfilter both fail to see more than 240 frames, which is causing the issue. I tried to compile new .dlls but the configure script for the newest version 3.3.6-pl1 doesn't have the ability to make a portable binary for some reason.
Regardless, I'm still interested why I get those duplicated images using your version.Last edited by begna112; 18th Mar 2017 at 23:54.
-
Last edited by real.finder; 19th Mar 2017 at 23:36.
-
Working script:
PHP Code:SetMemoryMax(8000)
SetFilterMTMode("DEFAULT_MT_MODE", 2)
SetFilterMTMode("ChangeFPS", 3)
SetFilterMTMode("DGSource", 3)
LoadPlugin("D:\eseguibili\media\DGDecNV\x64\DGDecodeNV.dll")
DGSource("E:\in\1_54 ferroviere, Il\ferroviere.dgi")
CompTest(1)
ChangeFPS(last,last,true)
SMDegrain (tr=4,PreFilter=4,thSAD=400,contrasharp=false,refinemotion=false,truemotion=true,plane=4,chroma=true,lsb=true,mode=0)
Prefetch(6)
PHP Code:SetMemoryMax(8000)
SetFilterMTMode("DEFAULT_MT_MODE", 2)
SetFilterMTMode("ChangeFPS", 3)
SetFilterMTMode("DGSource", 3)
LoadPlugin("D:\eseguibili\media\DGDecNV\x64\DGDecodeNV.dll")
DGSource("E:\in\1_54 ferroviere, Il\ferroviere.dgi")
CompTest(1)
ChangeFPS(last,last,true)
SMDegrain (tr=6,PreFilter=4,thSAD=600,contrasharp=false,refinemotion=false,truemotion=true,plane=4,chroma=true,lsb=true,mode=0)
Prefetch(6)
-
-
-
Hi everyone i have Nvidia ghraphic card but i get an i get strange error in smdegrain when i try to use Prefilter=4 I download the KnlMeansCL v.1.0.2 but no luck, please can someone help,thanks
Edited
After Uninstalling Avisynth 2.6MT i installed Avisynth 2.6.0.6 and i think there was something in older avisynth which was not reading KnlmeansCL properly or not recognising it but KNLMeansCL v1.0.2 works now with Avisynth 2.6.0 .Last edited by BÌG•bµdd; 30th Apr 2017 at 14:59. Reason: solved
-
With Avisynth+ now supporting native high-bit-depth, and MaskTools2 and MvTools2 also supporting high-bit-depth, is anyone interested in modifying SMDegrain to work with full native high-bit-depth?
In the best world, you could simply call SMDegrain with a 16-bit native clip and it would process it all in HBD. In practice, it returns errors. Some side libraries (that probably have HBD replacements) haven't been ported to HBD yet, and a few minor issues can happen along the way.
It shouldn't be very hard but someone's got to do it, sooner or later.
I just created a thread here on the specific topic of porting it to HBD -
Hello real finder your SMDegrain update seems interesting , i was using v3.1.2d but today i switch to v.3.1.2.93s your mode, but i am facing problem with v.3.1.2.93s not working with prefilter=4 but v3.1.2d does work with prefilter=4 don't know why it is not working with your moded SMDegrain, can u help me make it work i m currently using KNLMeansCL v.1.2 for test. thank you for your mod.
Code:AviSynth Script error: Script error: KNLMeansCL does not have named argument "stacked" (SMDegrain v.3.1.2.93s.avsi, line 848) (SMDegrain v.3.1.2.93s.avsi, line 796) (SMDegrain v.3.1.2.93s.avsi, line 196)
-
you need last one https://github.com/Khanattila/KNLMeansCL/releases/
for older you can use 3.1.2.92s -
This has been my go-to MDegrain3 script for use with high-ISO grain on 1080p footage:
Code:AviSource("d:\fs.avi") ConvertToYV12 super = MSuper() backward_vec2 = MAnalyse(super, isb = true, delta = 2, overlap=4) forward_vec2 = MAnalyse(super, isb = false, delta = 2, overlap=4) backward_vec4 = MAnalyse(super, isb = true, delta = 4, overlap=4) forward_vec4 = MAnalyse(super, isb = false, delta = 4, overlap=4) backward_vec6 = MAnalyse(super, isb = true, delta = 6, overlap=4) forward_vec6 = MAnalyse(super, isb = false, delta = 6, overlap=4) MDegrain3(super,backward_vec2,forward_vec2,backward_vec4,forward_vec4,backward_vec6,forward_vec6,thSCD1=400,thSAD=400) LSFmod(strength=300)
Code:AviSource("d:\fs.avi") ConvertToYV12 SMDegrain(tr=5,thSAD=500,thSCD1=400,prefilter=4,refinemotion=true) LSFmod(strength=300)
Is there a direct equivalent of my first MDegrain3 script in SMDegrain? I would like to use that as a starting point for further tweaking. -
thank you for helping a hand real finder, it is working perfect now will do some test tomorrow thanks again for your great mod function , you doing really wonderful work keep it up and good luck.
Bubblevision few more option u can choose
SMDegrain(tr=5,thSAD=500,thSCD1=400,prefilter=4,re finemotion=true)### for hd footage try blksize=16, overlap=8, and try pel=2 ,subpixel=2