[FFmpeg-trac] #521(undetermined:closed): avio_open_dyn_buf()/avio_close_dyn_buf(), limit the memory usage

FFmpeg trac at avcodec.org
Tue Mar 13 20:01:35 CET 2012

#521: avio_open_dyn_buf()/avio_close_dyn_buf(), limit the memory usage
             Reporter:  mrdebug  |                    Owner:
                 Type:  defect   |                   Status:  closed
             Priority:  normal   |                Component:  undetermined
              Version:  0.8.3    |               Resolution:  invalid
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
Changes (by reimar):

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


 You selected the mp4/mov muxer. That one needs to seek backwards and
 update data later on after everything is written.
 That obviously is not possible if you dropped all of the data in the
 At the very least you have to set pFormatCtx->pb->seekable to 0, because
 your change means that it is not possible for the muxer to go back and
 modify data it has written out previously.
 But that will then result in the mov muxer bailing out because it can't
 work with that.
 You can get something similar by selecting the ism format instead. But
 while it is basically the same as mov/mp4 according to code comments
 QuickTime can't handle it.

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

More information about the FFmpeg-trac mailing list