Last active
May 19, 2018 14:07
-
-
Save PMK/efac0ae89e15c9b4c4a4bb07c81c0211 to your computer and use it in GitHub Desktop.
Convert mp4 to mp3 with faad and lame
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function convertMp4ToMp3 { faad -q -w -f 2 "$1" | lame --quiet -r -h -b 320 - "${1%.mp4}.mp3"; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment