Skip to content

Support: Video

Thibault Deckers edited this page Feb 25, 2025 · 3 revisions

With media_kit

Instructions

You can create your own builds for libmpv + FFmpeg + media_kit by:

  1. Fork https://github.com/media-kit/libmpv-android-video-build & enable GitHub actions.
  2. Modify the FFmpeg configure step, especially --enable-decoder, --enable-demuxer & --enable-parser.
  3. The GitHub actions will compile the project(s) & resulting binaries will be automatically uploaded as release & artifact.
  4. Remove media_kit_libs_android_video from pubspec.yaml.
  5. Bundle your *.jar(s) with your application by modifying build.gradle, something like this.
Clone this wiki locally