Convert HLS to WAV

Turn HLS videos into WAV. 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 video as one WAV.The playlist's segments are joined in order and decoded to uncompressed audio.

  1. What you get

    One WAV file with the sound from the HLS package. 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 sound is decoded to PCM at the track's bit depth. Lossy sound comes out at 16-bit. Set Bit depth to 16 or 24 to choose the depth yourself, which makes the file much larger.

  2. What is left behind

    The picture is dropped, and so are subtitles and any other audio tracks. Only the one sound track is kept.

    A video without sound has nothing to put in a WAV, so the conversion stops with unsupported_elements. The same code appears when the playlist points to segments on the web, because those are not fetched. An encrypted stream stops with input_encrypted.

  3. Shaping the sound

    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. A lower rate makes a smaller file and dulls high sounds.

    Set Start at (s) and Stop at (s) to keep only part of the sound. Stop at counts from the start of the original, so it must be later than Start at. Set Speed to play faster or slower, and Pitch to move the pitch by whole semitones.

    Reduce noise lowers steady background noise such as hum, hiss and fans. Normalize loudness brings the sound to -16 LUFS and also resamples it to 44.1 kHz unless you set Sample rate (Hz). To cut or join WAV files afterward, see trim WAV and merge WAV.

HLS and WAV.What each format is, and the options this conversion takes.

  1. 01 · audio.bit_depth

    Bit depth

    The precision of each sample in uncompressed and lossless audio. 16 is CD quality, and 24 leaves room for editing. The input's depth is kept when it is left out.

    16 · 24
  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 192000
  7. 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
  8. 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
  9. 09 · trim_start

    Start at (s)

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

    0 to 86400

The formats

From · HLS

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
To · WAV

WAV Audio

Uncompressed PCM audio. Large files, no quality loss, the format editors and studios use.

Extensions
.wav
MIME type
audio/wav
Kind
Audio

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

terminal
$ cv convert clip.hls.zip clip.wav
$ cv convert clip.hls.zip clip.wav

Questions.What people ask about HLS to WAV.

01OF 04

Yes. The segments in the playlist are joined in order and decoded to one WAV file. The picture is not kept.

Either the video has no sound, or its segments are on the web and are not fetched. In both cases there is no audio to put in the WAV.

The stream is encrypted, so the conversion stops with input_encrypted.

WAV is uncompressed PCM. Choosing a Bit depth of 24 makes it larger still. Set Channels to 1 or lower Sample rate (Hz) for a smaller file.

More conversions.Other ways in and out of HLS and WAV.