Skip to content

Instantly share code, notes, and snippets.

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 ilovefreesw/cf66d97e56d2a7081d95a85715c46172 to your computer and use it in GitHub Desktop.
Save ilovefreesw/cf66d97e56d2a7081d95a85715c46172 to your computer and use it in GitHub Desktop.
Here is a batch script to bulk split GIF files into their corresponding frames in JPG format. Based on FFmpeg. So make sure that FFmpeg command is available.
forfiles /s /m *.gif /c "cmd /c mkdir @FNAME && ffmpeg -i "@FILE" @FNAME/output_%%04d.jpg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment