树莓派ffmpeg 安装问题

qq_39796401 qq_39796401 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
config文件是从网上下载下来的,make的时候出现了以下的问题:
(安装了x264)


libavformat/utils.c: In function ‘av_read_frame’:
libavformat/utils.c:1541:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int64_t last_dts = next_pkt->dts;
^~~~~~~
AR libavformat/libavformat.a
CC libavcodec/libx264.o
libavcodec/libx264.c: In function ‘X264_frame’:
libavcodec/libx264.c:271:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
if (x264_bit_depth > 8)
^~~~~~~~~~~~~~
libavcodec/libx264.c:271:9: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/libx264.c: In function ‘X264_init_static’:
libavcodec/libx264.c:898:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
if (x264_bit_depth == 8)
^~~~~~~~~~~~~~
common.mak:60: recipe for target 'libavcodec/libx264.o' failed
make: *** [libavcodec/libx264.o] Error 1
...全文
评论 6
收藏 已收藏
分享
返回顶部