From: Colin P. Mccabe Date: Tue, 21 Nov 2017 17:35:52 +0000 (-0800) Subject: Add to-audiobook-mp3.sh X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e79a1e7ff80f4b9831f7e3f66ad41ca760c4b68f;p=cmccabe-bin Add to-audiobook-mp3.sh --- diff --git a/to-audiobook-mp3.sh b/to-audiobook-mp3.sh new file mode 100755 index 0000000..71578cd --- /dev/null +++ b/to-audiobook-mp3.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +FILE=$1 +echo "Re-encoding audio from ${FILE}..." +ffmpeg -i "${FILE}" -vn -ac 1 -ar 44100 -ab 96k -f mp3 "${FILE}.mp3"