Created
January 25, 2019 06:48
-
-
Save deepwilson/74494def5bc2182974c8ff0411b5424a to your computer and use it in GitHub Desktop.
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
directory = r"C:\Users\deep1\audio_segments/" | |
files_concat = ["audio_136","audio_062","audio_008","audio_009","audio_045","audio_050","audio_055","audio_114"] | |
ffmpeg_command = "ffmpeg -i \"concat:" | |
for file in files_concat: | |
ffmpeg_command += file+".mp3|" | |
ffmpeg_command = ffmpeg_command.rstrip("|") | |
ffmpeg_command = ffmpeg_command+"\" music_concat.mp3" | |
os.system(ffmpeg_command) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment