Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Registered User
Join Date: Apr 2015
Posts: 163
|
Tweak for Vapoursynth
Avisynth Tweak, ported to Vapoursynth. Still not complete:
- No dithering whatsoever. - Parameters "sse", "startHue", "endHue", "maxSat", "minSat", "interp", and "dither" don't exist. - 8..16 bit integer and 32 bit float sample types are supported. 99% based on Dubhater's work https://github.com/dubhater/vapoursynth-adjust. I only added separate settings for hue v and u (idea taken from SmoothTweak plugin). A very trivial addition, still it might be useful for someone. Rename attachment to adjust.vpy Put in C:\Users\(username)\AppData\Local\Programs\Python\Python35\Lib\site-packages\, or wherever Python can find it Use import adjust in your scripts. Usage: adjust.Tweak(clip clip[, float huev=0.0, float hueu=0.0, float sat=1.0, float bright=0.0, float cont=1.0, bint coring=True]) huev: Adjust the v hue. Positive values shift it towards red-orange-violet, while negative values shift it towards green-blue. Range: -180.0 .. 180.0 hueu: Adjust the u hue. Positive values shift it towards blue-violet, while negative values shift it towards red-yellow-green. Range: -180.0 .. 180.0 sat: Adjust the saturation. Values above 1.0 increase it, while values below 1.0 decrease it. 0.0 removes all colour. Range: 0.0 .. 10.0 bright: Adjust the brightness. This value is directly added to each luma pixel. cont: Adjust the contrast. Values above 1.0 increase it, while values below 1.0 decrease it. Range: 0.0 .. 10.0 |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|