ijkplayer error

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)支持
5.编译生成aar时报错:

* What went wrong:
A problem occurred configuring project ':ijkplayer-example'.
> All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com/r/tools/flavorDimensions-missing-error-message.html

fixed:

    defaultConfig {
        applicationId "tv.danmaku.ijk.media.example"
        minSdkVersion 9
        targetSdkVersion rootProject.ext.targetSdkVersion
        versionCode rootProject.ext.versionCode
        versionName rootProject.ext.versionName
        flavorDimensions "versionCode" #add this codes
    }
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值