VionetoVioneto
Back to the magazine

VIONETO MAGAZINE Playback & technology

Check the end of an HLS playlist with EXT-X-ENDLIST

The recording is expected to expire at the anticipated end point. Review the media playlist of the actually played variant and verify the end marker as well as the final segments.

Two rows of small image cards lie on a table surface. At the end of one row, an additional card with a stop symbol is placed.
Two playlists with the same segments can report different end conditions.Image: Vioneto · AI-generated illustration

The workshop is complete. On the course page, the published recording should play until the last overlay. If playback stops prematurely or continues waiting beyond the final frame, check the recently uploaded HLS playlists.

Select the list of actual media segments

Open the video you manage, navigate to the network tab of your browser, and start the intended playback. Look for the loaded playlist. A master playlist references the different variants. For this comparison, open the actually loaded media playlist, which contains entries with segment durations and segment addresses.

In the HLS specification, EXT-X-ENDLIST indicates that no further segments will be added to this media playlist. During an ongoing event, additional segments can still be appended. The EVENT type describes this dynamic growth of the playlist. The end is determined by the final segment in the specific media playlist, not by a timestamp.

RFC 8216 · Media Playlist, EXT-X-ENDLIST, and Playlist Types

Apple · Media playlists and their association with variants

Compare two lists with the same images

In their own local example, both EVENT lists reference three segments, each lasting two seconds. One list includes EXT-X-ENDLIST; in the second test version, this line is missing. The final version could be decoded from the three segments containing all 72 test images. This clearly separates the significance of the end marker from the list of available files.

FFmpeg · Documentation on Creating HLS Media Playlists

Verify the expected end of an HLS media playlist from the viewer's perspective

  1. Compare the actually loaded version with the published recording. Verify that the last expected segment is indeed present in the playlist.
  2. Play the video on the intended side until the last overlay. Verify that the final segments are accessible and that there is an audible end, if the video includes an audio track.
  3. If a published recording marked as complete is still awaiting further content, document the affected version and the actual observed playlist status. With this information, the responsible authority can verify the provision.

Distinguishing Master Playlists, Media Lists, and Video Segments

Prepare a finished webinar recording for viewers

Determine the actually played quality level

Topics

Sources and further reading

  1. https://www.rfc-editor.org/rfc/inline-errata/rfc8216.html
  2. https://developer.apple.com/documentation/http-live-streaming/about-the-common-media-application-format-with-http-live-streaming-hls
  3. https://ffmpeg.org/ffmpeg-formats.html