Created
March 13, 2015 19:40
-
-
Save chrisji/b48f41e591a836a90ebe to your computer and use it in GitHub Desktop.
Concatenate all m4a files in a directory. 192k bitrate. First argument is the output file name.
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 | |
for f in *.m4a; do ffmpeg -i "$f" -acodec mp3 -ac 2 -ab 192 "$f.mp3"; done | |
find . -name '*.mp3' -exec lame --decode '{}' - ';' | lame -b 192 - $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment