#11424: Colors get distorted when converting from an animated PNG into an animated GIF -------------------------------------+---------------------------------- Reporter: idest | Owner: (none) Type: defect | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by Leo Izen):
This is caused by the automatic converstion from rgb24 to bgr8, which is the default for the gif encoder. bgr8 cannot represent the colors correctly. Use this instead: ``` ffmpeg -i spiral.png -vf 'split[v],palettegen,[v]paletteuse' spiral.gif ``` The original picture only has 60 colors so this shouldn't create any loss. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11424#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".