Skip to content

Instantly share code, notes, and snippets.

@danhett
Created January 20, 2016 11:55
Show Gist options
  • Save danhett/6586514b5cce72db5a8d to your computer and use it in GitHub Desktop.
Save danhett/6586514b5cce72db5a8d to your computer and use it in GitHub Desktop.
Convert single image to video
ffmpeg -y -loop 1 -t 3.03 -i image.png -r 1 -vcodec libx264 -b:v 200k -bt 350k -f mp4 video.mp4
more info: http://stackoverflow.com/questions/23424688/ffmpeg-convert-single-image-into-video-android
(labelled as android but should work on none android linux flavours)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment