aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorWerner Robitza2015-01-14 16:53:49 +0100
committerMisty De Meo2015-02-22 22:04:38 -0800
commitc3c6a3b92855c3917e554c16da0cb672363cf02e (patch)
tree4368b6a84d09af02f958d6dcedb4788dec8a5ecb /Library
parent0126ffac8799dd84037cf24bb9de98d2a9f15c63 (diff)
downloadhomebrew-c3c6a3b92855c3917e554c16da0cb672363cf02e.tar.bz2
Improve ffmpeg caveats regarding AAC
ffmpeg's internal AAC encoder should be preferred over libvo_aacenc due to its much better quality. The experimental label is there for historic reasons -- there is nothing unstable about it. Changed "-2" to "experimental" argument, because easier to remember. Added libfdk-aac as it's preferred over libvo_aacenc for quality reasons. Added meaningful command line examples. See https://trac.ffmpeg.org/wiki/Encode/AAC
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ffmpeg.rb12
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb
index 6d7b351b0..47e504062 100644
--- a/Library/Formula/ffmpeg.rb
+++ b/Library/Formula/ffmpeg.rb
@@ -159,15 +159,17 @@ class Ffmpeg < Formula
def caveats
if build.without? "faac" then <<-EOS.undent
- FFmpeg has been built without libfaac for licensing reasons.
+ FFmpeg has been built without libfaac for licensing reasons;
+ libvo-aacenc is used by default.
To install with libfaac, you can:
brew reinstall ffmpeg --with-faac
- You can also use the libvo-aacenc or experimental FFmpeg encoder to
- encode AAC audio:
- -c:a libvo_aacenc
+ You can also use the experimental FFmpeg encoder, libfdk-aac, or
+ libvo_aacenc to encode AAC audio:
+ ffmpeg -i input.wav -c:a aac -strict experimental output.m4a
Or:
- -c:a aac -strict -2
+ brew reinstall ffmpeg --with-fdk-aac
+ ffmpeg -i input.wav -c:a libfdk_aac output.m4a
EOS
end
end