Created
June 15, 2023 10:36
-
-
Save ashe23/a46b056d30bc2286e36a867a39730fb7 to your computer and use it in GitHub Desktop.
creating gif with trasparent background
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ffmpeg -y -framerate 30 -i Test.FinalImage.%04d.png -vf palettegen palette.png | |
| # ffmpeg -y -framerate 30 -i Test.FinalImage.%04d.png -i palette.png -lavfi paletteuse=alpha_threshold=128 -gifflags -offsetting output.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment