Selur's Little Message Board

Full Version: Avisynth preview error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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)
Found the problem, the scaling of the values for SmoothAdjust had a bug.
That I fixed, but now when I call:
Code:
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:
Code:
SmoothAdjust: Width and height must be MOD2! (J:\tmp\tempPreviewAvisynthFile21_32_41_409.avs, line 13)
and I have no clue why.

Cu Selur
Okay, found it.
ConvertToStacked is needed.
Send you a link to a dev version which should fix all the SmoothAdjust using calls.
Thank you, now working!
Pages: 1 2