Last active
August 29, 2015 14:21
-
-
Save kastnerkyle/fccdbc3fa69d7d65ae63 to your computer and use it in GitHub Desktop.
convert_mp3_to_wav.sh
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
ffmpeg -i 111.mp3 -acodec pcm_s16le -ac 1 -ar 16000 out.wav | |
find ../mp3_symlinks/ -name *.mp3 -exec sh -c 'echo $(basename {} .mp3)' \; | |
find ../mp3_symlinks/ -name *.mp3 -exec sh -c 'ffmpeg -i {} -acodec pcm_s16le -ac 1 -ar 16000 $(basename {} .mp3).wav' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment