Convert HLS to M4A
Turn HLS videos into M4A. 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 M4A file.The segments are joined in order and the video is dropped. What stays is AAC audio.
What you get
One M4A file with the sound from the stream. The segments the playlist lists are joined in order. If the package offers several audio tracks, the one with the most channels is used.
The sound is encoded as AAC at 192 kbit/s and at most 48 kHz. Set Audio bitrate (kbit/s) or Sample rate (Hz) to use other values. 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 the other audio tracks. A video without sound stops with
unsupported_elements.A stream that is encrypted stops with
input_encrypted. A stream whose segments are on the web is not fetched, so it stops withunsupported_elements.Options for the sound
Set Lossless to store the audio as Apple Lossless (ALAC) instead of AAC. This keeps every sample of what is decoded, and Audio bitrate (kbit/s) cannot be given with it.
Set Channels to 1 to mix the sound down to mono. Turn on Reduce noise to lower steady background noise such as hum or hiss. Turn on Normalize loudness to bring the sound to -16 LUFS. Normalizing also resamples to 44.1 kHz unless Sample rate (Hz) is set.
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. Set Speed to play faster or slower, and Pitch to move the pitch in semitones. To work on the result afterward, see trim M4A.
HLS and M4A.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 · 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.
- 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 - 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 · 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
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 HLS to M4A conversion through the API, for your app or your agent.
$ cv convert clip.hls.zip clip.m4a$ cv convert clip.hls.zip clip.m4aQuestions.What people ask about HLS to M4A.
No. The picture is dropped. Only the sound is kept.
When the package offers several, the one with the most channels is used. The other audio tracks are dropped.
Yes. Turn on Lossless and the audio is stored as Apple Lossless (ALAC) instead of AAC. Audio bitrate (kbit/s) cannot be given with it.
A video without sound stops with unsupported_elements, and so does a stream whose segments are on the web. An encrypted stream stops with input_encrypted.