[gst-devel] Cannot connect my source plugin to faad

Krishnakumar Ramachandran krishnakumar.ramachandran at gmail.com
Mon Jun 15 05:54:07 CEST 2009


>
> Hi,
>
>  I am trying to connect a source plugin to gstfaad plugin. the capabilities
> of my source plugin's source pad are as follows.
>
> static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
>     GST_PAD_SRC,
>     GST_PAD_ALWAYS,
>     GST_STATIC_CAPS ("audio/mpeg, " "mpegversion = (int) 2")
>     );
>
> From my plugin, I am first getting 14 bytes which is some AAC specific
> header and then AAC frames one after the other (the AAC data is parsed and i
> get one frame at a time).
>
> Is the defenition of my pad template correct? Also what should I do with
> AAC data I am getting? As of now I am trying to push them as is to the faad
> (The 14 bytes first and then a frame by frame.) But the faad does not even
> seem to move to the PAUSED state. Also it will be great if anyone can
> forward any links where I can find out how to connect to plugins like faad.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090615/4613faca/attachment.htm>


More information about the gstreamer-devel mailing list