[FFmpeg-trac] #8588(avfilter:new): Palettegen adds one color on transparent input
FFmpeg
trac at avcodec.org
Sun Mar 29 23:07:11 EEST 2020
#8588: Palettegen adds one color on transparent input
-------------------------------------+-------------------------------------
Reporter: RedError | Owner:
Type: defect | Status: new
Priority: normal | Component: avfilter
Version: git-master | Resolution:
Keywords: palettegen | Blocked By:
color transparency gif png alpha |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by RedError):
Extra experiments:
[[Image(https://i.imgur.com/xS0iCRM.gif)]]Transparent Gif with white color
added
[[Image(https://i.imgur.com/gxbqTk5.png)]]Same palette as normal gif
It will however mention that one color was a dupe:
{{{
[Parsed_palettegen_0 @ 000002179de81c80]
5(+1) colors generated out of 5 colors; ratio=1.000000
[Parsed_palettegen_0 @ 000002179de81c80]
Dupped color: FFFFFFFF
}}}
[[Image(https://i.imgur.com/DcxR2qg.gif)]]Animated transparent gif with
different transparency color on each frame
[[Image(https://i.imgur.com/QxSEczQ.png)]]Same palette as non-animated gif
Same output as non-animated version
{{{
[Parsed_palettegen_0 @ 000001ec2c9e6e00]
4(+1) colors generated out of 4 colors; ratio=1.000000
}}}
[[Image(https://i.imgur.com/9HSZhL8.png)]]Transparent PNG with several
colors hidden with alpha zero
[[Image(https://i.imgur.com/5NbctC3.png)]] Palette with all the invisible
colors added
{{{
[Parsed_palettegen_0 @ 0000017f22529b00]
8(+1) colors generated out of 8 colors; ratio=1.000000
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8588#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list