Hi Mike,<br>Thanks for your reply. I created this file using Media Foundation on Windows. When I read the same file on Windows and Mac, it identifies the audio stream to have only 1 channel. Could this be a bug with Faad?<br>
<br>Regards,<br>Dinesh<br><br><div class="gmail_quote">On Wed, Feb 8, 2012 at 1:40 PM, Michael Smith <span dir="ltr"><<a href="mailto:msmith@xiph.org">msmith@xiph.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As you can see from the image you attached, the input to FAAD says<br>
it's mono (channels=1), but the output from FAAD has channels=2.<br>
<br>
This probably means that it's marked as mono in the container (mp4),<br>
but is actually stereo - faad cares more about the actual AAC contents<br>
than about what the container says, so overrides it.<br>
<br>
So this is happening solely inside faad - it's not gstreamer<br>
converting to another format or anything complex like that. I guess<br>
you don't really have a mono AAC file.<br>
<br>
Mike<br>
<div><div class="h5"><br>
<br>
On Wed, Feb 8, 2012 at 9:09 AM, Dinesh Iyer <<a href="mailto:dsi.maillist@gmail.com">dsi.maillist@gmail.com</a>> wrote:<br>
> Hello,<br>
> I am using playbin2 to read audio data from AAC and MP3 files. I noticed<br>
> that when I attempt to read one channel AAC files, the output returned is<br>
> stereo with both channels having the same data. Single channel MP3 and WAV<br>
> files were read in as expected. I am attaching an image of the pipeline<br>
> obtained when using the following gst-launch command:<br>
><br>
> gst-launch-0.10 playbin2<br>
> uri=file:///local/playbin2_appsink_aac_mono/testWelcomeMono.m4a<br>
> audio-sink=appsink video-sink=fakesink text-sink=fakesink<br>
><br>
><br>
><br>
> Regards,<br>
> Dinesh<br>
><br>
</div></div>> _______________________________________________<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>
_______________________________________________<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>
</blockquote></div><br>