Re: [FFmpeg-devel] Color quantization for GIF v2

2015-02-14 Thread Clément Bœsch
Patchset improved with regard to: • quality: palettegen now uses the variance to determine which box to split instead of the number of color inside (a box encloses a bunch of colors and is averaged at the end to produce the palette color entry). • speed: paletteuse now cache the found

Re: [FFmpeg-devel] Color quantization for GIF v2

2015-02-10 Thread Clément Bœsch
On Mon, Feb 09, 2015 at 06:35:08PM +0100, Clément Bœsch wrote: [...] > • I added many debug utils (understand: dead code) in palettegen which is > very useful for debugging and error checking. I'd like to keep them if no > one mind. For example, it allows generating pictures such as >

Re: [FFmpeg-devel] Color quantization for GIF v2

2015-02-10 Thread Clément Bœsch
On Mon, Feb 09, 2015 at 06:35:08PM +0100, Clément Bœsch wrote: [...] > • we might still want to consider a per frame palette approach To elaborate on this point, what I meant was to define a per frame palette only for the part that change. I originally dismissed that idea for 2 reasons: • it c