[FFmpeg-user] "vibrance" video filter, default luma coefficients swapped?

Jim DeLaHunt list+ffmpeg-user at jdlh.com
Mon Apr 19 10:55:05 EEST 2021


On 2021-04-14 22:33, Jim DeLaHunt wrote:
> ...So, luma = 0.2126 * r + 0.7152 * g + 0.0722 * b, a value in [0.0, 
> 1.0] for r, g, b in [0.0, 1.0]
>
> But the default values I see in the FFmpeg vibrance filter are[4]:
>
>   rlum (default 0.072186), glum (default 0.715158), blum (default 
> 0.212656)
>
> Thus it looks like the default values for rlum and blum are swapped....
>

I entered ticket #9195, "vibrance (video filter) incorrect defaults for 
luma", https://trac.ffmpeg.org/ticket/9195 , to track this.

Again, thanks for contributing this "vibrance" filter. It's a nice 
feature to have.

Best regards,
     —Jim DeLaHunt



More information about the ffmpeg-user mailing list