On 12/9/14, 7:44 PM, "Michael Niedermayer" <michae...@gmx.at> wrote:
>On Mon, Dec 08, 2014 at 10:25:05AM -0600, Christian Suloway wrote: >> This option flag deletes segment files removed from the playlist after a >> period of time equal to the duration of the segment plus the duration of >> the playlist. > >can you explain the usecase for this ? >isnt -hls_wrap <num> already achieving this more or less ? -hls_wrap <num> does achieve this more or less, but the option has been proposed for two reasons: (1) Simplify compliance with HLS Internet-Draft (http://tools.ietf.org/html/draft-pantos-http-live-streaming) section 6.2.2., Live Playlists: When the server removes a Media Segment URI from the Playlist, the corresponding Media Segment MUST remain available to clients for a period of time equal to the duration of the segment plus the duration of the longest Playlist file distributed by the server containing that segment. Removing a Media Segment earlier than that can interrupt in-progress playback. The playlist length/duration can change without computation and modification to the -hls_wrap <num> argument. (2) Although not required in the HLS Internet-Draft, it can be useful to have the sequence number in the segment URI for tracking when logging and making modifications to playlists. Thank you for your consideration. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel