[Ffmpeg-devel] muxing to a memory buffer
Luca Abeni
lucabe72
Thu Dec 7 14:54:17 CET 2006
Hi all,
for performing some tests, I need to mux an audio and a video stream in
an MPEG2 TS, and to store such TS in a memory buffer (instead of writing
it to a file).
As a first prototype, I wrote a program that writes the TS to a pipe,
while a second program is reading the pipe and storing the TS in the
memory buffer... Now, I am wondering what's the best way to obtain the
same result without using two separate programs and a pipe...
Would I need to write my own URLProtocol? If yes, how can tell the
URLProtocol where the output buffer is? (the "open" method of an
URLProtocol accepts a filename as input). Or there is a better way?
Suggestions are welcome...
Thanks,
Luca
--
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
N O W A R ! ! !
More information about the ffmpeg-devel
mailing list