[gst-devel] Buffers in GStreamer

Stefan Kost ensonic at hora-obscura.de
Tue Jun 30 18:20:44 CEST 2009


Bibin joseph schrieb:
> Tim-Philipp Müller wrote:
>   
>> On Mon, 2009-06-22 at 10:50 +0530, Bibin joseph wrote:
>>
>>   
>>     
>>> Is there any way to write a stream into a buffer and later read stream 
>>> from this buffer?
>>>     
>>>       
>> Could you provide some more context?
>>
>> Cheers
>>  -Tim
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Are you an open source citizen? Join us for the Open Source Bridge conference!
>> Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
>> Need another reason to go? 24-hour hacker lounge. Register today!
>> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>   
>>     
> For example, instead of writing the stream into ximagesink or filesink 
> or any other sink element, I want to write the stream into a buffer, 
> something like "buffersink". Later I should be able to read from this 
> buffer by something like "buffersrc". Actual problem is my video mixer 
> should receive inputs from several resources, mix up these and finally 
> produces a single  output stream. I know this is possible with the 
> videomixer element, but how can I do this at real time? If I use 
> buffers, if there is data in the buffer, videomixer can use it, right?
>   

You can use a queue - it buffers. But I am still not sure if this is
what you were looking for.

Stefan
> Thanks and Regards,
> Bibin
>
> ------------------------------------------------------------------------------
> Are you an open source citizen? Join us for the Open Source Bridge conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list