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

github 工作流自动编译 ffmpeg for windows on arm

github 工作流自动编译 ffmpeg for windows on arm

利用:IsaacShelton/update-existing-release
https://github.com/IsaacShelton/update-existing-release

参考:https://github.com/dvhh/ffmpeg-wos-arm64-build

这个是我修改的仓库,需要的朋友自取:
https://github.com/wmx-github/ffmpeg-wos-arm64-build

使用:
1 先创建一个release 和tag
我这里release是 v6.1 tag是v6.1

2 把库文件都打包在一起

修改:

name: Buildon:push:workflow_dispatch:schedule:- cron: 0 0 * * 1jobs:build:# The type of runner that the job will run onruns-on: ubuntu-latestcontainer:image: mstorsjo/llvm-mingw:20230614steps:- uses: actions/checkout@v3with:repository: libsdl-org/SDLpath: sdlref: SDL2- name: build-sdlrun: |echo ${{ github.workspace }}mkdir -p ${{ github.workspace }}/localmkdir buildcd build../sdl/configure --host=aarch64-w64-mingw32 --prefix=${{ github.workspace }}/localmake -j16make install- name: build x264run: |git clone --depth=1 https://code.videolan.org/videolan/x264.git x264cd x264export PKG_CONFIG_LIBDIR=${{ github.workspace }}/local/lib/pkgconfig./configure --host=aarch64-w64-mingw32 --prefix=${{ github.workspace }}/local --enable-pic --extra-cflags="-mfpu=neon" --cross-prefix=aarch64-w64-mingw32- --enable-shared --enable-staticmake -j16make install- uses: actions/checkout@v3 - uses: actions/checkout@v3 with:repository: FFmpeg/FFmpegpath: ffmpegref: release/6.1- name: build ffmpegrun: |# /opt/llvm-mingw/aarch64-w64-mingw32/# ln -s ${{ github.workspace }}/local/bin/sdl2-config ${{ github.workspace }}/local/bin/aarch64-w64-mingw32-sdl2-config# chmod +x ${{ github.workspace }}/local/bin/sdl2-config ${{ github.workspace }}/local/bin/aarch64-w64-mingw32-sdl2-config# export PATH=$PATH:${{ github.workspace }}/local/bin# do not work check : https://trac.ffmpeg.org/wiki/HWAccelIntro#DXVA2# might need more than that# curl https://download.videolan.org/pub/contrib/dxva2api.h -o /opt/llvm-mingw/aarch64-w64-mingw32/include/dxva2api.hcd ffmpegexport PKG_CONFIG_LIBDIR=${{ github.workspace }}/local/lib/pkgconfig./configure --pkg-config=/usr/bin/x86_64-pc-linux-gnu-pkg-config --pkgconfigdir=${{ github.workspace }}/local/lib/pkgconfig --cross-prefix=aarch64-w64-mingw32- --arch=arm64 --target-os=mingw32 --enable-sdl --disable-doc --prefix=${{ github.workspace }}/local --disable-static --enable-shared --enable-libx264 --enable-gpl --enable-nonfreemake -j16make install- name: archiverun: |mkdir outputreadlink -f outputcp -r ${{ github.workspace }}/local  output# tar cfz all.tar.gz ${{ github.workspace }}/local/bincd outputzip -r -D ../ffmpeg-wos-arm64.zip .- name: Update existing releaseuses: IsaacShelton/update-existing-release@v1.3.4with:token: ${{secrets.GITHUB_TOKEN}}release: "v6.1"tag: "v6.1"replace: truefiles: >ffmpeg-wos-arm64.zip

相关文章:

  • 北京网站建设多少钱?
  • 辽宁网页制作哪家好_网站建设
  • 高端品牌网站建设_汉中网站制作
  • Python中的属性装饰器:解锁更优雅的编程之道
  • 数据结构--经典排序之选择排序(超详细!!)
  • 八、Maven总结
  • 从零开始,认识游戏设计师(4)体验源于设计师②
  • ✨机器学习笔记(一)—— 监督学习和无监督学习
  • Window下编译OpenJDK17
  • STM32CUBEIDE FreeRTOS操作教程(四):timer软件定时器
  • 代码随想录 -- 二叉树 -- 平衡二叉树
  • 类和对象的定义和调用演示(C++)
  • 项目——负载均衡OJ
  • 【Qt开发】QT6.5.3安装方法(使用国内源)亲测可行!!!
  • Prometheus与Grafana入门:从安装到基础监控的完整指南
  • 海信发布以旧换新举措,补贴力度、补贴链路、服务体验全面升级
  • 通过用例演示如何反向截取QString对象的子串
  • Python 算法交易实验88 QTV200日常推进-关于继续前进的思考
  • 【跃迁之路】【735天】程序员高效学习方法论探索系列(实验阶段492-2019.2.25)...
  • angular2 简述
  • CentOS7 安装JDK
  • django开发-定时任务的使用
  • Git 使用集
  • nodejs:开发并发布一个nodejs包
  • Swift 中的尾递归和蹦床
  • Vue小说阅读器(仿追书神器)
  • 二维平面内的碰撞检测【一】
  • 官方解决所有 npm 全局安装权限问题
  • 简单基于spring的redis配置(单机和集群模式)
  • 如何借助 NoSQL 提高 JPA 应用性能
  • 详解移动APP与web APP的区别
  • 小程序上传图片到七牛云(支持多张上传,预览,删除)
  • 协程
  • 要让cordova项目适配iphoneX + ios11.4,总共要几步?三步
  • 白色的风信子
  • scrapy中间件源码分析及常用中间件大全
  • ​LeetCode解法汇总2304. 网格中的最小路径代价
  • ​比特币大跌的 2 个原因
  • ​字​节​一​面​
  • # Redis 入门到精通(一)数据类型(4)
  • (13)Hive调优——动态分区导致的小文件问题
  • (8)Linux使用C语言读取proc/stat等cpu使用数据
  • (八)Docker网络跨主机通讯vxlan和vlan
  • (二)什么是Vite——Vite 和 Webpack 区别(冷启动)
  • (附源码)php投票系统 毕业设计 121500
  • (四)汇编语言——简单程序
  • (算法)硬币问题
  • (五十)第 7 章 图(有向图的十字链表存储)
  • (转)winform之ListView
  • .NET CORE 2.0发布后没有 VIEWS视图页面文件
  • .net 打包工具_pyinstaller打包的exe太大?你需要站在巨人的肩膀上-VC++才是王道
  • //解决validator验证插件多个name相同只验证第一的问题
  • @Controller和@RestController的区别?
  • @SpringBootConfiguration重复加载报错
  • [ C++ ] STL_vector -- 迭代器失效问题
  • [20171102]视图v$session中process字段含义
  • [BZOJ 3680]吊打XXX(模拟退火)
  • [C/C++入门][字符与ASCII码]6、用代码来转换字符与它的ASCII码