旌旗博客

2007-04-13

faad2 2.5 decodec error message in ffmpeg

Filed under: I.T. — 标签: — rocky @ 12:55

If you got error message like this:

[aac @ 0x53cde8]FAAD library: cannot resolve faacDecGetErrorMessage in libfaad.so.0!

That means ffmpeg could not load faacDecGetErrorMessage symbol from libfaad.so.0 library. First you should comfirm that libfaad.so.0 library is located in the path which are defined by the LD_LIBRARY_PATH environment variable.  Second, this problem may caused by the changes of faad2 upgrading. You can edit this file libavcodec/faad.c:

line 222:

do { static const char* n = “faacDec” #a; \

Modify it as below:

do { static const char* n = “NeAACDec” #a; \

Powered by WordPress