[FFmpeg-trac] #984(avformat:closed): avio_alloc_context and callback on write

FFmpeg trac at avcodec.org
Thu Apr 12 22:08:08 CEST 2012

#984: avio_alloc_context and callback on write
             Reporter:  mrdebug      |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:  fixed
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
Changes (by reimar):

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


 You do not provide a seek function for the avio context, so completely
 unsurprisingly the formats that are not "naturally" streamable fail.
 In addition, you do not even set the "streamable" AVIO context member to
 indicate that streaming will not be possible, so even for those formats
 that can be streamed and FFmpeg implemented that feature properly wouldn't
 work correctly.
 However I cannot reproduce the crash with ogg using:
 ffmpeg -i some_file -f ogg - > test.ogg
 Without a proper backtrace and valgrind log I'm not going to debug this
 further than that.

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

More information about the FFmpeg-trac mailing list