Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: libfaac+mencoder: cannot set bitrate (want 32 kbps, get 58) (Read 3794 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

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

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 )
PANIC: CPU 1: Cache Error (unrecoverable - dcache data) Eframe = 0x90000000208cf3b8
NOTICE - cpu 0 didn't dump TLB, may be hung

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.