Created
January 5, 2017 14:51
-
-
Save janpaul/96f1ed9a861e58df0f048be8d10a4ba2 to your computer and use it in GitHub Desktop.
generate an ffmpeg command that converts a directory full of MP3's to one large MP3
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
# copy-and-paste the output of this script into a shell, and rejoice. | |
files=Dir.glob('*.mp3').sort.join('|') | |
puts "ffmpeg -i \"concat:#{files}\" -acodec copy output.mp3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment