How do I merge tracks from audiobooks so they are one file instead of 100 separate tracks?

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?

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.

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

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, you can brew install ffmpeg.
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.

• +1 for scripted solution instead of leaching online tools. – ʀ2ᴅ2 Oct 16 '18 at 2:36
• @ʀ2ᴅ2 ...which is harder and complicated, plus you have to install more software. – Mateus Ribeiro Oct 16 '18 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 Oct 17 '18 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. – Mateus Ribeiro Oct 17 '18 at 22:20
• 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! – Wowfunhappy Oct 18 '18 at 0:35

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.

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.