[Libav-user] Mux output to buffer instead of file

Carl Lindqvist lulebo at gmail.com
Mon May 21 10:30:07 CEST 2012


This is my first post on this list. I am sorry if this has come up before,
but I have been searching the archives and can't find a good answer to this.

I have an application that encodes an incoming video stream and muxes it as
a transport stream. This is working great when writing to a file like in
the example muxing.c.

Now what I would like to do is to capture the muxed output in a RAM buffer
(queue of some sort) instead of writing directly to file. Is this possible?

The reason is that I will be encoding the signal continuously, but the
finished muxed TS will be passed on to different places and files as the
application is running. Sometimes it will be written to multiple
destinations at once and stuff like that.

Any help is much appreciated!

Thank you

Carl Lindqvist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120521/c7d195c4/attachment.html>

More information about the Libav-user mailing list