[FFmpeg-trac] #8861(avfilter:new): Creating GIF with full transparent background from PNGs with semi-transparent pixels, somehow causes this outline

FFmpeg trac at avcodec.org
Sun Aug 23 20:46:30 EEST 2020


#8861: Creating GIF with full transparent background from PNGs with semi-
transparent pixels, somehow causes this outline
-------------------------------------+------------------------------------
             Reporter:  karl-police  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  paletteuse   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by pdr0):

 I think that artifact is from the fps filter, and you're dropping frames.
 It looks ok if you use -r as an input option

 eg.
 {{{
 ffmpeg -r 25 -i "sprite2/amongus_player_walk_00%02d.png" -i palette.png
 -lavfi "paletteuse=bayer" r25_output.gif
 }}}

 12fps works too, I just left it at 25fps for the example

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8861#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list