/usr/bin/make all-recursive
Making all in ext
Making all in libav
CC libgstlibav_la-gstav.lo
CC libgstlibav_la-gstavcodecmap.lo
CC libgstlibav_la-gstavaudenc.lo
CC libgstlibav_la-gstavauddec.lo
CC libgstlibav_la-gstavvidenc.lo
CC libgstlibav_la-gstavviddec.lo
CC libgstlibav_la-gstavcfg.lo
gstavviddec.c: 在函数‘gst_ffmpegviddec_class_init’中:
gstavviddec.c:242:15: 错误:‘CODEC_CAP_FRAME_THREADS’未声明(在此函数内第一次使用)
if (caps & (CODEC_CAP_FRAME_THREADS | CODEC_CAP_SLICE_THREADS)) {
^~~~~~~~~~~~~~~~~~~~~~~
gstavviddec.c:242:15: 附注:每个未声明的标识符在其出现的函数内只报告一次
gstavviddec.c:242:41: 错误:‘CODEC_CAP_SLICE_THREADS’未声明(在此函数内第一次使用)
if (caps & (CODEC_CAP_FRAME_THREADS | CODEC_CAP_SLICE_THREADS)) {
^~~~~~~~~~~~~~~~~~~~~~~
gstavauddec.c: 在函数‘gst_ffmpegauddec_propose_allocation’中:
gstavviddec.c: 在函数‘gst_ffmpegviddec_open’中:
gstavviddec.c:372:7: 错误:‘CODEC_FLAG_OUTPUT_CORRUPT’未声明(在此函数内第一次使用)
CODEC_FLAG_OUTPUT_CORRUPT, ffmpegdec->output_corrupt);
^~~~~~~~~~~~~~~~~~~~~~~~~
gstavauddec.c:290:20: 错误:‘FF_INPUT_BUFFER_PADDING_SIZE’未声明(在此函数内第一次使用)
params.padding = FF_INPUT_BUFFER_PADDING_SIZE;
cheney@LinuxPC:~/work/source$ make
umask 0022 && make -C /home/cheney/work/source/buildroot O=/home/cheney/work/source/buildroot/output/firefly_rk3308_qt_release
gst1-libav 1.14.4 Building
PATH=“/home/cheney/work/source/buildroot/output/firefly_rk3308_qt_release/host/bin:/home/cheney/work/source/buildroot/output/firefly_rk3308_qt_release/host/sbin:/home/cheney/bin:/home/cheney/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin” RecoveryNoUi=true /usr/bin/make -j24 -C /home/cheney/work/source/buildroot/output/firefly_rk3308_qt_release/build/gst1-libav-1.14.4/
/usr/bin/make all-recursive
Making all in ext
Making all in libav
CC libgstlibav_la-gstav.lo
CC libgstlibav_la-gstavcodecmap.lo
CC libgstlibav_la-gstavauddec.lo
CC libgstlibav_la-gstavvidenc.lo
CC libgstlibav_la-gstavcfg.lo
CC libgstlibav_la-gstavviddec.lo
CC libgstlibav_la-gstavaudenc.lo
gstav.c:33:39: 致命错误:libavfilter/avfiltergraph.h:没有那个文件或目录 #include <libavfilter/avfiltergraph.h>
^
编译中断。
gstavaudenc.c: 在函数‘gst_ffmpegaudenc_set_format’中:
gstavaudenc.c:282:5: 警告:‘rtp_payload_size’ is deprecated [-Wdeprecated-declarations]
ffmpegaudenc->context->rtp_payload_size = ffmpegaudenc->rtp_payload_size;
^~~~~~~~~~~~
In file included from gstavaudenc.c:33:0:
/home/cheney/work/source/buildroot/output/firefly_rk3308_qt_release/host/aarch64-rockchip-linux-gnu/sysroot/usr/include/libavcodec/avcodec.h:2520:9: 附注:在此声明
int rtp_payload_size; /* The size of the RTP payload: the coder will */
^~~~~~~~~~~~~~~~
gstavaudenc.c:286:24: 错误:‘AVCodecContext {或称 struct AVCodecContext}’ has no member named ‘rc_strategy’; did you mean ‘b_frame_strategy’?
ffmpegaudenc->context->rc_strategy = 2;
^~
gstavaudenc.c:287:3: 警告:‘b_frame_strategy’ is deprecated [-Wdeprecated-declarations]
ffmpegaudenc->context->b_frame_strategy = 0;
^~~~~~~~~~~~
In file included from gstavaudenc.c:33:0:
/home/cheney/work/source/buildroot/output/firefly_rk3308_qt_release/host/aarch64-rockchip-linux-gnu/sysroot/usr/include/libavcodec/avcodec.h:1816:9: 附注:在此声明
int b_frame_strategy;
^~~~~~~~~~~~~~~~
gstavaudenc.c:288:3: 警告:‘coder_type’ is deprecated [-Wdeprecated-declarations]
ffmpegaudenc->context->coder_type = 0;
^~~~~~~~~~~~
In file included from gstavaudenc.c:33:0:
/home/cheney/work/source/buildroot/output/firefly_rk3308_qt_release/host/aarch64-rockchip-linux-gnu/sysroot/usr/include/libavcodec/avcodec.h:2455:9: 附注:在此声明
int coder_type;
^~~~~~~~~~
gstavaudenc.c:289:3: 警告:‘context_model’ is deprecated [-Wdeprecated-declarations]
ffmpegaudenc->context->context_model = 0;
^~~~~~~~~~~~
In file included from gstavaudenc.c:33:0:
/home/cheney/work/source/buildroot/output/firefly_rk3308_qt_release/host/aarch64-rockchip-linux-gnu/sysroot/usr/include/libavcodec/avcodec.h:2461:9: 附注:在此声明
int context_model;
^~~~~~~~~~~~~
gstavaudenc.c:290:3: 警告:‘scenechange_threshold’ is deprecated [-Wdeprecated-declarations]
ffmpegaudenc->context->scenechange_threshold = 0;
^~~~~~~~~~~~
In file included from gstavaudenc.c:33:0:
/home/cheney/work/source/buildroot/output/firefly_rk3308_qt_release/host/aarch64-rockchip-linux-gnu/sysroot/usr/include/libavcodec/avcodec.h:2052:9: 附注:在此声明
int scenechange_threshold;
^~~~~~~~~~~~~~~~~~~~~
gstavaudenc.c:333:44: 错误:‘CODEC_CAP_EXPERIMENTAL’未声明(在此函数内第一次使用)
if ((oclass->in_plugin->capabilities & CODEC_CAP_EXPERIMENTAL) &&
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner