A playlist records real durations
Each EXTINF value describes the duration of the following segment. EXT-X-TARGETDURATION represents the maximum segment duration using the rules of the HLS format.
The final VOD segment is often shorter because the media duration does not divide evenly into the target interval.
#EXT-X-TARGETDURATION:6
#EXTINF:6.000,
segment_000.ts
#EXTINF:2.480,
segment_001.tsShort and long segments trade costs
Shorter segments can provide finer request and seek granularity, but create more files, playlist entries, HTTP requests, and packaging overhead. Longer segments reduce object count but make each request larger.
For VOD, CDN behavior and player buffering often matter more than chasing one universal number.
Alignment matters in adaptive output
A multi-rendition ladder needs coordinated boundaries so a player can switch variants without jumping in time. Creating several unrelated encodes and listing them in one master is not enough.
This converter's Master mode has one rendition, so it provides hierarchy rather than adaptive switching among bitrates.
Measure the complete experience
Test startup, seeking, object count, cache behavior, and playback through the final segment on realistic networks. Keep filenames stable for immutable VOD releases.
Do not manually edit EXTINF values to make them look uniform; they must describe the media accurately.
Technical references
Primary documentation used to review this guide:
Ready to create your HLS package?
Return to the converter. Your source file stays inside your browser.
Open converter