1

Some of my audiobooks download as 1 7-hour long track. Others are in iTunes as 50-100 separate tracks (that sometime get out of order). I would like to merge the tracks so each audiobook appears as one long file/track. How do I do this?

3

4 Answers 4

4

I do this in the terminal with ffmpeg.

  1. Install ffmpeg. Download it from https://evermeet.cx/ffmpeg/, extract the 7z archive, and copy ffmpeg to /usr/local/bin. Alternately, if you use Homebrew or MacPorts, you can brew install ffmpeg or sudo port install ffmpeg, respectively.
  2. cd into a directory containing all the audiobook segments you want to join together. Make sure the file path does not contain any spaces.
  3. Run: ffmpeg -safe 0 -f concat -i <(for f in $PWD/*.EXT; do echo "file '$f'"; done) -codec copy full.EXT, replacing both instances of "EXT" with the file extension used by your audiobook (mp3, m4a, etc).

This will, of course, not work with DRM'd audiobooks. The same will be true for any tool that does not strip the DRM.

6
  • +1 for scripted solution instead of leaching online tools.
    – ʀ2ᴅ2
    Commented Oct 16, 2018 at 2:36
  • @ʀ2ᴅ2 ...which is harder and complicated, plus you have to install more software. Commented Oct 16, 2018 at 21:10
  • @MateusRibeiro I disagree and if you're going to be dealing with video modifications it's a good idea to have ffmpeg on your box.
    – ʀ2ᴅ2
    Commented Oct 17, 2018 at 12:47
  • @ʀ2ᴅ2 he is clearly making a standard user question (video modifications? lol) and even for a +25 years of computers like me typing commands is tiresome and far from easy. Commented Oct 17, 2018 at 22:20
  • 1
    For whatever it's worth, I legitimately believe this is the most efficient way to concatenate media. It's a command I use all the time, by copying from an easy-to-access text file. It's faster than navigating the UI of a larger program, and I know for sure that media isn't getting re-encoded (and losing quality). The terminal certainly has a learning curve, but once you know your way around it really is faster for many tasks! Commented Oct 18, 2018 at 0:35
2

I use the software Audiobook Builder to merge single tracks from an audiobook to one file. Afterwards you can delete the originals if you want. You can find the programm in the Mac App Store.

1
  • I use that program, too. Just make sure that each (combined) file is under about 10 hours, otherwise iTunes will have problems with it. Commented Oct 16, 2018 at 0:17
1

You can use online tools. There are several websites like Audio Joiner:

  1. Choose files to upload. Select which audio files you want to merge.

  2. Choose the settings for your output file. After selecting the appropriate audios for merging, drag-and-drop them until they are in the desired order.

  3. Download a single big file.

I belive this is the most convenient method whithout installing anything nor typing several instructions. It will accept different extensions like wav, ogg, wma, m4a, but depending on your files you will have to convert to MP3 prior to uploading. You can do this on iTunes.

1

I created a free tool (Track Concatenator) to join together iTunes tracks. It uses ffmpeg and mp4v2 to merge files and it adds chapter markers so you can easily skip between the original tracks in the merged file.

More information: https://www.davidschlachter.com/misc/trackconcat

1
  • I will give it a try!
    – Sizzle
    Commented Feb 4, 2019 at 21:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .