Created
February 1, 2019 12:14
-
-
Save scastrec/15840741f1c510f43f2699b52d6b9d49 to your computer and use it in GitHub Desktop.
alexa_encoder enables to transform your mp3 files to be read in <audio> tag for Alexa
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 | |
mkdir mp3_ffmpeg | |
for i in *.mp3; do ffmpeg -i ${i} -ac 2 -codec:a libmp3lame -b:a 48k -ar 16000 "mp3_ffmpeg/${i%.*}.mp3"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment