[FFmpeg-trac] #8348(undetermined:new): HLS Muxer - Master playlist with delete_segments failing

FFmpeg trac at avcodec.org
Thu Oct 31 01:26:00 EET 2019

#8348: HLS Muxer - Master playlist with delete_segments failing
             Reporter:  barhom       |                     Type:  defect
               Status:  new          |                 Priority:  critical
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 We just upgraded our ffmpeg installations with the latest commit (648b422)
 from git and directly saw some failures with the HLS MUXERs
 'delete_segments' flag.

 Reproduce it like this:

 ffmpeg -i input.ts -sn -map 0:v:0 -map 0:a:0 -c copy -b:v 3500k -hls_time
 3 -hls_list_size 3 -hls_flags
 -master_pl_name master.m3u8 -f hls /tmp/hls/8387/vs_%v/playlist.m3u8


 The error that will be generated is,
 [hls muxer @ 0x5633fbf32d00] failed to delete old segment
 /tmp/hls/8387/vs_0playlist0.ts: No such file or directory

 Note how there is a missing "/" after "vs_0".

 My known good commit is 8a1fc95 (unfortunately it is from 2018).

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

More information about the FFmpeg-trac mailing list