Convert HLS to AAC
Turn HLS videos into AAC. The segments the playlist lists are joined in order, taking the video with the largest picture and the sound with the most channels when it offers several, and subtitles are dropped.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop HLS files on the dialor turn it to pick what to do
The sound of an HLS stream as one AAC file.The playlist's segments are joined in order and saved as a raw AAC stream.
What you get
One AAC file with the sound from the stream. The segments the playlist lists are joined in order. If the stream offers several sound tracks, the one with the most channels is used.
The audio is encoded at 160 kbit/s and at most 48 kHz, unless you set Audio bitrate (kbit/s) or Sample rate (Hz). AAC is lossy, so the sound loses a little more than it already had.
What is left behind
The picture is dropped, and so are subtitles and any other audio tracks. Only one sound track is kept.
A video with no sound stops with
unsupported_elements. So does a stream whose segments are on the web, because those segments are not fetched. An encrypted stream stops withinput_encrypted.Shaping the sound
Set Audio bitrate (kbit/s) to choose 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.
Set Channels to 1 to mix the sound down to mono, which 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 bring quiet and loud recordings to -16 LUFS. This also resamples to 44.1 kHz unless you set Sample rate (Hz).
Set Speed to play faster or slower while voices keep their pitch. Set Pitch to move the sound up or down by whole semitones at the same speed.
Cutting a part
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 counted from the start of the original, so it must be later than Start at. To work on an AAC file that already exists, see trim AAC.
HLS 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
HLS Package
A video cut into short segments with an .m3u8 playlist for HTTP Live Streaming, zipped to put on any web server.
- Extensions
- .hls.zip
- MIME type
- application
/x -hls +zip - Kind
- Video
AAC Audio
Raw AAC audio streams.
- Extensions
- .aac
- MIME type
- audio
/aac - Kind
- Audio
In your code.The same HLS to AAC conversion through the API, for your app or your agent.
$ cv convert clip.hls.zip clip.aac$ cv convert clip.hls.zip clip.aacQuestions.What people ask about HLS to AAC.
No. The picture is dropped, and only the sound is kept as a raw AAC stream.
The one with the most channels. Other audio tracks are dropped.
The conversion stops with unsupported_elements when the video has no sound. It also stops when the playlist points to segments on the web, because those are not fetched.
The conversion stops with input_encrypted. An encrypted stream is not converted.