Skip to content

Instantly share code, notes, and snippets.

@thomasaarholt
Created September 15, 2020 15:50
Show Gist options
  • Save thomasaarholt/f045e7366178e9911fd8e61a297b7cbc to your computer and use it in GitHub Desktop.
Save thomasaarholt/f045e7366178e9911fd8e61a297b7cbc to your computer and use it in GitHub Desktop.
ffmpeg image -> movie
ffmpeg -r 20 -i img_%03d.png -c:v libx264 -pix_fmt yuv420p -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -y out.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment