[FFmpeg-trac] #2481(avformat:new): libavformat doesn't update file duration when file size changes during playback

FFmpeg trac at avcodec.org
Mon Jun 24 20:59:25 CEST 2013


#2481: libavformat doesn't update file duration when file size changes during
playback
-------------------------------------+------------------------------------
             Reporter:  gjdfgh       |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:
             Keywords:  duration     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by gjdfgh):

 You could do it every few packets (or a similar heuristic to reduce load),
 or you could add a new API function that requests duration recalculation.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2481#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list