[FFmpeg-trac] #6777(undetermined:new): hls muxer writes a corrupted init filename when segmenting to fmp4 unless absolute path provided

FFmpeg trac at avcodec.org
Wed Oct 25 01:35:27 EEST 2017


#6777: hls muxer writes a corrupted init filename when segmenting to fmp4 unless
absolute path provided
-------------------------------------+-------------------------------------
             Reporter:  pickles      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  hls          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 As discussed in comments 3-5 in #6776, the hls muxer creates an init file
 with a corrupted filename when segmenting to fmp4 unless
 `hls_fmp4_init_filename` is set with an absolute filename.

 How to reproduce:
 {{{
 ffmpeg -f lavfi -i testsrc -hls_segment_filename '%d.m4s'
 -hls_segment_type fmp4 -hls_fmp4_init_filename init.mp4 -f hls -t 30
 fmp4.m3u8
 }}}

 This should create a file `init.mp4` in the current directory, but, as no
 absolute path is given, it writes a corrupted filename to the current
 directory instead.

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


More information about the FFmpeg-trac mailing list