[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
Mon Aug 24 07:44:04 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 karl-police):

 Replying to [comment:7 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
 > https://imgur.com/a/5MNxLQI

 What does -r do? And why exactly 25?

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


More information about the FFmpeg-trac mailing list