Selur's Little Message Board

Full Version: AviSynth - LimitedSharpenFasterMod needs ConvertToYV12
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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:

Code:
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):

Code:
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
Send you a link via PM.
So now I'm basically offline till Monday.

Cu Selur