[FFmpeg-trac] #5976(undetermined:new): flv encoding for live stream no longer usable

FFmpeg trac at avcodec.org
Thu Nov 24 03:36:49 EET 2016

#5976: flv encoding for live stream no longer usable
             Reporter:  jyavenard    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 Summary of the bug:
 How to reproduce:
 % ffmpeg -i input ... output
 ffmpeg version
 built on ...
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.


 introduced a regression.
 If the stream isn't seekable, it no longer update the duration / file
 This assumed that the file size / duration could only be determined by
 seeking to the end of the file.

 But this is an invalid assumption. Continuously reading the stream will
 automatically update the value returned by ftell. From that we can deduct
 what the new duration and file size is.

 This introduced a mythtv regression

 This commit should be reverted, or modified so that it can still attempt
 to estimate the current filesize/duration even when the stream isn't

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

More information about the FFmpeg-trac mailing list