Syntax
Attributes
| Attribute | Value | Required | What it means |
|---|---|---|---|
| BANDWIDTH | Bits per second | Yes | The peak bit rate of the I-frame playlist. |
| AVERAGE-BANDWIDTH | Bits per second | No | The average bit rate of the I-frame playlist. |
| CODECS | RFC 6381 codec list, such as "avc1.640028" | No, but should be present | The media formats in the I-frame playlist, normally a video codec only. |
| RESOLUTION | WIDTHxHEIGHT, such as 1920x1080 | No | The best pixel size at which to display the frames. |
| HDCP-LEVEL | TYPE-0 or NONE | No | Whether the frames may fail to display without HDCP output protection. Added in the RFC 8216bis draft: the TYPE-1 value. |
| VIDEO | GROUP-ID of a VIDEO group | No | The group of alternative video renditions this I-frame playlist belongs with. |
| URI | URI of an I-frame media playlist | Yes | The I-frame playlist. It must contain EXT-X-I-FRAMES-ONLY. |
What EXT-X-I-FRAME-STREAM-INF means
EXT-X-I-FRAME-STREAM-INF points to an I-frame playlist: a media playlist that lists only I-frames, the video frames that can be decoded on their own. Players use these playlists for trick play, such as fast forward, rewind and previews while scrubbing, not for normal playback.
Unlike EXT-X-STREAM-INF, this tag stands alone. No URI line follows it; the playlist address goes in its URI attribute.
Where it goes
Master playlists only. There is usually one for each regular video quality, often placed next to the matching EXT-X-STREAM-INF tag.
Rules from RFC 8216
Section 4.3.4.3 sets these rules:
BANDWIDTHandURIare required.- The playlist at
URImust containEXT-X-I-FRAMES-ONLY. - Every
EXT-X-STREAM-INFattribute is also defined here, exceptFRAME-RATE,AUDIO,SUBTITLESandCLOSED-CAPTIONS. - With a
VIDEOattribute, the same rules for alternative renditions apply as forEXT-X-STREAM-INF. - A master playlist with alternative video renditions and I-frame playlists should offer an I-frame rendition for each regular video rendition, with the same
NAMEandLANGUAGE. - If
CODECSis present, it must list every media format in the I-frame playlist.
In the RFC 8216bis draft, the attributes that the draft adds to EXT-X-STREAM-INF, such as VIDEO-RANGE, apply here too.
Common mistakes
- A URI line after the tag. That line does not belong to this tag. Parsers may treat it as an extra variant with no information. The address belongs in the
URIattribute. - Treating it as a quality. Tools that list every playlist in a master file can end up offering an I-frame playlist as if it were a normal video.
- Pointing
URIat a normal media playlist that lacksEXT-X-I-FRAMES-ONLY.
How players treat it
Players that support trick play load the I-frame playlist when the viewer scrubs or fast-forwards, then return to the regular variant for normal playback. Players without trick play support ignore the tag, as RFC 8216 requires for tags a player does not recognize.
Example
#EXTM3U
#EXT-X-STREAM-INF:BANDWIDTH=2560000,RESOLUTION=1280x720,CODECS="avc1.64001f,mp4a.40.2"
mid/index.m3u8
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=150000,RESOLUTION=1280x720,CODECS="avc1.64001f",URI="mid/iframes.m3u8"
#EXT-X-STREAM-INF:BANDWIDTH=7680000,RESOLUTION=1920x1080,CODECS="avc1.640028,mp4a.40.2"
hi/index.m3u8
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=550000,RESOLUTION=1920x1080,CODECS="avc1.640028",URI="hi/iframes.m3u8"Each regular variant has a matching I-frame playlist; the I-frame tags carry their address in a URI attribute instead of on the next line.
How m3u8.cloud handles it
m3u8.cloud ignores EXT-X-I-FRAME-STREAM-INF when offering downloads, so I-frame playlists never appear as a quality option. The m3u8 inspector lists them so you can see they are there.
Related tags
Check the tags in any playlist
Open the m3u8 inspector