Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Xamarin binding library around @tanersener's Mobile-FFmpeg library. The native Android library is located here: https://github.com/tanersener/mobile-ffmpeg

License

Notifications You must be signed in to change notification settings

Laerdal/Laerdal.FFmpeg.Android

Repository files navigation

Laerdal.FFmpeg.Android

Xamarin.iOS package : https://github.com/Laerdal/Laerdal.FFmpeg.iOS

Xamarin.Forms package : https://github.com/Laerdal/Laerdal.FFmpeg

Xamarin binding library around @tanersener's Mobile-FFmpeg library.

The native Android library can be found here: https://github.com/tanersener/mobile-ffmpeg

Mobile FFmpeg Package Laerdal.FFmpeg.Android
Audio NuGet Badge
Full NuGet Badge
Full.Gpl NuGet Badge
Https NuGet Badge
Https.Gpl NuGet Badge
Min NuGet Badge
Min.Gpl NuGet Badge
Video NuGet Badge

External libraries

Package External libraries
Audio lame libilbc libvorbis opencore-amr opus shine soxr speex twolame vo-amrwbenc wavpack
Full fontconfig freetype fribidi gmp gnutls kvazaar lame libaom libass libiconv libilbc libtheora libvorbis libvpx libwebp libxml2 opencore-amr opus shine snappy soxr speex twolame vo-amrwbenc wavpack
Full.Gpl fontconfig freetype fribidi gmp gnutls kvazaar lame libaom libass libiconv libilbc libtheora libvorbis libvpx libwebp libxml2 opencore-amr opus shine snappy soxr speex twolame vid.stab vo-amrwbenc wavpack x264 x265 xvidcore
Https gmp gnutls
Https.Gpl gmp gnutls vid.stab x264 x265 xvidcore
Min -
Min.Gpl vid.stab x264 x265 xvidcore
Video fontconfig freetype fribidi kvazaar libaom libass libiconv libtheora libvpx libwebp snappy

Folder structure

  • Laerdal.FFmpeg.Android = Xamarin Java Binding Library project and nuget files
  • Laerdal.FFmpeg.Android.Source = Source files from Github release
  • Laerdal.FFmpeg.Android.Output = Build output from building Laerdal.FFmpeg.Android

Local build

Requirements

You'll need :

  • Windows or Mac
    • with gradle
    • with Xamarin.Android (obviously)

Steps to build

1) Checkout

git clone https://github.com/Laerdal/Laerdal.FFmpeg.Android.git

2) Run build script

Usage:

./build.sh [-p|--package [audio|full|full-gpl|https|https-gpl|min|min-gpl|video]] [-r|--revision build_revision] [-c|--clean-output] [-v|--verbose]

Parameters:

  • -p | --package [audio|full|full-gpl|https|https-gpl|min|min-gpl|video]
  • -r | --revision [build_revision]
    • Sets the revision number, default = mdd.hMMSS
  • -c | --clean-output
    • Cleans the output before building
  • -v | --verbose
    • Enable verbose build details from msbuild tasks
  • -h | --help
    • Prints this message

To build only full and full-gpl, clean the output and run objective sharpie to update the ApiDefinitions :

./build.sh -p full -p full-gpl -c -s

To build everything :

./build.sh

Other scripts

  • ./download.sh
    • Downloads all the Github release files that would be needed in build.

About

Xamarin binding library around @tanersener's Mobile-FFmpeg library. The native Android library is located here: https://github.com/tanersener/mobile-ffmpeg

Topics

Resources

License

Stars

Watchers

Forks