File source from memory

David Röthlisberger david at rothlis.net
Wed Jul 4 11:18:17 PDT 2012


On 3 Jul 2012, at 22:35, Tim-Philipp Müller wrote:
> On Tue, 2012-07-03 at 14:03 -0700, gstqlt wrote:
>> So I think, using appsrc (and the complex protocol of it in the user's code)
>> is not what we need for this. Anything what I have read about this (appsrc,
>> mmap) seems to be a blind alley for me. I have the mp3 data in the memory.
>> I'd like to play it, instead of the original file.
>> Maybe fakesrc is a better approach? But that also seems to have a lot of
>> unnecessary parameters.
> 
> Ok, so you find appsrc too complicated for your special case where you
> have the data in memory as one giant blob already. That's fair enough, I
> wouldn't object to an element that makes this easier. Basically
> something like the "dataurisrc" element without the URI diversion. Feel
> free to file a feature request in bugzilla.


Apologies if I have misunderstood, but what about shmsrc / shmsink?

--Dave.



More information about the gstreamer-devel mailing list