[Ffmpeg-devel] muxing to a memory buffer
Luca Abeni
lucabe72
Thu Dec 7 16:20:47 CET 2006
Hi Michel,
On Thu, 2006-12-07 at 15:58 +0100, Michel Bardiaux wrote:
[...]
> > 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...
> >
>
> What I do is to register a new protocol called "hpany" and use
> "hpany:0x123456" as URL, where the address points to private data
> describing the buffer (start, max size, used size).
Ugh... I was fearing something like this... ;-)
Ok, I'll encode the buffer address and size in the url.
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