[FFmpeg-trac] #7166(undetermined:new): HLS format with fmp4 creates empty init.mp4 file when there is a single m4s output segment

FFmpeg trac at avcodec.org
Fri Apr 27 04:16:53 EEST 2018


#7166: HLS format with fmp4 creates empty init.mp4 file when there is a single m4s
output segment
-------------------------------------+-------------------------------------
             Reporter:  catbug       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  hls          |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by catbug):

 cehoyos, I am able to reproduce with testsrc2. Thanks for your suggestion,
 I wasn't aware of that feature.

 So, here's a cmd to repro the bug with testsrc2 (2 second video)
 {{{
 ffmpeg -f lavfi -i testsrc2=d=2 -f hls -hls_segment_type fmp4 -hls_time 10
 -report segment.m3u8
 }}}

 Sanity check, output works fine with a 20 second test
 {{{
 ffmpeg -f lavfi -i testsrc2=d=20 -f hls -hls_segment_type fmp4 -hls_time
 10 -report segment.m3u8
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7166#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list