Convert M4B to AAC
Turn M4B recordings into AAC. The AAC audio is moved into a raw stream as it is, so nothing is lost and a cut lands on the nearest frame; any other option re-encodes it as AAC in a raw stream at 160 kbit/s and at most 48 kHz, unless audio.bitrate or audio.sample_rate say otherwise, which loses a little more than the AAC already did.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop M4B files on the dialor turn it to pick what to do
The audiobook sound as a raw AAC stream.The audio is moved over as it is, with tags, cover art and chapters dropped.
What you get
One AAC file with the sound of the M4B. When you change no options other than a cut, the AAC audio is moved into a raw stream as it is, so nothing is lost. A cut lands on the nearest frame.
Tags, cover art and chapters are dropped. You get the sound alone.
When the audio is re-encoded
Any other option re-encodes the audio as AAC in a raw stream at 160 kbit/s and at most 48 kHz, unless Audio bitrate (kbit/s) or Sample rate (Hz) say otherwise. This loses a little more than the AAC already did.
Normalize loudness also resamples to 44.1 kHz unless you set Sample rate (Hz). Reduce noise, Channels and Speed re-encode the audio in the same way.
Options
Set Start at (s) and Stop at (s) to keep part of the book. Stop at (s) counts from the start of the original, not from where trimming starts, so it must be later than Start at (s).
Set Channels to 1 to mix the sound down to mono, which halves its size and suits speech. Set Speed to play faster or slower while voices keep their pitch. To work on the result further, see trim AAC.
When it fails
If the M4B cannot be parsed, the conversion stops with
input_corrupted.
M4B and AAC.What each format is, and the options this conversion takes.
- 01 · audio.bitrate
Audio bitrate (kbit/s)
How much data each second of sound gets. 128 is fine for speech and casual listening, 192 to 320 for music. Higher makes a bigger file.
32 to 320 - 02 · audio.channels
Channels
1 mixes the sound down to mono, which halves its size and suits speech. 2 keeps it stereo.
1 to 8 - 03 · audio.denoise
Reduce noise
Lowers steady background noise such as hum, hiss and fans. Sudden noises such as a door are left in.
- 04 · audio.normalize
Normalize loudness
Makes quiet and loud recordings play at the same loudness, -16 LUFS, the level podcasts and streaming services aim for.
- 05 · audio.pitch
Pitch
Moves the pitch up or down by whole semitones while the speed stays the same. 12 is one octave up and -12 one octave down.
-12 to 12 - 06 · audio.sample_rate
Sample rate (Hz)
How many times per second the sound is measured. 44100 is the CD rate and 48000 the video rate. Lower makes a smaller file and dulls high sounds.
8000 to 96000 - 07 · speed
Speed
Plays faster or slower. 2 is twice as fast and 0.5 half as fast. Voices keep their pitch.
0.25 to 4 - 08 · trim_end
Stop at (s)
Stops at this second of the original. It counts from the start of the original, not from where trimming starts, so it must be later than Start at.
0 to 86400 - 09 · trim_start
Start at (s)
Cuts this many seconds from the beginning. Decimals such as 1.5 work.
0 to 86400
The formats
M4B Audiobook
AAC audiobooks in an MP4 container with chapters. What Apple Books and most audiobook apps play.
- Extensions
- .m4b
- MIME type
- audio
/mp4 - Kind
- Audio
AAC Audio
Raw AAC audio streams.
- Extensions
- .aac
- MIME type
- audio
/aac - Kind
- Audio
In your code.The same M4B to AAC conversion through the API, for your app or your agent.
$ cv convert recording.m4b recording.aac$ cv convert recording.m4b recording.aacQuestions.What people ask about M4B to AAC.
No. Chapters are dropped, along with tags and cover art. If you need them back in an audiobook, AAC to M4B goes the other way.
Not when the audio is moved as it is. If you use any option other than a cut, the audio is re-encoded, which loses a little more than the AAC already did.
Yes. Set Start at (s) to cut from the beginning and Stop at (s) to end at a second of the original. A cut lands on the nearest frame.
The file could not be parsed. The conversion stops with this code when that happens.