EXT-X-ENDLIST

Says no more segments will be added to the playlist, which marks the video as on demand rather than live.

Media playlist tagAny protocol versionIn: Media playlistRFC 8216, section 4.3.3.4

Syntax

#EXT-X-ENDLIST

What EXT-X-ENDLIST means

EXT-X-ENDLIST says that no more segments will be added to the media playlist. Its presence is the main sign of an on-demand video. Without it, players treat the playlist as live and keep reloading it to look for new segments.

The tag has no value and no attributes.

Where it goes

Media playlists only, once. RFC 8216 allows it anywhere in the file, but servers usually put it on the last line. When a live event ends, the server adds it to the playlist.

Rules from RFC 8216

Section 4.3.3.4 defines the tag; sections 6.2.1 and 6.3 add these rules:

Common mistakes

How players treat it

With the tag, players stop reloading, show the full duration, allow seeking anywhere, and start at the beginning or at the EXT-X-START point. Without it, they show a live interface and start near the live edge. A playlist can change from live to on demand in place: once the tag appears, players that are still reloading treat the stream as finished.

Example

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:6.000,
seg0.ts
#EXTINF:6.000,
seg1.ts
#EXTINF:3.200,
seg2.ts
#EXT-X-ENDLIST

The EXT-X-ENDLIST line tells players that seg2.ts is the last segment, so they stop reloading and treat the video as on demand.

How m3u8.cloud handles it

m3u8.cloud uses EXT-X-ENDLIST to tell on-demand video from live streams. If the tag is present, the video is on demand and can be downloaded in full. If it is missing, the stream is treated as live and offered as a recording: press Record, then Stop and save to finish the file.

A recording includes whatever the playlist still lists from before you pressed Record, often a minute or two.

Check the tags in any playlist

Open the m3u8 inspector