Skip to content

Instantly share code, notes, and snippets.

@bamthomas
Created September 7, 2012 11:01
Show Gist options
  • Save bamthomas/3665125 to your computer and use it in GitHub Desktop.
Save bamthomas/3665125 to your computer and use it in GitHub Desktop.
encode_music_with_single_image
MP3=music.mp3
ffmpeg -loop_input -vframes `mp3info -p "%S" $MP3` -r 1 -f image2 -i cover.jpg -i $MP3 -ab 128k video.avi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment