[FFmpeg-trac] #4900(avformat:new): HLS flag "delete_segments" regression

FFmpeg trac at avcodec.org
Thu Oct 1 20:34:18 CEST 2015


#4900: HLS flag "delete_segments" regression
-------------------------------------+-------------------------------------
             Reporter:  DeHackEd     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avformat     |                  Version:  git-
             Keywords:  hls          |  master
  delete_segments                    |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Using "ffmpeg ... -hls_flags delete_segments ..." will result in corrupted
 filenames when trying to delete old segments. The output is something
 like:
 [hls muxer @ 0x3c3a2a0] failed to delete old segment : No such file or
 directory
 [hls muxer @ 0x3c3a2a0] failed to delete old segment ,&q'?zh&1[\S: No such
 file or directory
 [hls muxer @ 0x3c3a2a0] failed to delete old segment AjC<?+*<
 <j$: No such file or directory


 (Non-ASCII characters have been replaced for readability)

 How to reproduce:
 {{{
 % ffmpeg -i testvideo.ts -f hls -c:v libx264 -crf 25 -c:a aac -strict -2
 -f hls -hls_flags delete_segments test.m3u8
 }}}
 Once sufficient time has passed errors will be printed regularly.

 Tested on current git head

 I bisected to identify the faulty commit:
 379ddc6af44f0c2f3cb517bcc5664610aef9bfc0
 avformat/hlsenc: Add WebVtt support in hls

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


More information about the FFmpeg-trac mailing list