[FFmpeg-trac] #5419(avformat:new): HLS EXT-X-DISCONTINUITY tag is not supported

FFmpeg trac at avcodec.org
Fri Jun 3 19:41:30 CEST 2016

#5419: HLS EXT-X-DISCONTINUITY tag is not supported
             Reporter:  xyq204101   |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  hls         |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  1           |
Changes (by anssi):

 * analyzed:  0 => 1
 * cc: anssi.hannula@… (added)
 * component:  undetermined => avformat
 * reproduced:  0 => 1
 * keywords:   => hls


 This report is valid as indeed the HLS demuxer doesn't currently support

 Changing the order of the segments in the playlist and marking them with
 EXT-X-DISCONTINUITY should indeed result in playback in the new order with
 consistent timestamps as has been suggested.

 To properly support the timestamp discontinuity case we'd need to map the
 timebase of each discontinuity sequence to a single consistent timebase,
 and that mapping would need to be considered when selecting the next frame
 to be output and when seeking.

 EXT-X-DISCONTINUITY also allows the file format, the number of tracks, and
 other stream properties to change, those would require some additional
 handling (e.g. open a different subdemuxer) but such cases may be more

Ticket URL: <https://trac.ffmpeg.org/ticket/5419#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list