projects
/
cmccabe-bin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
954fc12
)
Add to-audiobook-mp3.sh
author
Colin P. Mccabe
<colin@cmccabe.xyz>
Tue, 21 Nov 2017 17:35:52 +0000 (09:35 -0800)
committer
Colin P. Mccabe
<colin@cmccabe.xyz>
Tue, 21 Nov 2017 17:35:52 +0000 (09:35 -0800)
to-audiobook-mp3.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/to-audiobook-mp3.sh
b/to-audiobook-mp3.sh
new file mode 100755
(executable)
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"