Advertisement
metalx1000

Combine all MP3s into one file with ffmpeg

Jan 31st, 2016
573
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.11 KB | None | 0 0
  1. #!/bin/bash
  2. x=$(ls|while read mp3;do echo -n "$mp3|";done)
  3. ffmpeg -i "concat:${x::-1}" -acodec copy output.mp3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement