View Single Post
Old 19th July 2020, 10:17   #563  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,361
It's not quality issues but performance/stability, maybe an avisynth bug, just updated AVS+ and plugins to latest yesterday.


By the way I fixed a stability issue in "Stabilization Tools Pack", do you want me to PR it?

Code:
UVfix ? eval("""
clpDith=Dither_convert_8_to_16()

ScriptClip ("
blue=round((AverageChromaU(clp) - AverageChromaU()) * 256.0)
red=round((AverageChromaV(clp) - AverageChromaV()) * 256.0)

SmoothTweak16(clpDith,saturation=1.0,hue1=min(384,blue),hue2=min(384,red),HQ=true)
DitherPost(stacked=true,prot=false,mode=6)
", args="clp,clpDith" )
""") : last
It would be wise to convert this to internal avisynth but I couldn't find a U and V axis based HUE function, read on Tweak or ColorYUV. (I think I can swap planes as a dirty trick tho)

Last edited by Dogway; 19th July 2020 at 10:20.
Dogway is offline   Reply With Quote