Convert TS to M4A

Turn TS videos into M4A. Encoded as AAC at 192 kbit/s and at most 48 kHz, unless audio.bitrate or audio.sample_rate 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 TS files on the dialor turn it to pick what to do

The sound of a video as M4A.The audio becomes AAC in an M4A file. The picture is dropped.

  1. What you get

    One M4A file with the sound of the TS video. It is encoded as AAC at 192 kbit/s and at most 48 kHz, unless you set Audio bitrate (kbit/s) or Sample rate (Hz) yourself.

    M4A is AAC audio in an MP4 container, the format Apple Music and iTunes use.

    Turn on Lossless to store the sound as Apple Lossless (ALAC) instead of AAC, which keeps every sample of what is decoded. Audio bitrate (kbit/s) cannot be set together with it.

  2. What it leaves behind

    The picture is dropped, and so are other audio tracks in the file. The sound is lossy, so it loses a little more than it already had.

    A video without sound has nothing to keep, and the conversion stops with unsupported_elements. The same code appears when the file holds something M4A cannot carry.

  3. Options for the sound

    Set Audio bitrate (kbit/s) to give each second of sound more or less data. 128 is fine for speech and casual listening, 192 to 320 for music. Higher makes a bigger file.

    Set Channels to 1 to mix the sound down to mono, which halves its size and suits speech. 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 play quiet and loud recordings at -16 LUFS. This also resamples to 44.1 kHz unless you set Sample rate (Hz).

  4. Cutting and speed

    Set Start at (s) to cut seconds from the beginning. Decimals such as 1.5 work. Set Stop at (s) to end at a second of the original. It counts from the start of the original, so it must be later than Start at.

    Set Speed to play faster or slower. 2 is twice as fast and 0.5 half as fast. Voices keep their pitch.

TS and M4A.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 · lossless

    Lossless

    Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.

  8. 08 · 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
  9. 09 · 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
  10. 10 · trim_start

    Start at (s)

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

    0 to 86400

The formats

From · TS

MPEG Transport Stream

MPEG transport streams, the container of broadcast and HLS video.

Extensions
.ts .m2ts .mts
MIME type
video/mp2t
Kind
Video
To · M4A

M4A Audio

AAC audio in an MP4 container. What Apple Music and iTunes use.

Extensions
.m4a
MIME type
audio/mp4
Kind
Audio

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

terminal
$ cv convert clip.ts clip.m4a
$ cv convert clip.ts clip.m4a

Questions.What people ask about TS to M4A.

01OF 04

No. The picture is dropped and only the sound is kept.

The file may have no sound, or it holds something M4A cannot carry. A video without sound always stops with this code.

Yes. Set Channels to 1 to mix the sound down to mono. This halves its size and suits speech.

Yes. Set Start at (s) and Stop at (s) to keep only the seconds you want. Stop at counts from the start of the original.