Posts: 329
Threads: 107
Joined: May 2017
Quote:Make sure to disable cropView when wanting to see the effect of the filters.
Ok. Some filters working, "Smooth tweak" asks
Quote:Avisynth preview error: -> I don't know what 'brightness' means. (K:\temp\tempPreviewAvisynthFile18_49_07_346.avs, line 14)
Posts: 10.972
Threads: 56
Joined: May 2017
Found the problem, the scaling of the values for SmoothAdjust had a bug.
That I fixed, but now when I call:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\LSMASHSource.dll")
LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\dither.dll")
LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\SmoothAdjust.dll")
Import("F:\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi")
# loading source: C:\Users\Selur\Desktop\Tonight (with Emma Hewitt) (M).mov
# color sampling YUY2@10, matrix: bt709, scantyp: progressive, luminance scale: limited
LWLibavVideoSource("C:\Users\Selur\Desktop\Tonight (with Emma Hewitt) (M).mov",cache=false,format="YUV422P16", prefer_hw=0,repeat=true)
# current resolution: 1920x815
# cropping
Crop(0,1,0,0)# 1920x814
SmoothTweak16(brightness=25600)
# adjust color to RGB32 (color matrix: Rec709)
ConvertToRGB32(matrix="Rec709")
# setting output fps to 25.000fps
AssumeFPS(25,1)
PreFetch(16)
# output: color sampling RGB32@16, matrix: bt709, scantyp: progressive, luminance scale: limited
return last
I get:
SmoothAdjust: Width and height must be MOD2! (J:\tmp\tempPreviewAvisynthFile21_32_41_409.avs, line 13)
and I have no clue why.
Cu Selur
Posts: 10.972
Threads: 56
Joined: May 2017
Okay, found it.
ConvertToStacked is needed.
Posts: 10.972
Threads: 56
Joined: May 2017
Send you a link to a dev version which should fix all the SmoothAdjust using calls.
Posts: 329
Threads: 107
Joined: May 2017