[FFmpeg-trac] #10352(undetermined:new): often -hls_time is just ignored and only one m4s segment file is created for lossless hls streams using fmp4 segment type

FFmpeg trac at avcodec.org
Tue May 9 19:33:44 EEST 2023


#10352: often -hls_time is just ignored and only one m4s segment file is created
for lossless hls streams using fmp4 segment type
-------------------------------------+-------------------------------------
             Reporter:  kusti420     |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:  6.0
  undetermined                       |
             Keywords:  HLS hls      |               Blocked By:
  fmp4 segment lossless flac FLAC    |
  alac WAV                           |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 with some files its working as it should and with some files it isnt. when
 using -report to get the logs then the main things in common for such
 files are
 "[hls @ 000002f16b403a00] Delay between the first packet and last packet
 in the muxing queue is 10069334 > 10000000: forcing output" error and the
 fact that only one m4s segment is created for it, as if that -hls_time
 flag is just ignored half the time.

 How to reproduce:

 {{{
 % ffmpeg -i .\audio4.flac -c:a flac -vf
 pad="width=ceil(iw/2)*2:height=ceil(ih/2)*2" -ar 96000 -f hls -hls_time 6
 -hls_playlist_type vod -strict -2 -hls_segment_type fmp4
 -hls_segment_filename "idk%d.m4s" playlist.m3u8
 }}}

 ffmpeg version 6.0, but i also tried versions 5.1.2 and "2023-05-08-git-
 2d43c23b81-full_build-www.gyan.dev" build which i assume is built from the
 master branch.
 even tried running it on different operating systems (windows, linux and
 android).
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10352>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list