TqkLibrary.FFmpeg.Lgpl3.Tools.Android.x64
9.0.2
dotnet add package TqkLibrary.FFmpeg.Lgpl3.Tools.Android.x64 --version 9.0.2
NuGet\Install-Package TqkLibrary.FFmpeg.Lgpl3.Tools.Android.x64 -Version 9.0.2
<PackageReference Include="TqkLibrary.FFmpeg.Lgpl3.Tools.Android.x64" Version="9.0.2" />
<PackageVersion Include="TqkLibrary.FFmpeg.Lgpl3.Tools.Android.x64" Version="9.0.2" />
<PackageReference Include="TqkLibrary.FFmpeg.Lgpl3.Tools.Android.x64" />
paket add TqkLibrary.FFmpeg.Lgpl3.Tools.Android.x64 --version 9.0.2
#r "nuget: TqkLibrary.FFmpeg.Lgpl3.Tools.Android.x64, 9.0.2"
#:package TqkLibrary.FFmpeg.Lgpl3.Tools.Android.x64@9.0.2
#addin nuget:?package=TqkLibrary.FFmpeg.Lgpl3.Tools.Android.x64&version=9.0.2
#tool nuget:?package=TqkLibrary.FFmpeg.Lgpl3.Tools.Android.x64&version=9.0.2
TqkLibrary.FFmpeg.Lgpl3 — Android x86_64
FFmpeg 9.0.2 shared build · Android x86_64 (android-x64) · LGPL-3.0-or-later
Upstream build tag: ffmpeg-n9.0-2-g03d9533176-android-x86_64-lgpl-shared-full
Built with the Android NDK (API 21), 16 KB page-size aligned for Android 15+: compiled and linked with r26d (-Wl,-z,max-page-size=16384), while libc++_shared.so is bundled from r27d because r26d's prebuilt copy is only 4 KB-aligned. This FFmpeg build is published as two NuGet packages:
| Package | Contents |
|---|---|
TqkLibrary.FFmpeg.Lgpl3.Native.Android.x64 |
Shared libraries: avcodec, avdevice, avfilter, avformat, avutil, swresample, swscale + the NDK C++ runtime libc++_shared.so + C headers |
TqkLibrary.FFmpeg.Lgpl3.Tools.Android.x64 |
Command-line executables: ffmpeg, ffprobe; depends on TqkLibrary.FFmpeg.Lgpl3.Native.Android.x64 |
How the binaries are delivered
All binaries ship under runtimes/android-x64/native/.
- .NET for Android (MAUI / Xamarin.Android) projects resolve the
.sofiles automatically when the target ABI matchesx86_64; they are bundled into the APK/AABlib/x86_64/folder and loadable via[DllImport]/dlopen. - C++ (MSBuild,
ApplicationType=Android) projects (Native package): thebuild/nativetargets addinclude/to the compiler include path. Link against the.soinruntimes/.
ABI matrix
Pick the sibling package that matches your target:
TqkLibrary.FFmpeg.{Gpl3|Lgpl3|Gpl2|Lgpl2}.{Native|Tools}.Android.{arm64|x64}
arm64= ABIarm64-v8a,x64= ABIx86_64. (32-bitarmeabi-v7a/x86are not built.)- License:
Gpl3/Lgpl3= built with--enable-version3(GPL-3.0 / LGPL-3.0);Gpl2/Lgpl2= GPL-2.0 / LGPL-2.1.
Tools package caveat (executables only, shell use)
This package ships only ffmpeg and ffprobe; the shared libraries they link against come from TqkLibrary.FFmpeg.Lgpl3.Native.Android.x64 and are deliberately not duplicated here. Run them with LD_LIBRARY_PATH pointing at that package's .so files (libc++_shared.so included):
adb push ffmpeg ffprobe lib*.so /data/local/tmp/ff/
adb shell chmod +x /data/local/tmp/ff/ffmpeg /data/local/tmp/ff/ffprobe
adb shell "LD_LIBRARY_PATH=/data/local/tmp/ff /data/local/tmp/ff/ffmpeg -version"
That covers the intended uses: development / CI over adb, a shell app such as Termux, or a rooted device. Note /sdcard is mounted noexec, so the binaries must live somewhere like /data/local/tmp.
They are not runnable from inside an installed app: the executables keep their plain names, and Android only executes binaries from the app's native library directory — which requires a lib*.so name plus android:extractNativeLibs="true" — while API 29+ forbids exec from the app's own writable directories.
For normal in-app media processing, call the shared libraries from TqkLibrary.FFmpeg.Lgpl3.Native.Android.x64 directly (P/Invoke) instead of shelling out to these executables.
License
This package is LGPL-3.0-or-later. FFmpeg is free software and redistributing these binaries carries that license's obligations — in particular, linking your application against a GPL build places your application under the GPL. Use an Lgpl* variant if you need to keep your application under a different license.
See docs/LICENSE.txt in the package for the full license text.
Source
- Packaging & build scripts: https://github.com/tqk2811/FFmpegBuild
- Prebuilt binaries: https://github.com/tqk2811/FFmpegBuild/releases
Learn more about Target Frameworks and .NET Standard.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.