ffmpeg编译

1、openssl/evp.h找不到
CONFIG_HTTPS_PROTOCOL 设为0

0.tools/do-compile-ffmpeg.sh: 317: tools/do-compile-ffmpeg.sh: make: not found
新系统默认不安装make,命令行安装sudo apt-get install make
1.Invalid NDK_TOOLCHAIN_VERSION value: 4.9. GCC is no longer supported.
注释NDK_TOOLCHAIN_VERSION
2.Unknown option “–disable-ffserver”
Unknown option “–disable-vda”
FFmpeg 4.0 须去掉(注释)再编译
3.libavcodec/eac3_core_bsf.c:39: error: undefined reference to ‘ff_ac3_parse_header’
libavcodec/eac3_core_bsf.c:55: error: undefined reference to ‘ff_ac3_parse_header’
FFmpeg4.0 不再支持,须要–disable-bsf=eac3_core
4.libavformat/utils.c:6003: error: undefined reference to ‘ff_hevc_decode_extradata’
libavformat/utils.c:6066: error: undefined reference to ‘ff_hevc_ps_uninit’
libavformat/utils.c:6069: error: undefined reference to ‘ff_hevc_ps_uninit’
增加hevc(H265)支持

你可能感兴趣的:(ffmpeg编译)