Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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