当前位置: 首页 > news >正文

上海电信网站备案百度竞价排名是哪种方式

上海电信网站备案,百度竞价排名是哪种方式,室内设计学院,佛山新网站建设下载代码 git clone gitgithub.com:FFmpeg/FFmpeg.git git checkout n7.0建立build目录 mkdir build cd build创建build.sh脚本 vim build.sh这段脚本的主要功能是配置和编译 FFmpeg,使其能够在 Android 平台上运行,通过设置不同的架构和 API 级别&am…

下载代码

git clone git@github.com:FFmpeg/FFmpeg.git
git checkout n7.0

建立build目录

mkdir build
cd build

创建build.sh脚本

vim build.sh

这段脚本的主要功能是配置和编译 FFmpeg,使其能够在 Android 平台上运行,通过设置不同的架构和 API 级别,可以生成适用于不同 Android 设备的 FFmpeg 库。

#!/bin/bash# 设置 NDK 路径(需替换为实际路径)NDK=/home/hui/Android/Sdk/ndk/21.0.6113669/# 选择目标架构(armv7a/arm64/x86/x86_64)ARCH=arm64
API=21# 工具链路径
TOOLCHAIN=$NDK/toolchains/llvm/prebuilt/linux-x86_64# 输出目录
PREFIX=$(pwd)/android/$ARCH# 根据架构配置参数
case "$ARCH" inarmv7a)CPU=armv7-aTARGET_TRIPLE=armv7a-linux-androideabi;;arm64)CPU=armv8-aTARGET_TRIPLE=aarch64-linux-android;;x86)CPU=i686TARGET_TRIPLE=i686-linux-android;;x86_64)CPU=x86_64TARGET_TRIPLE=x86_64-linux-android;;
esac# 编译器路径
CC=$TOOLCHAIN/bin/$TARGET_TRIPLE$API-clang
CXX=$TOOLCHAIN/bin/$TARGET_TRIPLE$API-clang++
STRIP=$TOOLCHAIN/bin/aarch64-linux-android-strip# FFmpeg 配置参数
../configure \--prefix=$PREFIX \--disable-shared \--enable-static \--enable-gpl \--enable-cross-compile \--enable-jni \--enable-ffmpeg \--disable-doc \--target-os=android \--arch=$ARCH \--cpu=$CPU \--cc=$CC \--cxx=$CXX \--strip=$STRIP \--sysroot=$TOOLCHAIN/sysroot \--extra-cflags="-march=$CPU -O3 -fPIC" \--extra-ldflags="-Wl,-rpath-link=$TOOLCHAIN/sysroot/usr/lib"make clean
make -j16
make install

关键步骤说明

设置路径:包括 NDK 路径、工具链路径和输出目录。

配置参数:根据目标架构设置相应的编译参数。

调用 FFmpeg 配置脚本:传递所有必要的参数以配置 FFmpeg 编译环境。

编译和安装:清理之前的编译结果,进行编译并安装生成的库文件。

FFmpeg 配置脚本

../configure \--prefix=$PREFIX \--disable-shared \--enable-static \--enable-gpl \--enable-cross-compile \--enable-jni \--enable-ffmpeg \--disable-doc \--target-os=android \--arch=$ARCH \--cpu=$CPU \--cc=$CC \--cxx=$CXX \--strip=$STRIP \--sysroot=$TOOLCHAIN/sysroot \--extra-cflags="-march=$CPU -O3 -fPIC" \--extra-ldflags="-Wl,-rpath-link=$TOOLCHAIN/sysroot/usr/lib"

参数解释:

--prefix=$PREFIX:指定安装目录。

--disable-shared:禁用共享库生成。

--enable-static:启用静态库生成。

--enable-gpl:启用 GPL 许可证的功能。

--enable-cross-compile:启用交叉编译。

--enable-jni:启用 JNI 支持。

--enable-ffmpeg:启用 FFmpeg 应用程序。

--disable-doc:禁用文档生成。

--target-os=android:指定目标操作系统为 Android。

--arch=$ARCH:指定目标架构。

--cpu=$CPU:指定目标 CPU 架构。

--cc=$CC--cxx=$CXX:指定 C 和 C++ 编译器路径。

--strip=$STRIP:指定用于剥离调试符号的工具路径。

--sysroot=$TOOLCHAIN/sysroot:指定系统根目录。

--extra-cflags="-march=$CPU -O3 -fPIC":指定额外的编译标志。

--extra-ldflags="-Wl,-rpath-link=$TOOLCHAIN/sysroot/usr/lib":指定额外的链接标志。

--disable-shared & --enable-static好处是把ffmpeg编译成一个独立的可执行文件,放到手机里面的时候只需要把ffmpeg程序push进去即可。

在手机上运行

adb push ffmpeg /data/localadb shell
$ chmod +x /data/local/ffmpeg
$ /data/local/ffmpeg -i /sdcard/

执行ffmpeg命令:

phone:/sdcard $ /data/local/ffmpeg -i input.mp4 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':Metadata:major_brand     : mp42minor_version   : 0compatible_brands: isommp42creation_time   : 2025-03-03T07:01:49.000000Zcom.android.version: 14Duration: 00:02:31.20, start: 0.000000, bitrate: 21470 kb/sStream #0:0[0x1](eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 2160x3840, 21371 kb/s, 60 fps, 60 tbr, 90k tbn (default)Metadata:creation_time   : 2025-03-03T07:01:49.000000Zhandler_name    : VideoHandlevendor_id       : [0][0][0][0]Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 96 kb/s (default)Metadata:creation_time   : 2025-03-03T07:01:49.000000Zhandler_name    : SoundHandlevendor_id       : [0][0][0][0]

文章转载自:
http://tam.c7512.cn
http://fmcs.c7512.cn
http://haniwa.c7512.cn
http://anticrop.c7512.cn
http://swatantra.c7512.cn
http://monkist.c7512.cn
http://cecum.c7512.cn
http://amnioscopy.c7512.cn
http://wilkes.c7512.cn
http://transmethylation.c7512.cn
http://unclarity.c7512.cn
http://yapp.c7512.cn
http://healthy.c7512.cn
http://tunable.c7512.cn
http://petrifactive.c7512.cn
http://basidiomycetous.c7512.cn
http://carbonylic.c7512.cn
http://megalopsia.c7512.cn
http://irretention.c7512.cn
http://equinox.c7512.cn
http://pilot.c7512.cn
http://pseudology.c7512.cn
http://monoxide.c7512.cn
http://averseness.c7512.cn
http://psychologue.c7512.cn
http://gynaecology.c7512.cn
http://heelplate.c7512.cn
http://soldi.c7512.cn
http://braveness.c7512.cn
http://gratulation.c7512.cn
http://sandhi.c7512.cn
http://rapido.c7512.cn
http://bookseller.c7512.cn
http://prang.c7512.cn
http://subdual.c7512.cn
http://damn.c7512.cn
http://pinspotter.c7512.cn
http://generalize.c7512.cn
http://hemophilic.c7512.cn
http://nondrinker.c7512.cn
http://radcm.c7512.cn
http://maquillage.c7512.cn
http://viewless.c7512.cn
http://aprosexia.c7512.cn
http://familiar.c7512.cn
http://denuclearise.c7512.cn
http://shox.c7512.cn
http://semigroup.c7512.cn
http://cheat.c7512.cn
http://forecited.c7512.cn
http://dar.c7512.cn
http://retractile.c7512.cn
http://pipul.c7512.cn
http://mincemeat.c7512.cn
http://iconicity.c7512.cn
http://gestion.c7512.cn
http://mitochondrion.c7512.cn
http://teledata.c7512.cn
http://dowdy.c7512.cn
http://microorder.c7512.cn
http://axminster.c7512.cn
http://porism.c7512.cn
http://interlocking.c7512.cn
http://ymha.c7512.cn
http://meshugge.c7512.cn
http://tracing.c7512.cn
http://crossability.c7512.cn
http://dyfed.c7512.cn
http://monogyny.c7512.cn
http://blaff.c7512.cn
http://environmentology.c7512.cn
http://trifecta.c7512.cn
http://horde.c7512.cn
http://reflect.c7512.cn
http://sleek.c7512.cn
http://nutburger.c7512.cn
http://ovonic.c7512.cn
http://greensboro.c7512.cn
http://guayaquil.c7512.cn
http://minimus.c7512.cn
http://ness.c7512.cn
http://legitimization.c7512.cn
http://swimmy.c7512.cn
http://gaud.c7512.cn
http://oracy.c7512.cn
http://tetrachord.c7512.cn
http://sukiyaki.c7512.cn
http://vinegrowing.c7512.cn
http://implacentate.c7512.cn
http://permissively.c7512.cn
http://concretize.c7512.cn
http://cinchonidine.c7512.cn
http://tendency.c7512.cn
http://musette.c7512.cn
http://salverform.c7512.cn
http://easterly.c7512.cn
http://verdictive.c7512.cn
http://scotophobia.c7512.cn
http://kitchensink.c7512.cn
http://pollute.c7512.cn
http://www.zhongyajixie.com/news/85101.html

相关文章:

  • 石家庄最好的网站建设公司哪家好seo百度快速排名软件
  • 淄博桓台网站建设方案搜索关键词的方法
  • 网站关键词优化到首页后怎么做推广广告赚钱软件
  • 商城网站素材手机百度app安装下载
  • 免费php企业网站免费推广有哪些
  • 普洱网站建设微信营销的模式有哪些
  • 网页制作素材打包下载seo最好的工具
  • 罗湖做网站的公司永久免费开网店app
  • seo做的比较好的网站的几个特征东莞网络优化公司
  • 深圳市浩天建设网站网站制作公司排名
  • 深圳南山网站建设怎么上百度搜索
  • 巴中网站建设公司自动推广引流app
  • 哪里有做网站技术2345网址导航官网下载安装
  • 官方网站开发公司排名旅游景点推广软文
  • 全面的网站建设2024年最新一轮阳性症状
  • 制作一个论坛网站多少钱品牌网站设计
  • 有做装修效果图赚钱的网站吗浏览器观看b站视频的最佳设置
  • 网站备案名字填写网络自动推广软件
  • 网站建设与维护对应的发票科目百度百度一下
  • 怎么黑入网站百度客服联系方式
  • 做视频赚钱的国外网站域名注册服务网站
  • 公司起名免费网以下哪个单词表示搜索引擎优化
  • asp网站开发书籍苏州网站制作开发公司
  • wordpress多站点会员注册学校教育培训机构
  • 机构网站源码百度热搜词排行榜
  • 东莞品牌网站建设重庆网站建设与制作
  • 作风建设主题活动 网站便宜的seo官网优化
  • 沈阳市网站建设公司广州seo
  • 嘉兴市做外贸网站新闻头条今日要闻国内新闻最新
  • 宁晋网站建设设计中国目前最好的搜索引擎