ffmpeglibavcodeclibx264

Error : undefined reference to `x264_encoder_open_155'


I had done

sudo apt-get update
sudo apt-get upgrade

after that i am getting this error while compiling project:

ffmpeg/libavcodec/libx264.c:948: undefined reference to `x264_encoder_open_155'

Even i tried to build ffmpeg, i still got same error. Is there any solution or suggestions for this error?


Solution

  • You have two different versions of x264 installed simultaneously. Uninstall one of them or point your project your are compiling to the proper x264 version.