Allegro con brio.wav" -acodec libaacplus -ab 128k AACPlus_128k.mp4įFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.Ĭonfiguration: -enable-gpl -enable-nonfree -enable-postproc -enable-swscale -enable-avfilter -enable-pthreads -enable-libamr-nb -enable-libfaac -enable-libfaad -enable-libmp3lame -enable-libx264 -enable-libxvid -disable-devices -enable-static -extra-libs=/usr/local/lib/libfaac.a -extra-libs=/usr/local/lib/libfaad.a -extra-libs=/usr/local/lib/libxvidcore.a -extra-libs=/usr/local/lib/libx264.a -extra-libs=/usr/local/lib/libamrnb.a -extra-libs=/usr/local/lib/libmp3lame.a -extra-libs=/usr/local/lib/liba52.a -enable-libaacplus -extra-libs=/usr/local/lib/libaacplus.a Libavcodec/libaacplus.c:90: warning: implicit declaration of function Б─≤flush_put_bitsБ─≥ Libavcodec/libaacplus.c:83: warning: implicit declaration of function Б─≤put_bitsБ─≥ Libavcodec/libaacplus.c:82: error: Б─≤pbБ─≥ undeclared (first use in this function) Libavcodec/libaacplus.c:82: warning: implicit declaration of function Б─≤init_put_bitsБ─≥
Ubuntu ffmpeg apply patch how to code#
Libavcodec/libaacplus.c:80: warning: ISO C90 forbids mixed declarations and code Libavcodec/libaacplus.c:79: error: expected Б─≤ Б─≥ before Б─≤pbБ─≥ Libavcodec/libaacplus.c:79: error: for each function it appears in.) Libavcodec/libaacplus.c:79: error: (Each undeclared identifier is reported only once Libavcodec/libaacplus.c:79: error: Б─≤PutBitContextБ─≥ undeclared (first use in this function) Libavcodec/libaacplus.c: In function Б─≤put_audio_specific_configБ─≥: Libavcodec/libaacplus.c:28:22: error: put_bits.h: No such file or directory I"/root/ffmpeg-0.5" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -fomit-frame-pointer -pthread -I/usr/local/include/aacplus -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -c -o libavcodec/libaacplus.o libavcodec/libaacplus.c configure -enable-gpl -enable-nonfree -enable-postproc -enable-swscale -enable-avfilter -enable-pthreads -enable-libamr-nb -enable-libfaac -enable-libfaad -enable-libmp3lame -enable-libx264 -enable-libxvid -disable-devices -enable-static -extra-libs=/usr/local/lib/libfaac.a -extra-libs=/usr/local/lib/libfaad.a -extra-libs=/usr/local/lib/libxvidcore.a -extra-libs=/usr/local/lib/libx264.a -extra-libs=/usr/local/lib/libamrnb.a -extra-libs=/usr/local/lib/libmp3lame.a -extra-libs=/usr/local/lib/liba52.a -extra-libs=/usr/local/lib/libaacplus.a -enable-libaacplus PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include. I get error compiling libaacplus.a statically into ffmpeg. Source.mp2 (not aac+ encoded) - source file Audio specific config bits changed (now flash player can play aac+ "m4a" files, produced by ffmpeg).
Stereo encoding bug fixed (encoded sound quality is much better).Here is old-patch code for debian/ubuntu linux: $ svn checkout svn:///ffmpeg/trunk ffmpeg -r 25711 Here is newer-patch for libaacplus2 code for debian/ubuntu linux: LATEST FFMPEG FROM GIT - IS ALREADY PATCHED! THIS HOWTO IS OBSOLETE!įollow steps below to patch FFMPEG that enables aac+ encoding.