[FFmpeg-trac] #8739(undetermined:new): HLS playlist version 4

FFmpeg trac at avcodec.org
Sun Jun 14 07:59:14 EEST 2020

#8739: HLS playlist version 4
             Reporter:  krs_vital    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 i have a command that generates 2 hls streams:

 /usr/local/bin/ffmpeg -dts_delta_threshold 3600 -err_detect ignore_err
 -rtpflags +skip_rtcp+h264_mode0 -rtsp_flags +prefer_tcp -rtsp_transport
 tcp -i rtsp:// -y -sn -dn  -hls_time 6 -map 0:v
 -ignore_unknown -strict -2 -use_localtime 1 -use_localtime_mkdir 1
 -hls_segment_filename /store/records/97hYJ/%Y/%m/%d/%H/%s.ts -f hls
 -vcodec copy -acodec copy /hls/tmp/97hYJ.m3u8 -map 0:v -f hls -hls_wrap 10
 -hls_time 1 -hls_segment_size 4 -hls_flags +delete_segments+split_by_time
 -hls_segment_filename /hls/live/97hYJ/%d.ts -vcodec copy -acodec copy

  cat ./index.m3u8
 #EXT-X-BYTERANGE:314336 at 0
 #EXT-X-BYTERANGE:250228 at 0
 #EXT-X-BYTERANGE:311892 at 0
 #EXT-X-BYTERANGE:244212 at 0
 #EXT-X-BYTERANGE:305312 at 0

 first stream playlist generating with version 3 format, but second stream
 generating playlist with version 4, why? how can i force change to version

 hls.js player doesn support version 4

 with version 4 #EXT-X-MEDIA-SEQUENCE: doesnt change ant allways set to 0

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

More information about the FFmpeg-trac mailing list