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

FFmpeg trac at avcodec.org
Tue Jul 1 21:47:44 EEST 2025


#5419: HLS EXT-X-DISCONTINUITY tag is not supported
------------------------------------+------------------------------------
             Reporter:  xyq204101   |                    Owner:  (none)
                 Type:  defect      |                   Status:  open
             Priority:  important   |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  hls         |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  1           |
------------------------------------+------------------------------------
Comment (by carinobra):

 As far as I understood, by reading the RFC spec
 (https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.3.3), the EXT-X
 -DISCONTINUITY-SEQUENCE tag is not mandatory when having a
 EXT-X-DISCONTINUITY tag:

 ''If the Media Playlist does not contain an EXT-X-DISCONTINUITY-SEQUENCE
 tag, then the Discontinuity Sequence Number of the first Media Segment in
 the Playlist SHALL be considered to be 0.''

 The issue is that ffmpeg should support EXT-X-DISCONTINUITY to play the
 segments under this tag in the sequence they appear and continue to play
 the upcoming “non-discontinuity” segments normally.

 I believe this is urgent, as not only PlutoTV, but Samsung TVP and others
 are using this tag.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/5419#comment:34>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list