Skip to content

Instantly share code, notes, and snippets.

@wwwins
Last active December 16, 2022 02:49
Show Gist options
  • Save wwwins/cfc009d864a86b0a9a43eea51bc29f2c to your computer and use it in GitHub Desktop.
Save wwwins/cfc009d864a86b0a9a43eea51bc29f2c to your computer and use it in GitHub Desktop.
Create video from one image
ffmpeg -r 0.01 -loop 1 -i image.jpg -c:v libx264 -tune stillimage -preset ultrafast -ss 00:00:00 -t 00:00:10 -pix_fmt yuv420p -shortest out.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment