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.

ColorFix vs TimeCube
#1
I really like the way FixColor works on the VSMLRT frame resizer. I tried to add it before the end using custom scripts but I can't pass "clipref" to a custom script.

This is the code 
# fixing colors with ColorFix
clip = vs_colorfix.average(clip=clip, ref=clipref, fast=False, radius=10)


It would be nice to have "ColorFix" on the Color Tab although I managed to get the colors close to correct by using TimeCube.

I'm trying to use the GUI on its own. If anyone has suggestions, I'm all ears.

Signed, 
nOOb!
Reply
#2
Newer dev versions allow adding mutiple outputs and should allow accessing those outputs in other custom section.
But, I just noticed I broke FixColor support in my latest dev. Smile
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
Okay, I fixed the ColorFix bug I introduced and uploaded a new dev.

So, Hybrid adds these things when using color fix:
0. the import
import vs_colorfix
1. before the filter call, the current state gets assigned to an additional variable
clipref = clip
2. after the filter call, vs_colorfix gets called.
# fixing colors with ColorFix
clip = vs_colorfix.average(clip=clip, ref=clipref, fast=False, radius=10)
What you can do if you want to use fixColor wherever you want, is to
1. use a custom section before the filter
# additional output baseClip
baseClip = clip
2. create another custom section behind the filter
import vs_colorfix
clip = vs_colorfix.average(clip=clip, ref=baseClip, fast=False, radius=10)
[/code]
Note that ColorFix requires that the input clip where the color fix will be applied to, must be in YUV444PS, YUV444PH, RGBS, RGBH, GRAYS, or GRAYH format.
And the reference clip where the colors are taken from, must be in YUV444PS, YUV444PH, RGBS, RGBH, GRAYS, or GRAYH format.

So you might want to use:
# additional output baseClip
baseClip = core.resize.Bicubic(clip=clip, format=vs.YUV444PS, matrix_in_s="470bg", range_s="limited")
2. create another custom section behind the filter
import vs_colorfix
# requires colorformat YUV444PS
clip = vs_colorfix.average(clip=clip, ref=baseClip, fast=False, radius=10)
or something similar.

Argh, I just noticed that the custom section tool-tip only works on right click and isn't shown in the sidebar. Angry
So for the time being, here's a screenshot of it:
[Image: grafik.png]

=> try the latest dev and let me know whether that works for you, if that doesn't solve your problem let me know in more details what you are doing and what you are trying to da and I might be able to post another example.

Cu Selur

Ps.: updated dev again (Hybrid_dev_2025.08.16-221059), fixed another bug and added the tool-tip info to the 'Insert before' label, this way one can see it in the sidebar.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#4
Thanks! Will I be okay if using Dev if I'm on an NVIDIA GeForce RTX 4060 Ti? The zip folder name made me hesitant.
Reply
#5
Do Not use that addon version unless the current one falls.
The Hybrid Dev is fine, but do Not use the den addon, it has shown problems with some filters

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)