This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] AviSynth - LimitedSharpenFasterMod needs ConvertToYV12
#1
Bug 
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
Reply
#2
Send you a link via PM.
So now I'm basically offline till Monday.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)