Log in

View Full Version : help for automatic white balance


kentafilo
22nd March 2024, 16:19
Hi guys, I wanted to ask you for help.
I have a video where every 2,3 scenes the white changes color, in the sense that sometimes it is white, sometimes it is magenta, other times yellow, sometimes blue and so on.
Is there a plugin or script for automatic white correction/distortion?
I had tried autoadjust but often the result is not optimal and the white tends towards blue and the colors become too cold.
Could you give me some help?
Let me start by saying that I'm not very expert when it comes to scripts.
Thanks in advance.

johnmeyer
22nd March 2024, 22:14
If the problem was caused by a camera with improper white balance (usually set for indoor, but shooting outdoor, or vice versa), this is actually rather tough to correct, even when it is not changing very often. There are lots of "automatic" white balance plugins for AVISynth and also for whatever NLE you may be using, but don't expect miracles with them.

I have sometimes had luck with StanlessS' "GamMac" AVISynth plugin.

Bernardd
23rd March 2024, 18:56
Can you post a little sample ?

takla
24th March 2024, 02:02
Autolevels (http://avisynth.nl/index.php/Autolevels) works "ok" for white balance

Use something like this
Autolevels(filterRadius=30).Levels(0, 1, 255, 0, 235)

filterRadius should be equal to framerate of the clip. And Levels() is used for Range: Limited