[FFmpeg-trac] #3857(avformat:new): Duration does not update with growing files

FFmpeg trac at avcodec.org
Fri Aug 15 16:25:25 CEST 2014

#3857: Duration does not update with growing files
             Reporter:  gjdfgh    |                     Type:  enhancement
               Status:  new       |                 Priority:  wish
            Component:  avformat  |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
 libavformat apparently never updates the duration field after opening a
 file. This not so nice if the file is downloaded concurrently, and the
 duration is calculated from the file size (like it's done with .ts).

 It would be nice if there was an API function to update the duration
 calculations, or any other "standard" way.

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

More information about the FFmpeg-trac mailing list