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

2022-11-01 Thread Clément Bœsch
On Mon, Oct 31, 2022 at 10:58:57PM +0100, Michael Niedermayer wrote: [...] > > You have to make a call between whether you want to preserve the > > transparency or the color while constructing the palette, but when > > choosing a color you must absolutely not choose a color with a different > >

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

2022-10-31 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Monday, October 31, 2022 10:59 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] Revert > "avfilter/vf_palet

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

2022-10-31 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Clément Bœsch > Sent: Monday, October 31, 2022 7:51 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] Revert > "avfilter/vf_palette(gen|use)

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

2022-10-31 Thread Clément Bœsch
On Mon, Oct 31, 2022 at 03:11:13PM +, Soft Works wrote: [...] > > > Photoshop has these different modes as well and it would > > > surely be useful, but I don't think it should be replacing the > > > existing behavior. > > > > > > > There is no point in keeping a ton of complexity exposed as

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

2022-10-31 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Clément Bœsch > Sent: Monday, October 31, 2022 11:57 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] Revert > "avfilter/vf_palette(gen|use)

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

2022-10-31 Thread Clément Bœsch
On Mon, Oct 31, 2022 at 12:58:20PM +0100, Paul B Mahol wrote: [...] > I'm against removing useful features. Did you just rudely dismissed all the arguments made, or is this a joke? Regards, -- Clément B. ___ ffmpeg-devel mailing list

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

2022-10-31 Thread Paul B Mahol
On 10/31/22, Clément Bœsch wrote: > On Mon, Oct 31, 2022 at 01:43:11AM +, Soft Works wrote: > [...] >> > > > The patch I had submitted doesn't change the previous behavior >> > > > without the use_alpha parameter. >> > >> > Yes I noticed, but unfortunately I'm reworking the color distance to

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

2022-10-31 Thread Clément Bœsch
On Mon, Oct 31, 2022 at 01:43:11AM +, Soft Works wrote: [...] > > > > The patch I had submitted doesn't change the previous behavior > > > > without the use_alpha parameter. > > > > Yes I noticed, but unfortunately I'm reworking the color distance to > > work > > in perceptual color space,

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

2022-10-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Clément Bœsch > Sent: Monday, October 31, 2022 1:30 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] Revert > "avfilter/vf_palette(gen|use)

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

2022-10-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Clément Bœsch > Sent: Monday, October 31, 2022 1:30 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] Revert > "avfilter/vf_palette(gen|use)

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

2022-10-30 Thread Clément Bœsch
On Sun, Oct 30, 2022 at 10:55:31PM +, Soft Works wrote: [...] > > I understand why. I know that it's not perfect. But it's the best > > what's achievable within the way the filter is working. > > > > But I wouldn't go that far as saying it would be "broken". I think > > the result is quite

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

2022-10-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Soft Works > Sent: Sunday, October 30, 2022 10:41 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] Revert > "avfilter/vf_palette(gen|use)

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

2022-10-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Clément Bœsch > Sent: Sunday, October 30, 2022 10:30 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] Revert > "avfilter/vf_palette(gen|use)

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

2022-10-30 Thread Clément Bœsch
On Sun, Oct 30, 2022 at 10:30:06PM +0100, Clément Bœsch wrote: > On Sun, Oct 30, 2022 at 09:19:05PM +, Soft Works wrote: > [...] > > At the time of submission I did a lot of experiments and the results > > seemed to be very useful: > > > >

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

2022-10-30 Thread Clément Bœsch
On Sun, Oct 30, 2022 at 09:19:05PM +, 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*

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

2022-10-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Clément Bœsch > Sent: Sunday, October 30, 2022 6:58 PM > To: ffmpeg-devel@ffmpeg.org > Cc: softwo...@hotmail.com; Clément Bœsch > Subject: [FFmpeg-devel] [PATCH] Revert "avfilter/vf_palette(gen|use): > support palettes with