Skip to content

Instantly share code, notes, and snippets.

@romanz
Created April 28, 2012 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save romanz/2519674 to your computer and use it in GitHub Desktop.
Save romanz/2519674 to your computer and use it in GitHub Desktop.
Extract mp3
#!/bin/bash
for f in $*
do
ffmpeg -i ${f} -vn -ar 44100 -ac 2 -ab 128000 ${f%.*}.mp3
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment