Skip to content

Instantly share code, notes, and snippets.

@tigefa4u
Created July 15, 2022 04:43
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 tigefa4u/58bfd4d636695018c359906e21d039fd to your computer and use it in GitHub Desktop.
Save tigefa4u/58bfd4d636695018c359906e21d039fd to your computer and use it in GitHub Desktop.
gifs

Stuff to make gifs

Meshing gif

Here I used glob style input. I also had to pad because the image height was odd

ffmpeg -framerate 10 -pattern_type glob -i '*.jpg' -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" out.gif

ffmpeg -framerate 20 -pattern_type glob -i '*.jpg' -vf "scale=trunc(iw/4)*2:trunc(ih/4)*2" out.gif

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