[FFmpeg-trac] #10218(ffmpeg:new): ffmpeg time duration option -t not respected if -fflags nobuffer is used with HLS

FFmpeg trac at avcodec.org
Fri Feb 24 20:05:37 EET 2023


#10218: ffmpeg time duration option -t not respected if -fflags nobuffer is used
with HLS
-------------------------------------+-------------------------------------
             Reporter:  cjaone       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  ffmpeg       |                  Version:  4.4.3
             Keywords:  buffer avio  |               Blocked By:
  HLS hls                            |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 If -fflags nobuffer is used, the output stream will be shorter than
 specified by the -t <duration> option.

 If -fflags is omitted the length of the recording will be exactly
 <duration> seconds.

 How to reproduce:
 {{{
 % time ffmpeg -report -fflags nobuffer -i
 https://mcdn.daserste.de/daserste/de/master.m3u8 -y -loglevel error -c
 copy -t 10 0.ts

 }}}


 Above URL may not work for you, could be geolocated (Germany).

 Resulting file "0.ts" (not attached to this ticket) has playing duration
 of 6 seconds (expected: 10 seconds).

 Without the "-fflags nobuffer" the duration is 10 seconds.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10218>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list