bilibili开源ffmpeg编译报错
来源:互联网 发布:淘宝新店怎么做推广 编辑:程序博客网 时间:2024/05/21 08:49
1.如果是使用ndk-android-r15b:请修改ijkpayer-android/android/contrib/tools/do-detect-en.vh文件。
源文件如下:
#! /usr/bin/env bash## Copyright (C) 2013-2014 Zhang Rui <bbcallen@gmail.com>## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.## This script is based on projects below# https://github.com/yixia/FFmpeg-Android# http://git.videolan.org/?p=vlc-ports/android.git;a=summary#--------------------set -eUNAME_S=$(uname -s)UNAME_SM=$(uname -sm)echo "build on $UNAME_SM"echo "ANDROID_NDK=$ANDROID_NDK"if [ -z "$ANDROID_NDK" ]; then echo "You must define ANDROID_NDK before starting." echo "They must point to your NDK directories." echo "" exit 1fi# try to detect NDK versionexport IJK_GCC_VER=4.9export IJK_GCC_64_VER=4.9export IJK_MAKE_TOOLCHAIN_FLAGS=export IJK_MAKE_FLAG=export IJK_NDK_REL=$(grep -o '^r[0-9]*.*' $ANDROID_NDK/RELEASE.TXT 2>/dev/null | sed 's/[[:space:]]*//g' | cut -b2-)case "$IJK_NDK_REL" in 10e*) # we don't use 4.4.3 because it doesn't handle threads correctly. if test -d ${ANDROID_NDK}/toolchains/arm-linux-androideabi-4.8 # if gcc 4.8 is present, it's there for all the archs (x86, mips, arm) then echo "NDKr$IJK_NDK_REL detected" case "$UNAME_S" in Darwin) export IJK_MAKE_TOOLCHAIN_FLAGS="$IJK_MAKE_TOOLCHAIN_FLAGS --system=darwin-x86_64" ;; CYGWIN_NT-*) export IJK_MAKE_TOOLCHAIN_FLAGS="$IJK_MAKE_TOOLCHAIN_FLAGS --system=windows-x86_64" ;; esac else echo "You need the NDKr10e or later" exit 1 fi ;; *) IJK_NDK_REL=$(grep -o '^Pkg\.Revision.*=[0-9]*.*' $ANDROID_NDK/source.properties 2>/dev/null | sed 's/[[:space:]]*//g' | cut -d "=" -f 2) echo "IJK_NDK_REL=$IJK_NDK_REL" case "$IJK_NDK_REL" in 11*|12*|13*|14*) if test -d ${ANDROID_NDK}/toolchains/arm-linux-androideabi-4.9 then echo "NDKr$IJK_NDK_REL detected" else echo "You need the NDKr10e or later" exit 1 fi ;; *) echo "You need the NDKr10e or later" exit 1 ;; esac ;;esaccase "$UNAME_S" in Darwin) export IJK_MAKE_FLAG=-j`sysctl -n machdep.cpu.thread_count` ;; CYGWIN_NT-*) IJK_WIN_TEMP="$(cygpath -am /tmp)" export TEMPDIR=$IJK_WIN_TEMP/ echo "Cygwin temp prefix=$IJK_WIN_TEMP/" ;;esac
在11*|12*|13*|14* 改11*|12*|13*|14*|15*保存ok。2.error:无法创建目录打开 do-compile-ffmpeg.sh 的 anroid-9 ——————》android-14
阅读全文
0 0
- bilibili开源ffmpeg编译报错
- Ubantu下bilibili开源ffmpeg编译
- FFMpeg编译报错
- 编译ffmpeg例程时,报错:undefined reference
- ubuntu编译FFMPEG报错ERROR: x265 not found using pkg-config
- ffmpeg 经常报错问题
- ffmpeg avcodec_encode_video2 函数报错
- 【FFMPEG】VS2015编译FFMPEG
- 【FFMPEG】VS2013编译ffmpeg
- ffmpeg编译
- FFmpeg编译
- FFMPEG编译
- ffmpeg编译
- 编译ffmpeg
- ffmpeg 编译
- 编译ffmpeg
- ffmpeg编译
- ffmpeg编译
- 微信支付流程
- php_lang_ref:Language Reference >> References Explained >> Returning References
- 心路历程(六)-一个人的后台
- CI框架不写Nginx错误日志的原因分析及解决办法
- 司法惩腐节奏快力度大 上半年曾一天宣判8名大老虎
- bilibili开源ffmpeg编译报错
- 高性能 TCP & HTTP 通信框架 HP-Socket v4.3.1
- 中缀表达式转后缀表达式 以及 后缀表达式求值
- 线性表
- NYOJ-206-矩形的个数
- php_lang_ref:Language Reference >> References Explained >> Unsetting References
- android手机中指纹识别应用相关功能的讲解
- squid创建匿名代理 用户密码验证(Ubuntu16.04)
- 贝叶斯与门特卡洛采样python库