Skip to content

Instantly share code, notes, and snippets.

@tyzbit
Last active February 17, 2023 04:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyzbit/4ec222786431dc33f9408c4e138da24c to your computer and use it in GitHub Desktop.
Save tyzbit/4ec222786431dc33f9408c4e138da24c to your computer and use it in GitHub Desktop.
Shotcut APNG Settings (For creating animated Discord stickers)
audio_off=1
f=apng
an=1
vcodec=apng
width=320
height=320
aspect=1
progressive=1
frame_rate_num=3000000
frame_rate_den=1000000
threads=9
@tyzbit
Copy link
Author

tyzbit commented Feb 17, 2023

To use, open Shotcut, click the Export tab, click the + button and paste this into the window, then pick a name for the preset and click OK.

Essentially the only lever you can pull to reduce file size (stickers must be < 512KB) is frame rate. Quality options in the encoder have no effect with APNG encoding, and stickers should always be 320x320.

Important: The filename must end in .png, NOT .apng.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment