Home » Questions » Computers [ Ask a new question ]

How to convert series of MP3 to a M4B in a batch

How to convert series of MP3 to a M4B in a batch

I have a batch of MP3 based books. Some of them divide into files according to book's own structure: chapters and so on. Some of them was just divided into equally lengthened parts.

Asked by: Guest | Views: 76
Total answers/comments: 1
Guest [Entry]

"Open a Terminal. Change to the directory the MP3 files are in. Type:

for i in *mp3 ; do ffmpeg -i $i -qscale 0 $i.m4a ; done

Of course, ffmpeg must be installed.

Note that I've used ""m4a"" above. The m4b format appears to be the same, just with a letter changed to indicate that it's a book. You can rename them all later if the one-letter difference bugs you. They play the same.

EDIT: I'm assuming you use a Mac. The above will also work on a PC if you run a Unix-like OS, or install Cygwin under Windows."