[Libav-user] What is the best way to mux data to a buffer

Nicholas Butts nbutts at appareo.com
Thu Aug 11 18:31:35 CEST 2011

I am working on an embedded system that needs to mux an MPEG4 stream and a
raw audio stream together. But I can't open a file and simply write the
data. I would like to write the data to a buffer and then write the buffer
to the storage system.

I've looked into the AVIOContext system and have tried to use
avio_open_dyn_buf. But I don't see any way to get at the data in this
dynamic buffer system. The DynBuffer structure is private inside aviobuf.c.
Should I just create my own write functions that write to my own buffer?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110811/57d92baf/attachment.html>

More information about the Libav-user mailing list