Convert MKV to M4B

Turn MKV videos into M4B. Encoded as AAC in an audiobook file at 96 kbit/s and at most 48 kHz with up to 7.1 channels, unless audio.bitrate, audio.sample_rate or audio.channels say otherwise, and lossy sound loses a little more than it already had.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MKV files on the dialor turn it to pick what to do

The sound of a video as an audiobook.The audio track becomes an M4B file. The picture is dropped.

  1. What you get

    One M4B file with the sound encoded as AAC. The default is 96 kbit/s, at most 48 kHz and up to 7.1 channels. Set Audio bitrate (kbit/s), Sample rate (Hz) or Channels to change any of these.

    M4B is an AAC audiobook in an MP4 container with chapters. Apple Books and most audiobook apps play it.

  2. What it leaves behind

    The picture is dropped, and so are any other audio tracks. Only one audio track is kept.

    The sound is lossy, so it loses a little more than it already had. Raising Audio bitrate (kbit/s) gives the encoder more data for each second of sound.

    A video without sound fails with unsupported_elements, because there is no audio to put in the file.

  3. Shaping the audio

    Set Channels to 1 to mix the sound down to mono, which suits speech and halves its size. Turn on Reduce noise to lower steady background noise such as hum, hiss and fans. Sudden noises such as a door are left in.

    Turn on Normalize loudness to bring quiet and loud recordings to -16 LUFS. Normalizing also resamples to 44.1 kHz unless you set Sample rate (Hz).

    Set Speed to play faster or slower. Voices keep their pitch. Set Start at (s) and Stop at (s) to cut the beginning or the end. Stop at (s) counts from the start of the original, so it must be later than Start at (s).

MKV and M4B.What each format is, and the options this conversion takes.

  1. 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
  2. 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
  3. 03 · audio.denoise

    Reduce noise

    Lowers steady background noise such as hum, hiss and fans. Sudden noises such as a door are left in.

  4. 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.

  5. 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
  6. 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
  7. 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
  8. 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
  9. 09 · trim_start

    Start at (s)

    Cuts this many seconds from the beginning. Decimals such as 1.5 work.

    0 to 86400

The formats

From · MKV

Matroska Video

Matroska, an open container that holds any codec plus multiple audio and subtitle tracks.

Extensions
.mkv
MIME type
video/x-matroska
Kind
Video
To · M4B

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

In your code.The same MKV to M4B conversion through the API, for your app or your agent.

terminal
$ cv convert clip.mkv clip.m4b
$ cv convert clip.mkv clip.m4b

Questions.What people ask about MKV to M4B.

01OF 04

No. The picture is dropped, and the file holds sound only.

They are dropped. Only one audio track ends up in the M4B.

The file holds something M4B cannot carry. A video without sound stops with this code.

Yes. Set Speed to a value such as 1.5 and voices keep their pitch.

More conversions.Other ways in and out of MKV and M4B.