[FFmpeg-user] How to code audio AAC in CBR (Constant BitRate)

Albert Scholtalbers compuvision.sr at gmail.com
Wed Feb 20 14:17:43 CET 2013


>I would like to have my audio encoded in CBR in stead of the default VBR.
>I use now:
>/usr/local/bin/ffmpeg -i /home/test/test.mpg -y -c:v libx264 -b:v 2000k
-vf scale=-1:480 -flags +ildct+ilme -x264opts tff=1 -strict -2 -c:a aac
>-strict experimental -b:a 128k /home/test-result.mp4

Haven't found doc on this codec yet.

>There is no info on http://ffmpeg.org/ffmpeg.html some people on this
website:
http://forum.videohelp.com/threads/320928-Need-CBR-MP3->in-FFMPEG-encode-can-you-help<http://forum.videohelp.com/threads/320928-Need-CBR-MP3-in-FFMPEG-encode-can-you-help>are
talking about an option: --cbr
>Who can tell more?

I found a new webpage with good info:
https://ffmpeg.org/trac/ffmpeg/wiki/AACEncodingGuide Their they explained
me to use: Fraunhofer FDK AAC codec library, which is currently the best
codec.
Replacing 'aac -strict experimental' with 'libfdk_aac' seems to work :)
Working with VBR seems to be via modes 1-5








-- 
*CompuVision*
Ing. AJC Scholtalbers
Reginalaan 3
Paramaribo
Tel:    (+597) - 539465
Cell:    (+597) - 8324853
VoIP:  (+31)   - 251788117
email: compuvision.sr at gmail.com
web:   www.compuvision-suriname.com


More information about the ffmpeg-user mailing list