Hi Guys,<div><br></div><div>Thank you all for your valuable inputs. This is working fine now.</div><div><br></div><div>Rgds,</div><div>Ashwini<br><br><div class="gmail_quote">On Mon, Jul 25, 2011 at 7:11 PM, Sudarshan Bisht <span dir="ltr"><<a href="mailto:bisht.sudarshan@gmail.com">bisht.sudarshan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>Did you try dumping PCM samples to a file using filesink and playing through some tool ? If that plays that means at least the data what you are getting out of decoder plugin is correct.<br>
It may be possible that you need audioconvert/audioresample before alsasink.<div><div></div><div class="h5"><br>
<br><br><br><div class="gmail_quote">On Mon, Jul 25, 2011 at 3:51 PM, Ashwini Sharma <span dir="ltr"><<a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@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 All,<div><br></div><div> I am adding the ADTS header infront of the raw AAC frame and decoding it.</div><div><br></div><div>Now I see that the frames are being written to Alsasink, but there is no sound output actually.</div>
<div><br></div><div>The "<b>snd_pcm_writei</b>" function in "<b>gst_alsasink_write</b>" returns same number as input. Can someone point me in the right direction to get the Audio output.</div><div><br>
</div><div>Regards,</div><div>Ashwini<br><br><div class="gmail_quote">On Fri, Jul 22, 2011 at 11:07 AM, Balakrishnan Natarajan <span dir="ltr"><<a href="mailto:balakrishnan.2005@gmail.com" target="_blank">balakrishnan.2005@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">The Elementary AAC can be playable only if it contains ADTS header.<br><br>So verify if your demuxer gives you the Elementary AAC stream with ADTS header.<br>
<br>You can verify this by playing with tools like foobar or winamp.<br>
<br>Once you have verified this may be you need to aacparse plugin to extract the ADTS header and pass it to the ffdec_aac plugin <br>through the codec-data caps field while negotiation.<br><br>Regards<br>Bala<br><br><br>
<br><br><div class="gmail_quote">On Thu, Jul 21, 2011 at 11:44 AM, <span dir="ltr"><<a href="mailto:gstreamer-devel-request@lists.freedesktop.org" target="_blank">gstreamer-devel-request@lists.freedesktop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">Send gstreamer-devel mailing list submissions to<div><br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<br></div>
To subscribe or unsubscribe via the World Wide Web, visit<div><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br></div>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gstreamer-devel-request@lists.freedesktop.org" target="_blank">gstreamer-devel-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gstreamer-devel-owner@lists.freedesktop.org" target="_blank">gstreamer-devel-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gstreamer-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: AAC not played - Error from decoder (ffdec_aac)<br>
(Sudarshan Bisht)<br>
2. Re: AAC not played - Error from decoder (ffdec_aac)<br>
(Sudarshan Bisht)<br>
3. Re: AAC not played - Error from decoder (ffdec_aac)<br>
(Ashwini Sharma)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 21 Jul 2011 08:23:47 +0300<br>
From: Sudarshan Bisht <<a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>><br>
Subject: Re: AAC not played - Error from decoder (ffdec_aac)<br>
To: Discussion of the development of and with GStreamer<div><br>
<<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>><br></div>
Message-ID:<br>
<CACdEgVYk7woyv+sO3DQcu3W86EkysYwoY60HhX=Rm6TA=<a href="mailto:QFeeA@mail.gmail.com" target="_blank">QFeeA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<div><div></div><div><br>
<br>
Yes you can insert missing header to raw aac data by writing your own<br>
plugin, and place it before decoder plugin. But you need to have certain<br>
information for header e.g. sampling frequency, channels, profile etc , and<br>
all this you suppose to get from demuxer.<br>
<br>
<br>
<br>
<br>
On Thu, Jul 21, 2011 at 7:43 AM, Ashwini Sharma <<a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@gmail.com</a>>wrote:<br>
<br>
> HI Sudarshan,<br>
><br>
> Adding aacparse didn't help. I get the parse error from aacparse.<br>
><br>
> In my case, the file is read and demuxed by an application, which then<br>
> gives the audio stream data to my pipeline (which consists of aapsrc !<br>
> decoder ! alsasink ) for decoding and rendering.<br>
><br>
> I am able to play ac3 and mp3. But AAC i am having failure still. I tried<br>
> your inputs, but to no results.<br>
><br>
> Can't there be case that we provide the missing header data to ffdec_aac<br>
> thru some means..... any inputs please.<br>
><br>
> Rgds,<br>
> Ashwini<br>
><br>
> On Wed, Jul 20, 2011 at 8:19 PM, Sudarshan Bisht <<br>
> <a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>> wrote:<br>
><br>
>> If you want to play it dynamically then you don't need to mux it again,<br>
>> maybe you can use aacparse between demuxer and aac decoder plugin.<br>
>><br>
>><br>
>><br>
>> On Wed, Jul 20, 2011 at 4:06 PM, Ashwini Sharma <<a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@gmail.com</a>>wrote:<br>
>><br>
>>> Hi Sudarshan,<br>
>>><br>
>>> Thanks for your input.<br>
>>><br>
>>> Can I play the AAC data dynamically, as suggested by you, instead of<br>
>>> saving it into file.<br>
>>><br>
>>> Like mux the incoming AAC data buffer and then decode it at the same<br>
>>> time?<br>
>>><br>
>>> rgds,<br>
>>> -Ashwini<br>
>>><br>
>>><br>
>>><br>
>>> On Wed, Jul 20, 2011 at 5:59 PM, Sudarshan Bisht <<br>
>>> <a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>> wrote:<br>
>>><br>
>>>><br>
>>>> Demuxer outputs raw aac data, it does not have any header(ADIF/ADTS)<br>
>>>> thats why you get that error message.<br>
>>>><br>
>>>> To get the correct playable file, you again need to mux this raw aac<br>
>>>> data using qtmux and then you get .m4a file. And to play this .m4a file<br>
>>>> you need to have qtdemux in your pipeline if you don't use<br>
>>>> decodebin2/playbin2.<br>
>>>><br>
>>>> I hope this will help you.<br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>> On Wed, Jul 20, 2011 at 1:52 PM, Ashwini Sharma <<a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@gmail.com</a><br>
>>>> > wrote:<br>
>>>><br>
>>>>> Hi All,<br>
>>>>><br>
>>>>> I have a demuxed audio stream (AAC encoded). When I try to play, i get<br>
>>>>> an error "FFMpeg can not decode AAC data"<br>
>>>>><br>
>>>>> The details are as follows:<br>
>>>>><br>
>>>>> I have a video file which contain mpeg4 video and AAC audio. I Demux<br>
>>>>> the file into Audio and video files. When i play the demuxed audio it fails.<br>
>>>>><br>
>>>>> But when i reapeat the same test for AC3 or MP3 audios, it works fine.<br>
>>>>><br>
>>>>><br>
>>>>> I think there is some mistake on my part when playing the AAC file.<br>
>>>>> Someone please provide your inputs in getting it to play.<br>
>>>>><br>
>>>>> Any help is greatly appreciated.<br>
>>>>><br>
>>>>> -Ashwini<br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> gstreamer-devel mailing list<br>
>>>>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>>>>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>>>>><br>
>>>>><br>
>>>><br>
>>>><br>
>>>> --<br>
>>>> Regards,<br>
>>>><br>
>>>> Sudarshan Bisht<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> gstreamer-devel mailing list<br>
>>>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>>>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>>>><br>
>>>><br>
>>><br>
>>> _______________________________________________<br>
>>> gstreamer-devel mailing list<br>
>>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>>><br>
>>><br>
>><br>
>><br>
>> --<br>
>> Regards,<br>
>><br>
>> Sudarshan Bisht<br>
>><br>
>> _______________________________________________<br>
>> gstreamer-devel mailing list<br>
>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>><br>
>><br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
><br>
<br>
<br>
--<br>
Regards,<br>
<br>
Sudarshan Bisht<br></div></div>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110721/a85c1666/attachment-0001.html" target="_blank">http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110721/a85c1666/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 21 Jul 2011 09:09:18 +0300<br>
From: Sudarshan Bisht <<a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>><br>
Subject: Re: AAC not played - Error from decoder (ffdec_aac)<br>
To: Discussion of the development of and with GStreamer<div><br>
<<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>><br></div>
Message-ID:<br>
<CACdEgVbocRsfvXpG+ZO2sBODaLoouU3a=<a href="mailto:jiKU4ffWj_Ouq-3pQ@mail.gmail.com" target="_blank">jiKU4ffWj_Ouq-3pQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<div><div></div><div><br>
<br>
Or you can do same in your application also, then no need to write a<br>
plugin.<br>
<br>
<br>
<br>
On Thu, Jul 21, 2011 at 8:23 AM, Sudarshan Bisht<br>
<<a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>>wrote:<br>
<br>
> Yes you can insert missing header to raw aac data by writing your own<br>
> plugin, and place it before decoder plugin. But you need to have certain<br>
> information for header e.g. sampling frequency, channels, profile etc , and<br>
> all this you suppose to get from demuxer.<br>
><br>
><br>
><br>
><br>
> On Thu, Jul 21, 2011 at 7:43 AM, Ashwini Sharma <<a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@gmail.com</a>>wrote:<br>
><br>
>> HI Sudarshan,<br>
>><br>
>> Adding aacparse didn't help. I get the parse error from aacparse.<br>
>><br>
>> In my case, the file is read and demuxed by an application, which then<br>
>> gives the audio stream data to my pipeline (which consists of aapsrc !<br>
>> decoder ! alsasink ) for decoding and rendering.<br>
>><br>
>> I am able to play ac3 and mp3. But AAC i am having failure still. I tried<br>
>> your inputs, but to no results.<br>
>><br>
>> Can't there be case that we provide the missing header data to ffdec_aac<br>
>> thru some means..... any inputs please.<br>
>><br>
>> Rgds,<br>
>> Ashwini<br>
>><br>
>> On Wed, Jul 20, 2011 at 8:19 PM, Sudarshan Bisht <<br>
>> <a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>> wrote:<br>
>><br>
>>> If you want to play it dynamically then you don't need to mux it again,<br>
>>> maybe you can use aacparse between demuxer and aac decoder plugin.<br>
>>><br>
>>><br>
>>><br>
>>> On Wed, Jul 20, 2011 at 4:06 PM, Ashwini Sharma <<a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@gmail.com</a>>wrote:<br>
>>><br>
>>>> Hi Sudarshan,<br>
>>>><br>
>>>> Thanks for your input.<br>
>>>><br>
>>>> Can I play the AAC data dynamically, as suggested by you, instead of<br>
>>>> saving it into file.<br>
>>>><br>
>>>> Like mux the incoming AAC data buffer and then decode it at the same<br>
>>>> time?<br>
>>>><br>
>>>> rgds,<br>
>>>> -Ashwini<br>
>>>><br>
>>>><br>
>>>><br>
>>>> On Wed, Jul 20, 2011 at 5:59 PM, Sudarshan Bisht <<br>
>>>> <a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>> wrote:<br>
>>>><br>
>>>>><br>
>>>>> Demuxer outputs raw aac data, it does not have any header(ADIF/ADTS)<br>
>>>>> thats why you get that error message.<br>
>>>>><br>
>>>>> To get the correct playable file, you again need to mux this raw aac<br>
>>>>> data using qtmux and then you get .m4a file. And to play this .m4a file<br>
>>>>> you need to have qtdemux in your pipeline if you don't use<br>
>>>>> decodebin2/playbin2.<br>
>>>>><br>
>>>>> I hope this will help you.<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> On Wed, Jul 20, 2011 at 1:52 PM, Ashwini Sharma <<br>
>>>>> <a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>>> Hi All,<br>
>>>>>><br>
>>>>>> I have a demuxed audio stream (AAC encoded). When I try to play, i get<br>
>>>>>> an error "FFMpeg can not decode AAC data"<br>
>>>>>><br>
>>>>>> The details are as follows:<br>
>>>>>><br>
>>>>>> I have a video file which contain mpeg4 video and AAC audio. I Demux<br>
>>>>>> the file into Audio and video files. When i play the demuxed audio it fails.<br>
>>>>>><br>
>>>>>> But when i reapeat the same test for AC3 or MP3 audios, it works fine.<br>
>>>>>><br>
>>>>>><br>
>>>>>> I think there is some mistake on my part when playing the AAC file.<br>
>>>>>> Someone please provide your inputs in getting it to play.<br>
>>>>>><br>
>>>>>> Any help is greatly appreciated.<br>
>>>>>><br>
>>>>>> -Ashwini<br>
>>>>>><br>
>>>>>> _______________________________________________<br>
>>>>>> gstreamer-devel mailing list<br>
>>>>>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>>>>>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>>>>>><br>
>>>>>><br>
>>>>><br>
>>>>><br>
>>>>> --<br>
>>>>> Regards,<br>
>>>>><br>
>>>>> Sudarshan Bisht<br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> gstreamer-devel mailing list<br>
>>>>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>>>>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>>>>><br>
>>>>><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> gstreamer-devel mailing list<br>
>>>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>>>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>>>><br>
>>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Regards,<br>
>>><br>
>>> Sudarshan Bisht<br>
>>><br>
>>> _______________________________________________<br>
>>> gstreamer-devel mailing list<br>
>>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>>><br>
>>><br>
>><br>
>> _______________________________________________<br>
>> gstreamer-devel mailing list<br>
>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>><br>
>><br>
><br>
><br>
> --<br>
> Regards,<br>
><br>
> Sudarshan Bisht<br>
><br>
<br>
<br>
<br>
--<br>
Regards,<br>
<br>
Sudarshan Bisht<br></div></div>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110721/b84ec3ee/attachment-0001.htm" target="_blank">http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110721/b84ec3ee/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 21 Jul 2011 11:44:37 +0530<br>
From: Ashwini Sharma <<a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@gmail.com</a>><br>
Subject: Re: AAC not played - Error from decoder (ffdec_aac)<br>
To: Discussion of the development of and with GStreamer<div><br>
<<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>><br></div>
Message-ID:<br>
<<a href="mailto:CAO7aZcewG58jLm1TKRK_rDki01cUfH_hAqAe0qEu9q2OB%2Bqs8g@mail.gmail.com" target="_blank">CAO7aZcewG58jLm1TKRK_rDki01cUfH_hAqAe0qEu9q2OB+qs8g@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<div><div></div><div><br>
<br>
Hi,<br>
<br>
Can you please tell me how to contruct the header from the given data, i.e.<br>
sampling frequency, channels, profile etc<br>
<br>
Thanks,<br>
Ashwini<br>
<br>
On Thu, Jul 21, 2011 at 11:39 AM, Sudarshan Bisht <<a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a><br>
> wrote:<br>
<br>
> Or you can do same in your application also, then no need to write a<br>
> plugin.<br>
><br>
><br>
><br>
> On Thu, Jul 21, 2011 at 8:23 AM, Sudarshan Bisht <<br>
> <a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>> wrote:<br>
><br>
>> Yes you can insert missing header to raw aac data by writing your own<br>
>> plugin, and place it before decoder plugin. But you need to have certain<br>
>> information for header e.g. sampling frequency, channels, profile etc , and<br>
>> all this you suppose to get from demuxer.<br>
>><br>
>><br>
>><br>
>><br>
>> On Thu, Jul 21, 2011 at 7:43 AM, Ashwini Sharma <<a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@gmail.com</a>>wrote:<br>
>><br>
>>> HI Sudarshan,<br>
>>><br>
>>> Adding aacparse didn't help. I get the parse error from aacparse.<br>
>>><br>
>>> In my case, the file is read and demuxed by an application, which then<br>
>>> gives the audio stream data to my pipeline (which consists of aapsrc !<br>
>>> decoder ! alsasink ) for decoding and rendering.<br>
>>><br>
>>> I am able to play ac3 and mp3. But AAC i am having failure still. I tried<br>
>>> your inputs, but to no results.<br>
>>><br>
>>> Can't there be case that we provide the missing header data to ffdec_aac<br>
>>> thru some means..... any inputs please.<br>
>>><br>
>>> Rgds,<br>
>>> Ashwini<br>
>>><br>
>>> On Wed, Jul 20, 2011 at 8:19 PM, Sudarshan Bisht <<br>
>>> <a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>> wrote:<br>
>>><br>
>>>> If you want to play it dynamically then you don't need to mux it again,<br>
>>>> maybe you can use aacparse between demuxer and aac decoder plugin.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> On Wed, Jul 20, 2011 at 4:06 PM, Ashwini Sharma <<a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@gmail.com</a>>wrote:<br>
>>>><br>
>>>>> Hi Sudarshan,<br>
>>>>><br>
>>>>> Thanks for your input.<br>
>>>>><br>
>>>>> Can I play the AAC data dynamically, as suggested by you, instead of<br>
>>>>> saving it into file.<br>
>>>>><br>
>>>>> Like mux the incoming AAC data buffer and then decode it at the same<br>
>>>>> time?<br>
>>>>><br>
>>>>> rgds,<br>
>>>>> -Ashwini<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> On Wed, Jul 20, 2011 at 5:59 PM, Sudarshan Bisht <<br>
>>>>> <a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>>><br>
>>>>>> Demuxer outputs raw aac data, it does not have any header(ADIF/ADTS)<br>
>>>>>> thats why you get that error message.<br>
>>>>>><br>
>>>>>> To get the correct playable file, you again need to mux this raw aac<br>
>>>>>> data using qtmux and then you get .m4a file. And to play this .m4a file<br>
>>>>>> you need to have qtdemux in your pipeline if you don't use<br>
>>>>>> decodebin2/playbin2.<br>
>>>>>><br>
>>>>>> I hope this will help you.<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>> On Wed, Jul 20, 2011 at 1:52 PM, Ashwini Sharma <<br>
>>>>>> <a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@gmail.com</a>> wrote:<br>
>>>>>><br>
>>>>>>> Hi All,<br>
>>>>>>><br>
>>>>>>> I have a demuxed audio stream (AAC encoded). When I try to play, i<br>
>>>>>>> get an error "FFMpeg can not decode AAC data"<br>
>>>>>>><br>
>>>>>>> The details are as follows:<br>
>>>>>>><br>
>>>>>>> I have a video file which contain mpeg4 video and AAC audio. I Demux<br>
>>>>>>> the file into Audio and video files. When i play the demuxed audio it fails.<br>
>>>>>>><br>
>>>>>>> But when i reapeat the same test for AC3 or MP3 audios, it works<br>
>>>>>>> fine.<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> I think there is some mistake on my part when playing the AAC file.<br>
>>>>>>> Someone please provide your inputs in getting it to play.<br>
>>>>>>><br>
>>>>>>> Any help is greatly appreciated.<br>
>>>>>>><br>
>>>>>>> -Ashwini<br>
>>>>>>><br>
>>>>>>> _______________________________________________<br>
>>>>>>> gstreamer-devel mailing list<br>
>>>>>>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>>>>>>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>>>>>>><br>
>>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>> --<br>
>>>>>> Regards,<br>
>>>>>><br>
>>>>>> Sudarshan Bisht<br>
>>>>>><br>
>>>>>> _______________________________________________<br>
>>>>>> gstreamer-devel mailing list<br>
>>>>>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>>>>>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>>>>>><br>
>>>>>><br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> gstreamer-devel mailing list<br>
>>>>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>>>>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>>>>><br>
>>>>><br>
>>>><br>
>>>><br>
>>>> --<br>
>>>> Regards,<br>
>>>><br>
>>>> Sudarshan Bisht<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> gstreamer-devel mailing list<br>
>>>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>>>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>>>><br>
>>>><br>
>>><br>
>>> _______________________________________________<br>
>>> gstreamer-devel mailing list<br>
>>> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
>>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>>><br>
>>><br>
>><br>
>><br>
>> --<br>
>> Regards,<br>
>><br>
>> Sudarshan Bisht<br>
>><br>
><br>
><br>
><br>
> --<br>
> Regards,<br>
><br>
> Sudarshan Bisht<br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
><br></div></div>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110721/ad4b4e23/attachment.htm" target="_blank">http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110721/ad4b4e23/attachment.htm</a>><br>
<br>
------------------------------<div><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br></div>
End of gstreamer-devel Digest, Vol 6, Issue 50<br>
**********************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>- bala<br>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>