Note: The version of FFmpeg shipped with EIRTeam.FFmpeg allows loading of videos using the patent-encumbered h264 codec, check with your local laws to see if software patents are recognized in your country.
GDExtension Video Decoder library for Godot Engine >4.1, using the FFmpeg library.
Currently building ffmpeg from source is supported on Linux and macOS hosts. And ffmpeg libraries for Android can be cross compiled on both hosts. Follow these steps:
- run
git submodule update --init
to fetch ffmpeg-kit sources. - run
make bootstrap
to install building tools. - run
make gdextension PLATFORM=linux
for Linux. - run
make gdextension PLATFORM=macos
for macOS. - run
make gdextension PLATFORM=android
for Android with default archarm64-v8a
. - run
make gdextension PLATFORM=android TARGET_ARCH=arm-v7a
for Android with archarm-v7a
.
The official documentation can be found here.
You can also support EIRTeam by donating on Patreon or purchasing Project Heartbeat.