![](/img/trans.png)
[英]Compiling FFMPEG with x265 has ERROR: x265 not found using pkg-config
[英]static x265 not found while compiling FFMPEG
可以使用x265共享库配置ffmpeg,但不能使用静态库配置ffmpeg:
./configure --prefix=/usr/local --enable-gpl --enable-libx265 --enable-pthreads --enable-shared --disable-static --pkg-config-flags="--static" --extra-cflags=-I./include --extra-ldflags=-L./lib --extra-libs=-ldl --extra-cflags=-DPTW32_STATIC_LIB
错误:使用pkg-config找不到x265
在制作静态x265之前也更改了x265.pc
库:-L $ {libdir} -lx265 -lstdc ++ -lm -lrt
/ usr / local / lib具有libx265.a静态文件
您需要更多的库“ libnuma-dev”。
sudo apt-get install libx265-dev libnuma-dev
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.