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

FFmpeg trac at avcodec.org
Sun Apr 10 12:54:42 CEST 2016


#5419: HLS EXT-X-DISCONTINUITY tag is not supported
-----------------------------------+---------------------------------------
             Reporter:  xyq204101  |                     Type:  enhancement
               Status:  new        |                 Priority:  normal
            Component:  avformat   |                  Version:  git-master
             Keywords:  hls        |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+---------------------------------------
 Summary of the bug:

 I'm trying to read input from HLS and output to RTMP, this works fine if
 the HLS segments are all in one time sequence. However if the time changes
 e.g. segments generated from two video files, ffmpeg got error 'Non-
 monotonous DTS in output stream 0:1;'.

 According to the HLS documentation, EXT-X-DISCONTINUITY should be used
 when time sequence changes. (https://tools.ietf.org/html/draft-pantos-
 http-live-streaming-13#section-3.4.11) But I still got the same error
 after I added that tag to the m3u8 file. Look at hls.c file in
 libavformat, it doesn't handle EXT-X-DISCONTINUITY tag.


 How to reproduce:
 {{{
 ffmpeg -re -i http://hls-server/playlist.m3u8 -acodec copy -vcodec copy
 -bsf:a aac_adtstoasc -f flv rtmp://rtmp-server/app
 }}}

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


More information about the FFmpeg-trac mailing list