#6813 closed defect (fixed)
Transparency broken when encoding animated gif
Reported by: | Carl Eugen Hoyos | Owned by: | |
---|---|---|---|
Priority: | important | Component: | undetermined |
Version: | git-master | Keywords: | gif alpha webp animated |
Cc: | nirel.didi@gmail.com | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
$ ffmpeg -i transparency.apng out.gif ffmpeg version N-88605-g991eca0 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (GCC) configuration: --enable-gpl --cc=/usr/local/gcc-6.3.0/bin/gcc libavutil 56. 0.100 / 56. 0.100 libavcodec 58. 1.100 / 58. 1.100 libavformat 58. 2.100 / 58. 2.100 libavdevice 58. 0.100 / 58. 0.100 libavfilter 7. 0.101 / 7. 0.101 libswscale 5. 0.101 / 5. 0.101 libswresample 3. 0.101 / 3. 0.101 libpostproc 55. 0.100 / 55. 0.100 Input #0, apng, from 'transparency.apng': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: apng, pal8(pc), 300x180, 4 fps, 4 tbr, 100k tbn, 100k tbc Stream mapping: Stream #0:0 -> #0:0 (apng (native) -> gif (native)) Press [q] to stop, [?] for help Output #0, gif, to 'out.gif': Metadata: encoder : Lavf58.2.100 Stream #0:0: Video: gif, pal8, 300x180, q=2-31, 200 kb/s, 4 fps, 100 tbn, 4 tbc Metadata: encoder : Lavc58.1.100 gif frame= 93 fps=0.0 q=-0.0 Lsize= 1190kB time=00:00:23.01 bitrate= 423.5kbits/s speed= 473x video:1188kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.126995%
Output file is broken.
Attachments (1)
Change History (10)
by , 7 years ago
Attachment: | transparency.apng added |
---|
comment:1 by , 7 years ago
follow-up: 4 comment:3 by , 7 years ago
I believe this patch allows encoding animated gifs with transparency:
https://ffmpeg.org/pipermail/ffmpeg-devel/2017-November/220518.html
comment:4 by , 7 years ago
Replying to cehoyos:
I believe this patch allows encoding animated gifs with transparency:
https://ffmpeg.org/pipermail/ffmpeg-devel/2017-November/220518.html
I'm using the latest nightly static build ffmpeg version N-91330-ga990184007
available from https://www.ffmpeg.org/download.html and still getting no transparency in gifs from apng or mov with alpha channel.
comment:6 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:7 by , 6 years ago
Cc: | added |
---|---|
Keywords: | webp animated added |
Priority: | normal → important |
Resolution: | fixed |
Status: | closed → reopened |
Hey,
It's still doesn't work for animated webp :/
ffmpeg -i test.gif animation.webp
For example, I want to convert this gif - https://imgur.com/tCSn2No to webP,
The output for now is - https://media.giphy.com/media/UqevOuKr66xO04zRBa/giphy.gif
how can I achieve that using ffmpeg?
comment:8 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
comment:9 by , 6 years ago
Resolution: | invalid → fixed |
---|
Please do not reopen this ticket with unrelated bug.
Is there any workaround for this issue?