ffmpeg中设置配置项时ERROR: x264 not found using pkg-config
ERROR: x264 not found using pkg-config
·
场景:ffmpeg在配置项中引入了x264报错
问题:ERROR: x264 not found using pkg-config
解决:
vim /etc/profile
- 末尾加入内容
export PKG_CONFIG_PATH=/usr/local/x264/lib/pkgconfig
,具体看各位自己x264的安装路径 source /etc/profile
- 然后再
./configure ...
就没问题了
但愿能解决你的问题 😃
更多推荐
所有评论(0)