Reading one channel AAC file using playbin2 returns stereo data
dsi.maillist at gmail.com
Wed Feb 8 11:21:46 PST 2012
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?
On Wed, Feb 8, 2012 at 1:40 PM, Michael Smith <msmith at xiph.org> wrote:
> As you can see from the image you attached, the input to FAAD says
> it's mono (channels=1), but the output from FAAD has channels=2.
> This probably means that it's marked as mono in the container (mp4),
> but is actually stereo - faad cares more about the actual AAC contents
> than about what the container says, so overrides it.
> So this is happening solely inside faad - it's not gstreamer
> converting to another format or anything complex like that. I guess
> you don't really have a mono AAC file.
> On Wed, Feb 8, 2012 at 9:09 AM, Dinesh Iyer <dsi.maillist at gmail.com>
> > Hello,
> > I am using playbin2 to read audio data from AAC and MP3 files. I noticed
> > that when I attempt to read one channel AAC files, the output returned is
> > stereo with both channels having the same data. Single channel MP3 and
> > files were read in as expected. I am attaching an image of the pipeline
> > obtained when using the following gst-launch command:
> > gst-launch-0.10 playbin2
> > uri=file:///local/playbin2_appsink_aac_mono/testWelcomeMono.m4a
> > audio-sink=appsink video-sink=fakesink text-sink=fakesink
> > Regards,
> > Dinesh
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel