Quantcast
Viewing all articles
Browse latest Browse all 10

FFMPEG AAC Encoder Vanished?

Image may be NSFW.
Clik here to view.
Question

I’m running Ubuntu Server 10.04 LTS x64. I’ve been using ffmpeg on this machine to encode H.264 videos with AAC audio for over a year.

There was an update to the ffmpeg packages this week that seems to have broken the AAC encoder.

The command I’m using:

/usr/bin/ffmpeg -y -i '/tmp/original.mov' -acodec libfaac -ar 44100 -ab 128k -vcodec libx264 -level 41 -crf 25 -r 25 -s '1280'x'720' -bufsize 250000k -maxrate 2500k -vpre lossless_slower '/tmp/converted.mp4'

Conversion fails with this error:

Unknown encoder 'libfaac'

Output of ffmpeg -v:

FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5.1-1ubuntu1.2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Sep 16 2011 17:08:44, gcc: 4.4.3
ffmpeg: missing argument for option '-v'

Applicable output of ffmpeg -formats:

Codecs:
 D A    aac             Advanced Audio Coding

The E for encoding is missing.

I already had libfaac-dev and libfaac0 installed, and installed faac after the fact to see if that would help. No dice.

Suggestions? I welcome any advice. Thank you.

Image may be NSFW.
Clik here to view.
Answer

Various builds of ffmpeg have certain modules enabled/disabled, often for legal reasons. (Certain patented codecs and what not can generally not be distributed, except in source form, depending on the country.)

If you want the full package, you will likely have to build it yourself, or browse Google for an hour, searching for a binary that has the modules you are looking for.


Viewing all articles
Browse latest Browse all 10

Trending Articles