From: Colin Patrick Mccabe Date: Sun, 7 Sep 2014 22:29:21 +0000 (-0700) Subject: add mp4-to-mp3.sh X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0faf2ad20af3b0dda45cbbb74b1f19a6bf8b524d;p=cmccabe-bin add mp4-to-mp3.sh Signed-off-by: Colin McCabe --- diff --git a/mp4-to-mp3.sh b/mp4-to-mp3.sh new file mode 100755 index 0000000..0259f7b --- /dev/null +++ b/mp4-to-mp3.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +FILE=$1 +echo "Re-encoding audio from ${FILE}..." +ffmpeg -i "${FILE}" -vn -ac 2 -ar 44100 -ab 220k -f mp3 "${FILE}.mp3"