[FFmpeg-trac] #1642(avformat:reopened): -f segment: automagically generate #EXTM3U tags to -segment_list generated playlists

FFmpeg trac at avcodec.org
Sun Aug 19 22:52:47 CEST 2012


#1642: -f segment: automagically generate #EXTM3U tags to -segment_list generated
playlists
-------------------------------------+-------------------------------------
             Reporter:  kelexel      |                    Owner:
                 Type:  enhancement  |                   Status:  reopened
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  segment,     |               Blocked By:
  HLS, m3u8                          |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------

Comment (by kelexel):

 Note, in HLS-ilve two things should happen:

 If no #EXT-X-ENDLIST is found in the playlist.m3u8

 The client, when reaching the last file in the playlist, will re-request
 the playlist.

 Said paylist is supposed to have changed, hence -segment_list_limit 10,
 means we will only keep the last 10 segments of -segment_time 5 duration

 Each time the playlist starts a new group of 10x segments, the following
 tag should be incremented: #EXT-X-MEDIA-SEQUENCE:1

 So, on files 0->9, #EXT-X-MEDIA-SEQUENCE:1
 On files 10->19 #EXT-X-MEDIA-SEQUENCE:2
 And so on

 Also, please look at apple docs under Index Files (Playlists):
 https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/HTTPStreamingArchitecture/HTTPStreamingArchitecture.html#//apple_ref/doc/uid/TP40008332-CH101-SW2

 #EXT-X-TARGETDURATION:10

 #EXTINF:10,

 Which is the format I'm desperately trying to enforce here, and the one
 you don't want to :(

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1642#comment:11>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list