Skip to content

Instantly share code, notes, and snippets.

@mhingston
Created December 15, 2018 21:10
Show Gist options
  • Save mhingston/b13c68061394c98cf73dd7bca63aa3fb to your computer and use it in GitHub Desktop.
Save mhingston/b13c68061394c98cf73dd7bca63aa3fb to your computer and use it in GitHub Desktop.
Create video from audio + image using ffmpeg
ffmpeg -loop 1 -framerate 1 -i image.jpg -i music.mp3 -c:v libx264 -preset veryslow -crf 0 -c:a copy -shortest output.mkv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment