树莓派ffmpeg 安装问题
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
(安装了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
...全文
相关推荐
树莓派3b chromium 浏览器安装 及 Flash插件安装
树莓派3b chromium 浏览器安装 及 pepper Flash 插件安装,包括安装说明和文件
如何使用 FFmpeg 进行视频转码
如何使用 FFmpeg 进行视频转码, 如何使用 FFmpeg 进行视频转码
树莓派安装nginx-1.11.8
树莓派Zero W构建nginx+rtmp视频流服务器,h264视频编码视频流实时传输。
homebridge-raspberry-camera-modul:如何构建和配置廉价的支持HomeKit的摄像机
homebridge-raspberry-camera-modul:如何构建和配置廉价的支持HomeKit的摄像机
移植ffmpeg到arm平台.rar
主要说明移植ffmpeg到arm板端的流程,注意替换交叉编译链


驱动开发/核心开发
