[FFmpeg-devel] [PATCH] Revert "avfilter/vf_palette(gen|use): support palettes with alpha"

Clément Bœsch u at pkh.me
Sun Oct 30 23:37:29 EET 2022


On Sun, Oct 30, 2022 at 10:30:06PM +0100, Clément Bœsch wrote:
> On Sun, Oct 30, 2022 at 09:19:05PM +0000, Soft Works wrote:
> [...]
> > At the time of submission I did a lot of experiments and the results
> > seemed to be very useful:
> > 
> > https://gist.github.com/softworkz/deef5c2a43d3d629c3e17f9e21544a8f
> > 
> 
> On that page, the result of the command using palette* filters for the
> colored "O" gives a broken output, and it's not a simple bug, it's more
> fundamental. You cannot just just average the colors with different levels
> of alpha, it makes no sense.
> 
> Do you understand why or do you need me to elaborate?
> 

Here is a alpha channel, which is the result of average them with the
colors: https://imgur.com/a/50YyRGV

-- 
Clément B.


More information about the ffmpeg-devel mailing list