[FFmpeg-devel] [PATCH] avfilter/elbg: Extend filter to include alpha values in the quantization procedure

Michael Niedermayer michael at niedermayer.cc
Mon Sep 27 18:29:54 EEST 2021


On Sun, Sep 26, 2021 at 05:56:36PM +0000, Soft Works wrote:
> 
> 
> > -----Original Message-----
> > From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> > Michael Niedermayer
> > Sent: Sunday, 26 September 2021 18:52
> > To: FFmpeg development discussions and patches <ffmpeg-
> > devel at ffmpeg.org>
> > Subject: Re: [FFmpeg-devel] [PATCH] avfilter/elbg: Extend filter to
> > include alpha values in the quantization procedure
> > 
> > On Sun, Sep 26, 2021 at 04:57:25AM +0000, Soft Works wrote:
> > > Usage example:
> > >
> > > ffmpeg -y -loglevel verbose -i "..\fate-suite\apng\o_sample.png" -
> > filter_complex "elbg=pal8=1:use_alpha=1" -frames:v 1 out.png
> > >
> > > Signed-off-by: softworkz <softworkz at hotmail.com>
> > > ---
> > >  doc/filters.texi      |  4 ++++
> > >  libavfilter/vf_elbg.c | 25 ++++++++++++++++---------
> > >  2 files changed, 20 insertions(+), 9 deletions(-)
> > 
> > will apply
> 
> Thank you.
> 
> Please allow me another note: I think the naming of this filter
> is terrible. I've gone through the list of all ffmpeg filters
> many more times than the typical user, but without the specific
> pointers I had gotten from you and a few other devs, I would 
> have never identified the "elbg" filter as something that 
> would do what I'm looking for.

i would tend to agree, yes, in fact i think
finding filters based on what they do is hard
and iam not sure their names alone should be how they need to be found

thx

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

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- 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/30628c77/attachment.sig>


More information about the ffmpeg-devel mailing list