[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://172.17.201.29:554/h264_2 -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
 /hls/live/97hYJ/index.m3u8

  cat ./index.m3u8
 #EXTM3U
 #EXT-X-VERSION:4
 #EXT-X-TARGETDURATION:1
 #EXT-X-MEDIA-SEQUENCE:0
 #EXTINF:0.993378,
 #EXT-X-BYTERANGE:314336 at 0
 2.ts
 #EXTINF:1.006900,
 #EXT-X-BYTERANGE:250228 at 0
 3.ts
 #EXTINF:0.982967,
 #EXT-X-BYTERANGE:311892 at 0
 4.ts
 #EXTINF:1.003689,
 #EXT-X-BYTERANGE:244212 at 0
 5.ts
 #EXTINF:0.996233,
 #EXT-X-BYTERANGE:305312 at 0
 6.ts


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

 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