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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 31st October 2015, 17:29   #1  |  Link
luigizaninoni
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
Attached Files
File Type: txt adjust.txt (3.0 KB, 389 views)
luigizaninoni is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:47.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.