RepositoryShellCNChina
WA

wang-bin/avbuild

ffmpeg花式编译. build tool for all platforms: iOS, android, ohos, raspberry pi, win32, uwp, linux, macOS etc.

672stars
143forks
6issues
9views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: windows-phone

#1 Repository of the week

1
TINIX TRENDING·Topic: mingw

#1 Repository of the week

2
TINIX TRENDING·Topic: msvc

#2 Repository of the week

It's a tool to build ffmpeg for almost all platforms.

How: https://github.com/wang-bin/avbuild/wiki

Download prebuilt packages

Totoal Downloads

Lite build of FFmpeg master branch (recommended):

Android, Apple, Linux, VS2022 Desktop, VS2022 UWP, Clang Windows Desktop

FFmpeg releases and others: https://sourceforge.net/projects/avbuild/files

Build Details:

Linux, android, macOS, iOS, raspberry pi(legacy OSes), windows build:Build status github Build Status, CircleCI

Features

  • Support single FFmpeg shared library: ffmpeg.dll, libffmpeg.so, libffmpeg.dylib, FFmpeg.xcframework
  • modern toolchain support: clang+lld, cross build for almost all platforms on any host OS
  • multiple targets build and configure simultaneously
  • ssl
  • enable all gpu decoders and encoders if possible
  • nvidia driver version is not limited(nvcuvid, nvdec, nvenc), supports 8.0~13.0 in 1 binary
  • ffmpeg patches
  • Universal binaries for apple platforms, including apple sillicon support

Build Matrix

CC/H?X/OSLinuxAndroidmacOSiOSRPiWin32WinStoreWinPhone
ClangHCA+HA+CH+C
Clang+LLDHC?A+H+CA+H+C.
MINGW or VCRT120+
A+H+CA+C
GCCHCHH+CH+C
VS2013/15HHC
VS2017+HH
  • A: Apple clang
  • H: host build. Clang is open source clang
  • C: cross build (for example, build win32 from linux/macOS using mingw, build rpi from windows/linux/macOS using gcc and clang)
  • ?: in plan
  • Empty: won't support

Fork and Custom Build by Github Actions

You can request to add your configuration. If not accepted, customize yourself and build by github actions

  • Fork the repo
  • Set actions variables used by workflows in github repo settings
    • FF_VER: master, or version, e.g. 8.0, 6.1
    • LINUX_SYSROOT_ID: any characters, used to update sysroot cache
    • LLVM_VER: llvm version, e.g. 22, used by linux and windows build. Available versions can be found in https://apt.llvm.org
    • VCVER: msvcrt version, e.g. 14.28.29333. used by windows clang build
    • WINSDKVER: windows sdk version, e.g. 10.0.22621.0. used by windows clang build
    • VC_LTL_VER: VC-LTL5 version, e.g. 5.1.1. used by windows build with LTL
  • Edit workflow files(build.yml, build_gpl.yml). Remove unused jobs, e.g. sourceforge upload
  • Download ffmpeg binaries from workflow artifacts

When linking static libs to your program, all dependencies must be specified in your linker flags. The dependencies can be found in https://sourceforge.net/projects/avbuild/files/dep/dep.7z/download

TODO

  • Azure pipeline/github action: vs2022+WSL

Similar Projects

Discover other similar projects and AI models.

RepositoryDart
flutter/flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond

181.5k
Nov 28, 2026
RepositoryGo
FiloSottile/mkcert

A simple zero-config tool to make locally trusted development certificates with any names you'd like.

59.9k
Aug 13, 2024
RepositoryKotlin
team-spotube/spotube

🎧 Open source music streaming app! Available for both desktop & mobile!

51.1k
Dec 1, 2026
RepositoryDart
Predidit/Kazumi

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

45.0k
Nov 29, 2026
RepositoryC
Genymobile/scrcpy

Display and control your Android device

156.4k
Dec 1, 2026
RepositoryRust
sxyazi/yazi

💥 Blazing fast terminal file manager written in Rust, based on async I/O.

43.8k
Dec 1, 2026
RepositoryC
bilibili/ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.

33.2k
Aug 13, 2024
Repository
jlevy/the-art-of-command-line

Master the command line, in one page

162.8k
Jun 25, 2024
RepositoryC++
react/react-native

A framework for building native applications using React

127.0k
Nov 27, 2026