交叉编译编译ffmpeg:ERROR: x265 not found using pkg-config(未解决)

  • 具体错误

    ERROR: x265 not found using pkg-config

    If you think configure made a mistake, make sure you are using the latest
    version from Git. If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
    Include the log file "ffbuild/config.log" produced by configure as this will help
    solve the problem.

  • 说明

实际上都已经配置了:

复制代码
export PKG_CONFIG_PATH=${BUILD_DIR}/lib/pkgconfig:${PKG_CONFIG_PATH}

./configure \
    --pkgconfigdir=${PKG_CONFIG_PATH} \
    --extra-cflags="-I${BUILD_DIR}/include" \
    --extra-ldflags="-L${BUILD_DIR}/lib" \

......

x264就没问题,x265就死活找不到。而x265是确实编译输出到相应目录。

可能是需要的链接库不对?或者是接口变了?

相关推荐
诸葛大钢铁16 小时前
视频转音频怎么转换?在线工具、VLC、FFmpeg 三种方法详解
ffmpeg·音视频·mp4转mp3·视频转音频·视频转mp3·视频提取音频
qingmiaozhuan16 小时前
电脑录屏软件追剧高光截取:FFmpeg帧裁剪与可视化方案对比
ffmpeg·电脑·音视频开发·录屏技术·电脑录屏
程序员老陆1 天前
FFmpeg6操作 RTMP参数详解
ffmpeg·音视频·rtmp
戒了,最后一次2 天前
Windows 安装 FFmpeg 完整教程(附环境变量配置 + 常用命令示例)
windows·ffmpeg
≮傷£≯√2 天前
FFmpeg + qt 音频播放
qt·ffmpeg·音视频
程序员老陆2 天前
Qt的QThread::usleep和FFmpeg的libavutil模块的av_usleep哪个精度高一些?
开发语言·qt·ffmpeg·音视频
程序员老陆2 天前
如何使用FFmpeg6的API进行HLS开发呢?
ffmpeg·音视频·hls
程序员老陆4 天前
说一说FFmpeg6在Linux平台的编译
linux·运维·服务器·ffmpeg
用户518186005664 天前
FFmpeg 剪辑:为什么 `-c copy` 往往做不到帧准确剪切
ffmpeg
福大大架构师每日一题4 天前
mediamtx v1.19.3正式发布:认证安全、WebRTC跨域、MoQ稳定性、RTSP与HLS全面升级
安全·ffmpeg·webrtc