Convert HLS to MP3
Turn HLS videos into MP3. 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 soundtrack of a stream, as one MP3.The segments are joined in order and encoded as MP3. The picture is dropped.
What you get
One MP3 file with the sound from the whole stream. The segments the playlist lists are joined in order. If the stream offers several sounds, the one with the most channels is used.
The sound is encoded at variable-bitrate quality 2, at most 48 kHz, in mono or stereo. MP3 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 the one sound with the most channels is kept.
A video without sound stops with
unsupported_elements. A stream whose segments are on the web also stops withunsupported_elements, because those segments are not fetched. An encrypted stream stops withinput_encrypted.Shaping the sound
Set Audio bitrate (kbit/s) to use a bitrate you choose instead of the default quality. 128 suits speech and casual listening, and 192 to 320 suit music. Higher makes a bigger file.
Set Channels to 1 to mix the sound down to mono, which halves its size and suits speech. Set Sample rate (Hz) to change how often the sound is measured. Lower makes a smaller file and dulls high sounds.
Set Normalize loudness to bring quiet and loud recordings to -16 LUFS. Normalizing also resamples to 44.1 kHz unless Sample rate (Hz) is set. Set Reduce noise to lower steady background noise such as hum, hiss and fans. Sudden noises such as a door are left in.
Set Start at (s) and Stop at (s) to keep only part of the stream. Stop at (s) counts from the start of the original, so it must be later than Start at (s). Set Speed to play faster or slower with voices keeping their pitch, and Pitch to move the sound up or down by whole semitones at the same speed. For cutting an MP3 you already have, see trim MP3.
HLS and MP3.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 2 - 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 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
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
MP3 Audio
The universal lossy audio format. Plays on anything made in the last twenty-five years.
- Extensions
- .mp3
- MIME type
- audio
/mpeg - Kind
- Audio
In your code.The same HLS to MP3 conversion through the API, for your app or your agent.
$ cv convert clip.hls.zip clip.mp3$ cv convert clip.hls.zip clip.mp3Questions.What people ask about HLS to MP3.
No. The picture is dropped, and the output is audio only.
No. Subtitles are dropped, along with any audio tracks other than the one with the most channels.
The conversion stops with this code in two cases. One is a video without sound. The other is a stream whose segments are on the web, which are not fetched.
The conversion stops with input_encrypted.