[FFmpeg-user] FFMpeg native aac decoder

linuxford fordgwf at gmail.com
Sat Jun 23 17:42:58 CEST 2012

Thanks for this post. I believe I had the same issue so I am trying to use
the libvorbis as recommended. I may be in over my head, but here is what I
am doing.

First, I am trying to download the libvorbis supporting library via apt-get
install, which cannot find libvorbis, so I went to pkgs.org and found out
that I needed to get the libvorbis0a, which it said I already had the latest
version. I also went to http://packages.debian.org/source/squeeze/libvorbis
and made sure I had all the packages it mentions installed, libvorbis-dbg,
libvorbis-dev, libvorbis0a, libvorbisenc2, libvorbisfile3

Second, I have tried to enable the decoder/encoder and compile a new ffmpeg
with these command
sudo ./configure --list-decoders|grep orbis
sudo ./configure --enable-encoder=libvorbis --enable-decoder=libvorbis
sudo make 
sudo make install

I then try to run the ffmpeg command get this output:

ffmpeg -i audio.wav -acodec libvorbis -aq 60 audio.ogg
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 23 2012 08:28:17 with gcc 4.4.5
  configuration: --enable-encoder=libvorbis --enable-decoder=libvorbis
  WARNING: library configuration mismatch
  avutil      configuration: --enable-static --enable-shared --enable-gpl
--enable-nonfree --enable-libmp3lame --enable-libaacplus --enable-libx264
  avcodec     configuration: --enable-static --enable-shared --enable-gpl
--enable-nonfree --enable-libmp3lame --enable-libaacplus --enable-libx264
  avformat    configuration: --enable-static --enable-shared --enable-gpl
--enable-nonfree --enable-libmp3lame --enable-libaacplus --enable-libx264
  avdevice    configuration: --enable-libxvid --enable-libmp3lame
--enable-libvorbis --enable-libfaac --enable-shared --enable-nonfree
  avfilter    configuration: --enable-static --enable-shared --enable-gpl
--enable-nonfree --enable-libmp3lame --enable-libaacplus --enable-libx264
  swscale     configuration: --enable-libxvid --enable-libmp3lame
--enable-libvorbis --enable-libfaac --enable-shared --enable-nonfree
  swresample  configuration: --enable-libxvid --enable-libmp3lame
--enable-libvorbis --enable-libfaac --enable-shared --enable-nonfree
  libavutil      51. 54.100 / 51. 60.100
  libavcodec     54. 23.100 / 54. 29.100
  libavformat    54.  6.100 / 54. 11.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 82.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
[wav @ 0x99a53c0] max_analyze_duration 5000000 reached at 5015510
Guessed Channel Layout for  Input Stream #0.0 : mono
Input #0, wav, from 'audio.wav':
  Duration: 00:03:24.49, bitrate: 705 kb/s
    Stream #0:0: Audio: pcm_s32le ([1][0][0][0] / 0x0001), 22050 Hz, mono,
s32, 705 kb/s
Unknown encoder 'libvorbis'
Do I need a different command-line option? Or maybe I haven't compiled the
ffmpeg correctly? Thanks for any insights.

View this message in context: http://ffmpeg-users.933282.n4.nabble.com/FFMpeg-native-aac-decoder-tp1568222p4651185.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.

More information about the ffmpeg-user mailing list