Convert TS to AC3
Turn TS videos into AC3. Encoded as Dolby Digital at 192 kbit/s and at 32, 44.1 or 48 kHz with up to 5.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 TS files on the dialor turn it to pick what to do
The sound of a video as Dolby Digital.The audio track of a TS file becomes one AC3 file. The picture is dropped.
What you get
One AC3 file with the sound of the video, encoded as Dolby Digital at 192 kbit/s. The sample rate is 32, 44.1 or 48 kHz, and the sound has up to 5.1 channels. Set Audio bitrate (kbit/s), Sample rate (Hz) or Channels to change these.
AC3 is the Dolby Digital audio of DVDs. TS is the container of broadcast and HLS video.
What changes or is left behind
The sound is lossy, so it loses a little more than it already had. Other audio tracks and the picture are dropped, and only one track is kept.
A video without sound has nothing to convert, and the conversion stops with
unsupported_elements. That code also applies when the file holds something AC3 cannot carry.If the file cannot be parsed, the conversion stops with
input_corrupted.Options for the sound
Set Start at (s) and Stop at (s) to keep only part of the video. Stop at counts from the start of the original, so it must be later than Start at.
Set Speed to play faster or slower. Voices keep their pitch. Set Reduce noise to lower steady background noise such as hum, hiss and fans. Sudden noises such as a door stay in.
Turn on Normalize loudness to bring quiet and loud recordings to -16 LUFS. This also resamples to 44.1 kHz unless you set Sample rate (Hz).
TS and AC3.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.
64 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 6 - 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.
32000 to 48000 - 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
MPEG Transport Stream
MPEG transport streams, the container of broadcast and HLS video.
- Extensions
- .ts .m2ts .mts
- MIME type
- video
/mp2t - Kind
- Video
AC-3 Audio
Dolby Digital audio, the surround sound of DVDs.
- Extensions
- .ac3
- MIME type
- audio
/ac3 - Kind
- Audio
In your code.The same TS to AC3 conversion through the API, for your app or your agent.
Questions.What people ask about TS to AC3.
No. The picture is dropped and the output is an AC3 audio file only.
The file has no sound, or it holds something AC3 cannot carry. A video without sound always stops with this code.
Yes. Set Channels to 1 to mix the sound down to mono. This suits speech.
No. Other audio tracks are dropped.