[MEncoder-users] NO-SPAM compiling with faac support

Alex Teslik alex at acatysmoof.com
Sun Sep 25 01:21:09 CEST 2005


Hello,

FreeBSD 4.10-RELEASE-p5

MPlayer 1.0pre7try2-2.95.4

FAAC 1.24

ffmpeg version 0.4.9-pre1, build 4756, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --cc=cc --prefix=/usr/local --make=gmake --disable-debug
--enable-memalign-hack --enable-shared
--source-path=/usr/ports/multimedia/ffmpeg-devel/work/FFMpeg-20050620
--enable-a52 --disable-a52bin --enable-dts --enable-faac --enable-faad
--enable-faadbin --enable-gpl --enable-mp3lame --enable-libogg --enable-pp
--enable-shared-pp --enable-pthreads --enable-vorbis

The problem:
I am trying to encode an mp4 file with AAC audio. I can do it in ffmpeg with:

ffmpeg -r 29.97 -i test.VOB -b 300 -s 480x360 -vcodec mpeg4 -hq -4mv -qmin 2
-qmax 10 -nr -deinterlace -acodec aac -ab 64 -ar 44100 test.mp4

but I cannot enable the faac features of mencoder. I tried:

-oac faac -faacopts br=64

but the oac is not recognized.

mencoder -oac help says:
Available codecs:
   copy     - frame copy, without re-encoding (useful for AC3)
   pcm      - uncompressed PCM audio
   mp3lame  - cbr/abr/vbr MP3 using libmp3lame
   lavc     - FFmpeg audio encoder (MP2, AC3, ...)

I know I have faac installed, and it works for ffmpeg. I even tried -oac lavc.

mencoder test.VOB -ovc lavc-oac lavc -lavcopts
vcodec=mpeg4:vhq:v4mv:vbitrate=600:vqmin=2:vqmax=31:acodec=aac:abitrate=64 -vf
hqdn3d,pp=hdeblock/vdeblock/dering/cubicipoldeint/autolevels,scale=480:360:0:0:2,unsharp=l3x3:5:c3x3:5
-o test.mp4

no luck.

Any tips on how I can get faac working for mencoder?

Thanks,
Alex




More information about the MEncoder-users mailing list