mpeg4aac for ffmpeg problem
Error Message:
[mpeg4aac @ 0xb7d7a748]FAAD library: cannot resolve faacDecGetErrorMessage in libfaad.so.0!
Solution:
First you should comfirm that libfaad.so.0 library is located in the path which are defined by the LD_LIBRARY_PATH environment variable. Otherwise, you can use
export LD_LIBRARY_PATH=/home/ffmpeg/usr/local/lib
to add the libfaad.so.0 to the LD_LIBRARY_PATH. (in this case, libfaad.so.0 is in the /home/ffmpeg/usr/local/lib ).
Second, Modify libavcodec/libfaad.c in ffmpeg source code
change line:
do { static const char* n = "faacDec" #a; \
To:
do { static const char* n = "NeAACDec" #a; \
change line:
#define dfaac(a, b) s→faacDec ## a = faacDec ## a
To:
#define dfaac(a, b) s→faacDec ## a = NeAACDec ## a
Re-compile ffmpeg.
