Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
generate a vertical sprite sheet from video file
# fps=10
ffmpeg -i video.mp4 -f image2 -vf fps=fps=10 img%03d.jpg
# vertical sprite
files=$(ls img*.jpg | sort -t '-' -n -k 2 | tr '\n' ' ')
convert $files -append output.jpg
# references:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment