Using gstreamer to grab raw data from a codec

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

Using gstreamer to grab raw data from a codec

Ash-25
Hello,
I currently have my own video and audio renderer that I would like to use in combination with gstreamer. Ideally I would want to use all gstreamer components (parser/demux, codec) and just get the raw data in a buffer and forward it to my own renderer.
 
How does one go about doing this?
 
Thanks!


The i’m Talkathon starts 6/24/08.  For now, give amongst yourselves. Learn More
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Using gstreamer to grab raw data from a codec

Nie Jun

You can create a signal in codec or your gstreamer sink. Connect your function to this signal. When codec output is created, emit a signal from gstreamer pipeline to trigger your function to memcpy the output. You'd better trigger your render to render the buffer in another thread, for your function will be call in pipeline thread, it may delay pipeline streaming.

2008/6/25 Ash <[hidden email]>:
Hello,
I currently have my own video and audio renderer that I would like to use in combination with gstreamer. Ideally I would want to use all gstreamer components (parser/demux, codec) and just get the raw data in a buffer and forward it to my own renderer.
 
How does one go about doing this?
 
Thanks!


The i'm Talkathon starts 6/24/08.  For now, give amongst yourselves. Learn More

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel