Selur's Little Message Board
[BUG] AviSynth - LimitedSharpenFasterMod needs ConvertToYV12 - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: [BUG] AviSynth - LimitedSharpenFasterMod needs ConvertToYV12 (/thread-1457.html)



AviSynth - LimitedSharpenFasterMod needs ConvertToYV12 - The_Tinkerer - 16.07.2020

LimitedSharpenFasterMod only works on YV12, but Hybrid doesn't currently put a ConvertToYV12 line above it in AviSynth, if the input is not YV12.

So, Hybrid generates this script:

ClearAutoloadDirs()
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LoadDll.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\ImageSeq.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\SplineResize.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\FrameRateConverter.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\GRunT.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\VariableBlur.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\warpsharp.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadDLL("C:\Program Files\Hybrid\32bit\avisynthPlugins\libfftw3f-3.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\FrameRateConverter.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\LimitedSharpenFasterMod.avs")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: E:/USER/fin/woc/Gaia-CG/%06d.png
#  input color sampling RGB32@8, matrix:Rec.601, scantyp: progressive
#  input luminance scale pc
ImageReader(file="E:\USER\fin\woc\Gaia-CG\%06d.png", start=0, end=5793, fps=25, use_DeviL=true, pixel_type="RGB24")
# current resolution: 1312x960
# scaling to 1440x1080
Spline144Resize(1440,1080)
ConvertToYV24(interlaced=false, matrix="PC.709")
FrameRateConverter(NewNum=60000,NewDen=1001,Preset="slowest",Output="auto",SkipOver=210,Dct=1,DctRe=1)
# sharpening
LSFmod(strength=500,Smode=5,Smethod=3,Lmode=4,preblur="ON",soft=-2,edgemaskHQ=true)
# letterboxing
AddBorders(240,0,240,0)# resolution: 1440x1080 -> 1920x1080
# adjust color to YV12
ConvertToYV12()
PreFetch(4)
return last

When it should be generating this one (#sharpening line):

ClearAutoloadDirs()
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LoadDll.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\ImageSeq.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\SplineResize.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\FrameRateConverter.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\GRunT.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\VariableBlur.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\warpsharp.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadDLL("C:\Program Files\Hybrid\32bit\avisynthPlugins\libfftw3f-3.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\FrameRateConverter.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\LimitedSharpenFasterMod.avs")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: E:/USER/fin/woc/Gaia-CG/%06d.png
#  input color sampling RGB32@8, matrix:Rec.601, scantyp: progressive
#  input luminance scale pc
ImageReader(file="E:\USER\fin\woc\Gaia-CG\%06d.png", start=0, end=5793, fps=25, use_DeviL=true, pixel_type="RGB24")
# current resolution: 1312x960
# scaling to 1440x1080
Spline144Resize(1440,1080)
ConvertToYV24(interlaced=false, matrix="PC.709")
FrameRateConverter(NewNum=60000,NewDen=1001,Preset="slowest",Output="auto",SkipOver=210,Dct=1,DctRe=1)
# sharpening
ConvertToYV12(interlaced=false, matrix="PC.709")
LSFmod(strength=500,Smode=5,Smethod=3,Lmode=4,preblur="ON",soft=-2,edgemaskHQ=true)
# letterboxing
AddBorders(240,0,240,0)# resolution: 1440x1080 -> 1920x1080
PreFetch(4)
return last



RE: AviSynth - LimitedSharpenFasterMod needs ConvertToYV12 - Selur - 16.07.2020

Send you a link via PM.
So now I'm basically offline till Monday.

Cu Selur