[FFmpeg-trac] #4571(avformat:new): HLS VOD m3u8 manifest support

FFmpeg trac at avcodec.org
Wed May 20 23:23:40 CEST 2015


#4571: HLS VOD m3u8 manifest support
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:
  chrisballinger                     |  enhancement
               Status:  new          |                 Priority:  normal
            Component:  avformat     |                  Version:  git-
             Keywords:               |  master
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
 Currently hlsenc.c supports generating a "live" manifest that is updated
 with a moving window of segments.  There are two other types of manifests,
 VOD and event.

 VOD manifests contain every segment and are useful to generate
 simultaneously with the live manifest, so when an event is over, a full
 version of the event is immediately available.

 This could be achieved by simply adding "#EXT-X-PLAYLIST-TYPE:VOD" as the
 second line at the top of another manifest that contains all segments.

 {{{
 #EXTM3U
 #EXT-X-PLAYLIST-TYPE:VOD
 #EXT-X-TARGETDURATION:10
 #EXT-X-VERSION:3
 #EXT-X-MEDIA-SEQUENCE:0
 #EXTINF:10.0,
 fileSequenceA.ts
 #EXTINF:10.0,
 fileSequenceB.ts
 #EXTINF:10.0,
 fileSequenceC.ts
 #EXTINF:9.0,
 fileSequenceD.ts
 #EXT-X-ENDLIST
 }}}

 The "event" type (#EXT-X-PLAYLIST-TYPE:EVENT) is similar to the live type,
 however instead of a sliding window, the manifest grows only by appending
 new segments. This allows a user to join a live event but seek to the
 beginning of a stream. When an event is finished, an event manifest is
 more or less equivalent to a VOD manifest.

 Full documentation is here:

 https://developer.apple.com/library/ios/technotes/tn2288/_index.html#//apple_ref/doc/uid/DTS40012238-CH1-TNTAG2

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4571>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list