From 0faf2ad20af3b0dda45cbbb74b1f19a6bf8b524d Mon Sep 17 00:00:00 2001 From: Colin Patrick Mccabe Date: Sun, 7 Sep 2014 15:29:21 -0700 Subject: [PATCH] add mp4-to-mp3.sh Signed-off-by: Colin McCabe --- mp4-to-mp3.sh | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) create mode 100755 mp4-to-mp3.sh 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" -- 1.6.6.rc1.39.g9a42