Buffers in GStreamer

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Buffers in GStreamer

Bibin Joseph
Is there any way to write a stream into a buffer and later read stream
from this buffer?

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Buffers in GStreamer

Tim-Philipp Müller-2
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Buffers in GStreamer

Bibin Joseph
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
> [hidden email]
> 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?

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Buffers in GStreamer

Stefan Sauer
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
>> [hidden email]
>> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel