Vogel Ubrhar wrote:
On Wed, Feb 24, 2010 at 3:58 PM, Justin Ruggles <justin.ruggles at gmail.com>wrote:
Hi,
Vogel Ubrhar wrote:
I also was unable to transcode the following aac file to vorbis ogg
http://www.nch.com.au/acm/sample.aac FFmpeg works fine for me with that sample in SVN-r21974. What commandline are you using that fails and how does it fail?
-Justin
Hi Justin, I just upgraded to git-svn-r22041 and the problem persists:
$ ffmpeg -i sample.aac -acodec vorbis -aq 60 sample.ogg
FFmpeg version git-svn-r22041, Copyright (c) 2000-2010 the FFmpeg developers built on Feb 24 2010 15:15:08 with gcc 4.4.1 configuration: --enable-vdpau --enable-shared --disable-static libavutil 50. 9. 0 / 50. 9. 0 libavcodec 52.55. 0 / 52.55. 0 libavformat 52.54. 0 / 52.54. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0.10. 0 / 0.10. 0 [aac @ 0xf5d3c0]Estimating duration from bitrate, this may be inaccurate Input #0, aac, from 'sample.aac': Duration: 00:01:12.37, bitrate: 0 kb/s Stream #0.0: Audio: aac, 8000 Hz, 1 channels, s16, 0 kb/s [vorbis @ 0xf84250]Current FFmpeg Vorbis encoder only supports 2 channels.
That's your problem. FFmpeg's native Vorbis encoder doesn't support mono. It's not the AAC sample. I would recommend using -acodec libvorbis instead. If you really want to use the native encoder, maybe adding -ac 2 would work to convert it to stereo. -Justin