Created
July 9, 2011 04:59
-
-
Save adamvr/1073335 to your computer and use it in GitHub Desktop.
Creating an m4b audiobook from a bunch of mp3s
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
find . -name '*.mp3' -print0 | xargs -0 -I {} sh -c 'echo "{}"; n="{}~"; cp "{}" "$n"; id3v2 -D "$n"; cat "$n" >> comb.mp3; rm "$n"'; ffmpeg -i comb.mp3 -acodec libfaac audiobook.m4a; mv audiobook.m4a audiobook.m4b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment