Skip to main content

Topic: libfaac+mencoder: cannot set bitrate (want 32 kbps, get 58) (Read 2526 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • hlzhang
  • [*]
libfaac+mencoder: cannot set bitrate (want 32 kbps, get 58)
I use libfaac with mencoder,and i found it can't set the bitrate of audio.
My Command :
  mencoder input.avi -ovc copy -oac lavc -lavcopts acodec=libfaac:abitrate=32:aglobal=1 -o  abc.flv

When finished,i check the abc.flv file :
  Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 58 kb/s

But my setting is 32bit. Anyone who can help me to set the bitrate to 32kbps,thanks

  • smok3
  • [*][*][*][*][*]
  • Moderator
libfaac+mencoder: cannot set bitrate (want 32 kbps, get 58)
Reply #1
abitrate=32k ?

(just a wild guess from a working ffmpeg example: ffmpeg -i file.avi -vcodec libx264 -crf 21 -preset veryslow -tune film -threads 0 -acodec libvo_aacenc -ab 192k test4.mp4 )
  • Last Edit: 28 September, 2011, 05:43:02 AM by smok3
PANIC: CPU 1: Cache Error (unrecoverable - dcache data) Eframe = 0x90000000208cf3b8
NOTICE - cpu 0 didn't dump TLB, may be hung

  • LithosZA
  • [*][*][*]
libfaac+mencoder: cannot set bitrate (want 32 kbps, get 58)
Reply #2
I wouldn't recommend using libfaac for anything even at 192Kbit/s. Use Apple's or Nero's AAC encoders instead.
For 32Kbit/s you can use libaacplus so that you can get AAC-HE instead of AAC-LC, or Apple/Nero HE-AAC encoders.