Skip to main content

M3U8

  • 是什么?
    • utf-8 的 m3u
    • 播放列表,也常用于流媒定义 ts 片段
  • wikipedia M3U
#EXTM3U
#EXTINF
#EXT-X-STREAM-INF (adaptive streaming)
#EXT-X-ENDLIST (Live playlist)
#EXT-X-MEDIA-SEQUENCE
#EXT-X-TARGETDURATION
#EXT-X-DISCONTINUITY
#EXT-X-DISCONTINUITY-SEQUENCE
#EXT-X-BYTERANGE
#EXT-X-MAP
#EXT-X-KEY (https://tools.ietf.org/html/draft-pantos-http-live-streaming-08#section-3.4.4)
#EXT-X-PROGRAM-DATE-TIME (https://tools.ietf.org/html/draft-pantos-http-live-streaming-18#section-4.3.2.6)
EXT-X-START:TIME-OFFSET=x (https://tools.ietf.org/html/draft-pantos-http-live-streaming-18#section-4.3.5.2)

Tag

#EXTM3U

##EXTINF: 时常,标题
#EXTINF: 10,来了一群小鸭子

# 开始位置偏移
#EXT-X-START: TIME-OFFSET=0

HLS