HLS vs M3U8: What They Mean for Streaming Video

Learn how HLS, M3U8, MP4 and WebM differ, what an M3U8 playlist contains, and why some streaming videos cannot be detected or saved.

Author avatar

Kayla

Quetta Networks

Logo of X / Twitter
Logo of Facebook
Email icon
Link icon
HLS vs M3U8

HLS and M3U8 are closely related, but they are not competing video formats. HLS is a method for delivering live or on-demand media as a sequence of smaller resources. An M3U8 file is a UTF-8 text playlist that tells an HLS player which streams and media segments are available.

MP4 and WebM are different again: they are media container formats. A webpage may provide a single MP4 or WebM file, or it may use an HLS stream described by one or more M3U8 playlists.

The Short Answer: HLS Is the System, M3U8 Is the Playlist

HLS stands for HTTP Live Streaming. It describes how a player retrieves playlists and media segments over HTTP and plays them in sequence. M3U8 usually refers to the UTF-8 playlist files used within that process.

The IETF HTTP Live Streaming specification defines two main kinds of playlists:

  • A multivariant playlist, historically called a master playlist, lists alternative versions of the presentation, such as different resolutions or bitrates.

  • A media playlist lists the media segments that make up one version of the presentation.

This means an M3U8 file normally contains text, tags, and URLs, not the actual video frames a viewer watches.

HLS, M3U8, MP4 and WebM at a Glance

HLS

HTTP Live Streaming is a segmented media-delivery system. A player reads a playlist, requests the listed segments, and can move between available variants as network conditions change.

M3U8

M3U8 is the UTF-8 playlist format commonly used by HLS. It can point to alternative media playlists or directly list the segments, keys, and timing information required for playback.

MP4

MP4 is a media container. A website can expose one MP4 file for direct playback or use fragmented MP4 segments inside a streaming workflow. The .mp4 extension alone does not tell you how the website delivers the media.

WebM

WebM is an open media container designed for web use. It commonly packages codecs such as VP8, VP9, or AV1 video with Vorbis or Opus audio. The MDN guide to media container formats explains the distinction between containers such as MP4 and WebM and the codecs carried inside them.

How an HLS Stream Works

An HLS player does not usually request one complete video file before playback. It works through a sequence:

  1. The page loads a player. The player receives or discovers the URL of an HLS playlist.

  2. The player reads the multivariant playlist. If several variants are available, it evaluates information such as bitrate, resolution, and codecs.

  3. The player selects a media playlist. That playlist identifies the segments for one stream variant.

  4. The player requests the segments. It retrieves the listed media in order and plays the presentation continuously.

  5. The player may change variants. When network conditions change, it can move to a more appropriate bitrate to reduce interruptions.

Apple’s documentation on creating a multivariant playlist describes how each available variant represents a version of the stream at a particular bitrate. The player can select the variant that best fits the measured connection.

Segments are not always old-style .ts files. Modern HLS can also use fragmented MP4 and other compatible segment types. The playlist and its tags tell the player how the presentation is organized.

What Is Inside an M3U8 Playlist?

An M3U8 playlist begins with #EXTM3U and contains a combination of tags and resource locations. The exact contents depend on whether it is a multivariant playlist or a media playlist.

A multivariant playlist may describe:

  • Available bitrates and resolutions.

  • Video and audio codecs.

  • Alternative audio languages.

  • Subtitle or caption renditions.

  • The location of each associated media playlist.

A media playlist may describe:

  • The sequence and duration of media segments.

  • The URL of each segment.

  • Initialization data for fragmented media.

  • Whether the presentation is live or has ended.

  • Encryption information when encryption is used.

The playlist is therefore a map for the player. Saving the .m3u8 text file alone normally does not save the complete video.

Why Websites Use HLS Instead of One Video File

The main advantage of HLS is adaptive delivery. A publisher can prepare several versions of the same presentation. The player can begin with a suitable stream and change quality when bandwidth or playback conditions change.

HLS also supports both live and on-demand media. A video-on-demand playlist can describe a fixed presentation, while a live playlist can be updated as new segments become available. Older live segments may later disappear from the playlist or server.

This structure can provide:

  • Faster playback startup than waiting for one large file.

  • Quality changes based on current network conditions.

  • Scalable delivery through ordinary HTTP infrastructure and caches.

  • Multiple audio, subtitle, or accessibility renditions.

  • A common workflow for live events and prerecorded video.

HLS vs MP4: Which One Is the Downloadable Video?

The question mixes a delivery method with a container. HLS describes how media is delivered through playlists and segments. MP4 describes how media tracks and metadata can be packaged.

A webpage may expose:

  • One ordinary MP4 file that can be requested directly.

  • An HLS playlist whose segments use MPEG transport stream.

  • An HLS playlist whose segments use fragmented MP4.

  • Several versions of the same video, including both direct files and streaming options.

For that reason, “HLS or MP4” is not always an either-or choice. MP4 can be the final saved container, and fragmented MP4 can also appear inside an HLS presentation.

What Happens When Permitted HLS Media Is Saved?

A compatible media-saving tool may detect an accessible HLS playlist, identify an available variant, request the media segments while they remain available, and combine or remux compatible tracks into a playable output.

That process is different from downloading one direct MP4 file. It may require many requests, and the source page or playlist may need to remain accessible until processing finishes. If video and audio are provided separately, the tool must support both tracks and combine them correctly.

Detection also does not create permission. Only save media you own or are authorized to download, and use an official download feature when the publisher provides one.

Why an M3U8 Stream May Not Be Detected or Saved

A video playing successfully does not guarantee that a browser tool can save it. Common reasons include:

The Stream Has Not Loaded Yet

Some pages do not request their playlist until playback begins. A detection tool may see nothing before the viewer presses Play.

The URLs Are Temporary

Playlist and segment URLs may include short-lived tokens. If they expire during processing, later requests can fail even though playback worked earlier.

The Stream Is Live

A live playlist changes over time. Earlier segments may be removed, and segments that were never available to the tool cannot be reconstructed afterward.

Audio and Video Are Separate

Some presentations use different playlists for video and audio. A tool must recognize the associated renditions and support combining them into a usable output.

The Player Uses Another Delivery Method

Not every segmented stream is HLS. A site may use MPEG-DASH, a proprietary player workflow, a blob URL backed by browser APIs, or another method the tool does not support.

Access Depends on the Page Session

The media may require an active login state, request headers, cookies, a geographic entitlement, or another page-specific condition. Being able to view a page does not mean a separate request can retrieve every resource outside that context.

The Media Is DRM-Protected

Encrypted playback may rely on a licensed content-decryption system. An accessible M3U8 playlist is not proof that its media can be lawfully decrypted or saved.

HLS Is Not the Same as DRM

HLS is a streaming protocol. DRM is a content-protection system. An HLS presentation can be unencrypted, encrypted with keys supplied through the playlist workflow, or protected through a DRM system.

The W3C Encrypted Media Extensions specification defines browser APIs for interacting with content-decryption systems and license or key exchanges; it does not make “HLS” another name for DRM. The delivery format and the access-protection layer answer different questions.

A responsible downloader should not bypass DRM, logins, subscriptions, paywalls, private access, or website restrictions. If protected content offers an official offline mode, use the publisher’s supported option.

What to Check Before Saving Streaming Media

Before saving a stream, check both permission and technical availability:

  1. Confirm that you own the media or have permission to save it.

  2. Look for the publisher’s official download or offline-viewing option.

  3. Check whether the media is a direct file or a segmented stream.

  4. Start playback if the page has not loaded the stream yet.

  5. Review only the formats and resolutions the source actually provides.

  6. Keep the page and stream accessible while permitted live or expiring media is processed.

  7. Verify the completed file before the live event or temporary source disappears.

Do not assume that changing a file extension converts a playlist into a video. Renaming .m3u8 to .mp4 does not retrieve the referenced segments or create a valid MP4 container.

Where Quetta Fits

The Quetta Video Downloader Extension for compatible desktop browsers can detect supported MP4, WebM, HLS/M3U8, and live-stream resources exposed to the current page. For compatible HLS media, it can retrieve available segments and merge them into a playable file.

Quetta only works with supported media resources that are accessible to the browser. It does not bypass DRM, login requirements, paywalls, private access, or website restrictions. Formats, resolutions, live-stream availability, and browser behavior depend on the source.

If you already installed the extension and need operating instructions, follow the guide to download your first supported video with Quetta. Mobile users can instead review Quetta’s built-in video downloader for Android and iPhone.

Frequently Asked Questions

Is M3U8 a video file?

Usually not. An M3U8 file is a UTF-8 text playlist. It contains tags and URLs that identify stream variants, media playlists, or media segments. The player follows those references to retrieve the audio and video required for playback.

Are HLS and M3U8 the same thing?

No. HLS is the overall streaming method, while M3U8 is the playlist format commonly used to describe an HLS presentation. People often use the terms together because an HLS player normally begins with an .m3u8 playlist.

What is the difference between a master M3U8 and a media M3U8?

A multivariant or master playlist lists alternative stream variants and renditions. A media playlist lists the segments for one selected stream. A player may read the multivariant playlist first and then load one or more media playlists.

Can every M3U8 playlist be converted to MP4?

No. The playlist and its segments must be accessible, compatible, and available long enough to process. Separate tracks, temporary URLs, unsupported media, missing segments, encryption, DRM, and access restrictions can prevent a usable MP4 output. You must also have permission to save the content.

Why does an HLS stream show several resolutions?

A multivariant playlist can advertise multiple versions of the presentation with different bitrates and resolutions. The player or compatible tool can select only the variants provided by the publisher; it cannot create a higher-quality source that does not exist.

Can an HLS downloader recover a live stream after it ends?

Not necessarily. A tool can process only the segments that remain accessible or that it captured while the stream was active. Once older segments expire or disappear, they cannot be reconstructed unless the publisher provides a replay or archive.

Does an M3U8 link mean the video is not protected?

No. An M3U8 playlist can be part of an unencrypted stream, an encrypted HLS workflow, or a DRM-protected presentation. Seeing the playlist does not remove the need for valid access, compatible decryption, and permission to save the media.

The Practical Difference

Remember the relationship rather than treating HLS and M3U8 as rival formats: HLS is the streaming workflow, and M3U8 is the playlist that helps a compatible player navigate it. MP4 and WebM are containers that may be delivered as files or used within broader media workflows.

Once you know which layer you are looking at- a delivery protocol, a playlist, a container, a codec, or an access-control system- it becomes much easier to understand why a video plays, why several qualities appear, and why a permitted download may or may not be technically available.