[gst-devel] [gstreamer] Problem with pulling data from a sink pad

Quan Nguyen friday_morning at yahoo.com
Mon Dec 22 09:57:06 CET 2003


 
By the way, I may not have been clear before.  What I want to do is to get the raw audio data from a decoder so that I can manipulate it with standard C++ code.  I don't want to have to hook the decoder up to another element.  Thanks.

Ronald Bultje <rbultje at ronald.bitfreak.net> wrote:On Mon, 2003-12-22 at 07:12, Quan Nguyen wrote:
> Thanks. Then my question is this. How do I read data
> from a decoder's source pad? Do I have to create a
> GstElement and connect it to the source pad of a
> decoder? I don't want to create a GstElement to
> accept data from the source pad of another element. I
> just want to be able to read the data from an audio
> decoder and perform some analysis on it with a C++
> function that I wrote.

Use fakesink and connect to the handoff signal.

Ronald

-- 
Ronald Bultje 
Linux Video/Multimedia developer



---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20031222/a943eab9/attachment.htm>


More information about the gstreamer-devel mailing list