[FFmpeg-trac] #5839(avformat:new): [feature request] [hls] hls_flags to limit single_file size

FFmpeg trac at avcodec.org
Mon Sep 12 14:52:36 EEST 2016


#5839: [feature request] [hls] hls_flags to limit single_file size
-------------------------------------+------------------------------------
             Reporter:  ARQfBfnD     |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  hls          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by ARQfBfnD):

 Apple specifies:

 > Important: Playlists that specify byte range media segments require
 protocol version 4. In addition, they must include EXT-X-TARGETDURATION
 and EXT-X-MEDIA-SEQUENCE tags, and the media URI must reside on a separate
 line.

 Your last example had #EXTINF values that varied a lot (9, 3, 3, 6) from
 the TARGETDURATION 10. This is ok, IF:

 >    The server MUST divide the source media into individual Media
 >    Segments whose duration is less than or equal to a constant target
 >    duration.  Segments that are longer than the planned target duration
 >    can trigger playback stalls and other errors.

 >    The server SHOULD attempt to divide the source media at points that
 >    support effective decode of individual Media Segments, e.g. on packet
 >    and key frame boundaries.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5839#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list