-
-
Save funky-monkey/c120978fc6b0e62dc7e57092e339034b 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