[FFmpeg-trac] #520(avformat:closed): Issue with using multiple avio_open_dyn_buf() / avio_close_dyn_buf()

FFmpeg trac at avcodec.org
Thu Oct 6 18:36:21 CEST 2011


#520: Issue with using multiple avio_open_dyn_buf() / avio_close_dyn_buf()
--------------------------------+------------------------------------
             Reporter:  env01   |                    Owner:
                 Type:  defect  |                   Status:  closed
             Priority:  normal  |                Component:  avformat
              Version:  0.8.4   |               Resolution:  invalid
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+------------------------------------
Changes (by michael):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 av_write_trailer() can lead to updates of the area written in the header
 earlier for some formats.
 Also replacing the context like you do is not possible, theres state in it
 that will be lost and lead to all kinds of odd issues.
 You could implement your own URLProtocol or io context but probably what
 you really want is to use pipes and a format that works with non seekable
 output, mpeg-ps comes to mind here

 So i think the issue is in how you use avio_open_dyn_buf() and not in
 ffmpeg, if you disagree feel free to reopen and elaborate

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


More information about the FFmpeg-trac mailing list