[FFmpeg-devel] [PATCH v2 1/2] avfilter/palettegen, paletteuse: Extend the palette conversion filters to support palettes with alpha

Michael Niedermayer michael at niedermayer.cc
Mon Sep 27 21:16:45 EEST 2021


On Sun, Sep 26, 2021 at 05:22:59PM +0000, Soft Works wrote:
> Usage example:
> 
> ffmpeg -y -loglevel verbose -i "..\fate-suite\apng\o_sample.png" -filter_complex "split[split1][split2];[split1]palettegen=max_colors=254:use_alpha=1[pal1];[split2][pal1]paletteuse=use_alpha=1" -frames:v 1 out.png
> 
> Signed-off-by: softworkz <softworkz at hotmail.com>
> ---
>  doc/filters.texi            |   8 ++
>  libavfilter/vf_palettegen.c | 136 +++++++++++++++-------
>  libavfilter/vf_paletteuse.c | 225 +++++++++++++++++++++---------------
>  3 files changed, 231 insertions(+), 138 deletions(-)

patchset LGTM

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210927/95ca22da/attachment.sig>


More information about the ffmpeg-devel mailing list