Slim bindings for FFmpegKit
FFmpegKitSlim.FFmpegKitHelper.Execute(string arguments)
FFmpegKitSlim.FFmpegKitHelper.Execute(string[] arguments)-
Download ffmpeg-kit*.aar from https://github.com/tanersener/ffmpeg-kit/releases or build it (see
Build ffmpeg-kit using WSL.md). -
Rename file to
ffmpeg-kit.aarand copy to android module\FFmpegKitSlim\android\XamarinBindings\ffmpeg-kitand .net project\FFmpegKitSlim\FFmpegKitSlim -
In Android Studio build ffmpegkitslim module - run 'XamarinBindings:ffmpegkitslim [assemble]' (Ctrl+F5)
-
Copy
ffmpegkitslim-release.aarfile from\FFmpegKitSlim\android\XamarinBindings\ffmpegkitslim\build\outputs\aarto\FFmpegKitSlim\FFmpegKitSlim -
In Visual Studio build FFmpegKitSlim project. By default nuget package is created only in Release mode and is added to local nuget repository. You can change it in
FFmpegKitSlim.csproj
<PropertyGroup Condition=" '$(Configuration)'=='Release' ">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<Target Name="NugetAdd" AfterTargets="Pack">
<exec command="nuget add $(SolutionDir)nupkg\$(PackageId).$(PackageVersion).nupkg -source C:\Source\NugetRepo" />
</Target>