This shows you have installed faad plugin successfully. I don't have any idea why its not working . <br><br>But you can try following combinations ;<br><br>gst-launch filesrc location=filename.aac ! decodebin ! audioconvert ! alsasink <br>
<br>gst-launch filesrc location=filename.aac ! decodebin2 ! audioconvert !
alsasink <br><br>gst-launch filesrc location=filename.aac ! qtdemux ! faad ! audioconvert ! alsasink <br><br>gst-launch filesrc location =filename.aac ! decodebin ! faad ! audioconvert ! alsasink <br><br>gst-launch filesrc location =filename.aac ! decodebin2 ! faad !
audioconvert ! alsasink <br><br> <br><br><br><br><div class="gmail_quote">On Thu, Jul 22, 2010 at 12:31 PM, michael young <span dir="ltr"><<a href="mailto:mcygogo@gmail.com">mcygogo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi sadarshan :<div class="im"><div> I got information like this :</div><div><br></div></div>
<div><div><font color="#ff6666">$ gst-inspect-0.10 faad</font></div><div><font color="#ff6666">Factory Details:</font></div>
<div><font color="#ff6666"> Long name:</font><span style="white-space: pre-wrap;"><font color="#ff6666">        </font></span><font color="#ff6666">AAC audio decoder</font></div>
<div><font color="#ff6666"> Class:</font><span style="white-space: pre-wrap;"><font color="#ff6666">        </font></span><font color="#ff6666">Codec/Decoder/Audio</font></div>
<div><font color="#ff6666"> Description:</font><span style="white-space: pre-wrap;"><font color="#ff6666">        </font></span><font color="#ff6666">Free MPEG-2/4 AAC decoder</font></div>
<div><font color="#ff6666"> Author(s):</font><span style="white-space: pre-wrap;"><font color="#ff6666">        </font></span><font color="#ff6666">Ronald Bultje <<a href="mailto:rbultje@ronald.bitfreak.net" target="_blank">rbultje@ronald.bitfreak.net</a>></font></div>
<div><font color="#ff6666"> Rank:</font><span style="white-space: pre-wrap;"><font color="#ff6666">                </font></span><font color="#ff6666">primary (256)</font></div>
<div><font color="#ff6666"><br></font></div><div><font color="#ff6666">Plugin Details:</font></div><div><font color="#ff6666"> Name:</font><span style="white-space: pre-wrap;"><font color="#ff6666">                        </font></span><font color="#ff6666">faad</font></div>
<div><font color="#ff6666"> Description:</font><span style="white-space: pre-wrap;"><font color="#ff6666">                </font></span><font color="#ff6666">Free AAC Decoder (FAAD)</font></div>
<div><font color="#ff6666"> Filename:</font><span style="white-space: pre-wrap;"><font color="#ff6666">                </font></span><font color="#ff6666">/usr/local/lib/gstreamer-0.10/libgstfaad.so</font></div>
<div><font color="#ff6666"> Version:</font><span style="white-space: pre-wrap;"><font color="#ff6666">                </font></span><font color="#ff6666">0.10.19</font></div>
<div><font color="#ff6666"> License:</font><span style="white-space: pre-wrap;"><font color="#ff6666">                </font></span><font color="#ff6666">GPL</font></div>
<div><font color="#ff6666"> Source module:</font><span style="white-space: pre-wrap;"><font color="#ff6666">        </font></span><font color="#ff6666">gst-plugins-bad</font></div>
<div><font color="#ff6666"> Binary package:</font><span style="white-space: pre-wrap;"><font color="#ff6666">        </font></span><font color="#ff6666">GStreamer Bad Plug-ins source release</font></div>
<div><font color="#ff6666"> Origin URL:</font><span style="white-space: pre-wrap;"><font color="#ff6666">                </font></span><font color="#ff6666">Unknown package origin</font></div>
<div><font color="#ff6666"><br></font></div><div><font color="#ff6666">GObject</font></div><div><font color="#ff6666"> +----GstObject</font></div>
<div><font color="#ff6666"> +----GstElement</font></div><div><font color="#ff6666"> +----GstFaad</font></div><div><font color="#ff6666"><br>
</font></div><div><font color="#ff6666">Pad Templates:</font></div><div><font color="#ff6666"> SRC template: 'src'</font></div><div><font color="#ff6666"> Availability: Always</font></div>
<div><font color="#ff6666"> Capabilities:</font></div><div><font color="#ff6666"> audio/x-raw-int</font></div><div><font color="#ff6666"> endianness: 1234</font></div>
<div><font color="#ff6666"> signed: true</font></div><div><font color="#ff6666"> width: 16</font></div><div><font color="#ff6666"> depth: 16</font></div>
<div><font color="#ff6666"> rate: [ 8000, 96000 ]</font></div><div><font color="#ff6666"> channels: [ 1, 8 ]</font></div><div><font color="#ff6666"><br>
</font></div><div><font color="#ff6666"> SINK template: 'sink'</font></div><div><font color="#ff6666"> Availability: Always</font></div><div><font color="#ff6666"> Capabilities:</font></div>
<div><font color="#ff6666"> audio/mpeg</font></div><div><font color="#ff6666"> mpegversion: { 2, 4 }</font></div><div><font color="#ff6666"><br>
</font></div><div><font color="#ff6666"><br></font></div><div><font color="#ff6666">Element Flags:</font></div><div><font color="#ff6666"> no flags set</font></div>
<div><font color="#ff6666"><br></font></div><div><font color="#ff6666">Element Implementation:</font></div><div><font color="#ff6666"> Has change_state() function: gst_faad_change_state</font></div>
<div><font color="#ff6666"> Has custom save_thyself() function: gst_element_save_thyself</font></div><div><font color="#ff6666"> Has custom restore_thyself() function: gst_element_restore_thyself</font></div>
<div><font color="#ff6666"><br></font></div><div><font color="#ff6666">Element has no clocking capabilities.</font></div><div><font color="#ff6666">Element has no indexing capabilities.</font></div>
<div><font color="#ff6666">Element has no URI handling capabilities.</font></div><div><font color="#ff6666"><br></font></div><div><font color="#ff6666">Pads:</font></div>
<div><font color="#ff6666"> SRC: 'src'</font></div><div><font color="#ff6666"> Implementation:</font></div><div><font color="#ff6666"> Has custom eventfunc(): gst_faad_src_event</font></div>
<div><font color="#ff6666"> Has custom queryfunc(): gst_faad_src_query</font></div><div><font color="#ff6666"> Pad Template: 'src'</font></div><div><font color="#ff6666"> SINK: 'sink'</font></div>
<div><font color="#ff6666"> Implementation:</font></div><div><font color="#ff6666"> Has chainfunc(): gst_faad_chain</font></div><div><font color="#ff6666"> Has custom eventfunc(): gst_faad_sink_event</font></div>
<div><font color="#ff6666"> Pad Template: 'sink'</font></div><div><font color="#ff6666"><br></font></div><div><font color="#ff6666">Element Properties:</font></div>
<div><font color="#ff6666"> name : The name of the object</font></div><div><font color="#ff6666"> flags: readable, writable</font></div>
<div><font color="#ff6666"> String. Default: null Current: "faad0"</font></div><div><br></div><br><div class="gmail_quote"><div><div></div><div class="h5">On Thu, Jul 22, 2010 at 5:20 PM, sudarshan bisht <span dir="ltr"><<a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">Yes that means its installed but what you get when you do gst-inspect-0.10 faad ? Did you get any plugin information ? If not then there is some problem in linking libfaad2 library with the plugin. <br>
<br><br><br><div class="gmail_quote"><div><div></div><div>
On Thu, Jul 22, 2010 at 11:36 AM, michael young <span dir="ltr"><<a href="mailto:mcygogo@gmail.com" target="_blank">mcygogo@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div>
Hi sadarshan:<br> When I configure gst-bad-plugin, I got the information like this:<br><br><font color="#ff6666">configure: *** Plug-ins with dependencies that will be built:<br>        apexsink<br>        dfbvideosink <br>
        dvb<br><font color="#66ff99">        faac<br>        faad</font><br>        fbdevsink<br>        gstalsa<br>        nassink<br>        sdlvideosink sdlaudiosink<br>        vcdsrc<br><br>configure: *** Plug-ins with dependencies that will NOT be built:<br>
        acm<br>        amrwbenc<br>        assrender<br>        bz2<br>        cdaudio<br>        celt<br>        cog<br>        dc1394<br>        dirac<br>        directdrawsink<br>        directsoundsrc<br>        divx<br>        dtsdec<br>        flite<br>        gme<br>        gsmenc gsmdec<br>        jack<br>        jp2kdec jp2kenc<br>        kate<br>
        ladspa<br>        libmms<br>        lv2<br>        metadata<br>        mimic<br>        modplug<br>        mpeg2enc<br>        mplex<br>        musepack<br>        musicbrainz<br>        mythtvsrc<br>        neonhttpsrc<br>        ofa<br>        osxvideosrc<br>        qtwrapper<br>        resindvd<br>        rsvg<br>        schro<br>        sfsrc sfsink<br>
        soundtouch<br>        spc<br>        swfdec<br>        theoraexpdec<br>        timidity<br>        vdpau<br>        vp8<br>        wildmidi<br>        wininet<br>        xvid<br>        zbar</font><div><font color="#ff6666"><br></font></div><div><font color="#ff6666"><font color="#3366ff">from the information, I guess that the plugin about the aac had been installed, is'n it?</font></font></div>
<div><div></div><div>
<div><font color="#ff6666"><font color="#3366ff"><br></font></font><br><br>On Thu, Jul 22, 2010 at 3:17 PM, Zheng, Huan <<a href="mailto:huan.zheng@intel.com" target="_blank">huan.zheng@intel.com</a>> wrote:<br>
> Hi, Young<br>> Maybe you can take a look at this page that I wrote before.<br>> <a href="http://www.hydrogenaudio.org/forums/lofiversion/index.php/t65868.html" target="_blank">http://www.hydrogenaudio.org/forums/lofiversion/index.php/t65868.html</a><br>
> there's a short paragraph talking about how to use GStreamer to play AAC file<br>><br>> -----Original Message-----<br>> From: michael young [mailto:<a href="mailto:mcygogo@gmail.com" target="_blank">mcygogo@gmail.com</a>]<br>
> Sent: Thursday, July 22, 2010 2:00 PM<br>> To: Discussion of the development of GStreamer<br>> Subject: Re: [gst-devel] how to play the AAC audio by Gstreamer?<br>><br>> HI sudarshan:<br>><br>> check the attached file , and the file can play in Mplayer, so I think the file is ok.<br>
> and i list the information below:<br>> $ gst-inspect-0.10 | grep aac<br>> faac: faac: AAC audio encoder<br>> audioparsersbad: aacparse: AAC audio stream parser<br>> ffmpeg: ffdec_aac: FFmpeg Advanced Audio Coding decoder<br>
> ffmpeg: ffenc_aac: FFmpeg Advanced Audio Coding encoder<br>> typefindfunctions: adts_mpeg_stream: aac<br>><br>><br>> On Thu, Jul 22, 2010 at 1:32 PM, sudarshan bisht <<a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>> wrote:<br>
>><br>>> Can you attach the AAC file which you are not able to play ?<br>>><br>>> One more thing when you do "gst-inspect-0.10 | grep aac" what you get .<br>>><br>>><br>>><br>
>><br>>> On Thu, Jul 22, 2010 at 10:34 AM, michael young <<a href="mailto:mcygogo@gmail.com" target="_blank">mcygogo@gmail.com</a>> wrote:<br>>>><br>>>> Hi<br>>>> I try it like Sandeep said, first I install the libfaad-dev<br>
>>> through Ubuntu's apt-get.<br>>>> then I reconfigure the gst-ffmpeg plugin, and installed it, but<br>>>> cannot play m4a file, the error message is just the old one.<br>>>> and then I installed the gst-plugin-bad, play the m4a file again<br>
>>> , I got information like this:<br>>>><br>>>> (gst-plugin-scanner:18537): GStreamer-WARNING **: Failed to load<br>>>> plugin '/usr/local/lib/gstreamer-0.10/libgstcamerabin.so':<br>
>>> /usr/local/lib/gstreamer-0.10/libgstcamerabin.so: undefined symbol:<br>>>> gst_photography_get_focus_mode<br>>>><br>>>> Do you know what's wrong here?? thx<br>>>><br>>>> On Thu, Jul 22, 2010 at 11:19 AM, Sandeep Prakash<br>
>>> <<a href="mailto:123sandy@gmail.com" target="_blank">123sandy@gmail.com</a>><br>>>> wrote:<br>>>> ><br>>>> > Hi,<br>>>> ><br>>>> ><br>>>> > michael young wrote:<br>
>>> >><br>>>> >> and HOW I get and install an AAC decoder plugin?? thx.<br>>>> >><br>>>> ><br>>>> > You can install "faad" plugin present in gst-plugins-bad package or<br>
>>> > the "ffdec_aac" which is present in gst-ffmpeg package.<br>>>> ><br>>>> ><br>>>> > Regards,<br>>>> > Sandeep Prakash<br>>>> > <a href="http://sandeepprakash.homeip.net" target="_blank">http://sandeepprakash.homeip.net</a><br>
>>> > --<br>>>> > View this message in context:<br>>>> > <a href="http://gstreamer-devel.966125.n4.nabble.com/how-to-play-the-AAC-aud" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/how-to-play-the-AAC-aud</a><br>
>>> > io-by-Gstreamer-tp2296882p2298084.html<br>>>> > Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>>>> ><br>>>> ><br>>>> > -------------------------------------------------------------------<br>
>>> > ----------- This SF.net email is sponsored by Sprint What will you<br>>>> > do first with EVO, the first 4G phone?<br>>>> > Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>
>>> > _______________________________________________<br>>>> > gstreamer-devel mailing list<br>>>> > <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
>>> > <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>>>> ><br>>>><br>>>><br>
>>> ---------------------------------------------------------------------<br>
>>> --------- This SF.net email is sponsored by Sprint What will you do<br>>>> first with EVO, the first 4G phone?<br>>>> Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>
>>> _______________________________________________<br>>>> gstreamer-devel mailing list<br>>>> <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
>>> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>>><br>>><br>>><br>>> --<br>>> Regards,<br>
>><br>>> Sudarshan Bisht<br>>><br>>> ----------------------------------------------------------------------<br>>> -------- This SF.net email is sponsored by Sprint What will you do<br>>> first with EVO, the first 4G phone?<br>
>> Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>>> _______________________________________________<br>
>> gstreamer-devel mailing list<br>>> <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>>> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
>><br>>><br>><br>> ------------------------------------------------------------------------------<br>> This SF.net email is sponsored by Sprint<br>> What will you do first with EVO, the first 4G phone?<br>
> Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
><br><br></div>
</div></div><br></div></div>------------------------------------------------------------------------------<div><br>
This SF.net email is sponsored by Sprint<br>
What will you do first with EVO, the first 4G phone?<br>
Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><font color="#888888"><br>Sudarshan Bisht<br>
</font><br></div></div>------------------------------------------------------------------------------<div class="im"><br>
This SF.net email is sponsored by Sprint<br>
What will you do first with EVO, the first 4G phone?<br>
Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></div></blockquote></div><br></div>
<br>------------------------------------------------------------------------------<br>
This SF.net email is sponsored by Sprint<br>
What will you do first with EVO, the first 4G phone?<br>
Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>