Opened 12 days ago

#6813 new defect

Transparency broken when encoding animated gif

Reported by: cehoyos Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: gif alpha
Cc: 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)

transparency.apng (1.1 MB) - added by cehoyos 12 days ago.

Download all attachments as: .zip

Change History (1)

Changed 12 days ago by cehoyos

Note: See TracTickets for help on using tickets.