FFmpeg (external program — NOT bundled)

Flash Replay bundles NO FFmpeg: this jar contains no FFmpeg binaries, no FFmpeg
source, and no JavaCV/JavaCPP (org.bytedeco) Java bindings or JNI native
libraries. Video export and audio import are performed by invoking a separate,
standalone `ffmpeg` executable as an external process (mere aggregation — a
separate program communicated with over the command line and pipes, not a linked
library; FFmpeg's license obligations attach to the separate executable, not to
this mod).

The `ffmpeg` program is resolved at runtime, in order, from:
  1. a path the user configures in the mod settings;
  2. a system / PATH `ffmpeg`;
  3. `<gameDir>/ffmpeg/ffmpeg[.exe]`;
  4. a per-platform static build downloaded once (SHA-256-verified) from the
     project's public release `ffmpeg-cli-7.1` on
     https://github.com/lordbanana89/flash-replay-natives .

The downloaded builds are FFmpeg GPL configurations with libx264/libx265 (run
`ffmpeg -buildconf` to confirm; a pure-LGPL build has no software H.264 encoder,
so on Linux/Windows it cannot encode the default H.264 export — hence GPL):

  - linux-x86_64, linux-arm64, windows-x86_64 — FFmpeg GPL configuration
    (--enable-gpl --enable-libx264 --enable-libx265), produced by BtbN FFmpeg-Builds
    (https://github.com/BtbN/FFmpeg-Builds).

  - macosx-arm64, macosx-x86_64 — FFmpeg GPL v3 configuration
    (--enable-gpl --enable-libx264 --enable-libx265 --enable-version3),
    FFmpeg 8.1.1, produced by https://ffmpeg.martin-riedl.de .

All downloaded binaries are licensed under the GNU GPL (v3 for the macOS builds).
Flash Replay invokes them as a separate program (mere aggregation), so the GPL
attaches to the binary, not to this mod.

COMPLETE CORRESPONDING SOURCE (GPL §3 / GPL v3 §6 written offer, valid for three
years from the date the binaries were published in the release above). The complete
corresponding source for each GPL FFmpeg build is the upstream source of each
component at the version the binary reports (`ffmpeg -buildconf`), plus the
builder's build scripts:
  - FFmpeg:        https://ffmpeg.org/download.html (macOS builds: 8.1.1 at
                   https://ffmpeg.org/releases/ffmpeg-8.1.1.tar.xz)
  - x264:          https://code.videolan.org/videolan/x264
  - x265:          https://bitbucket.org/multicoreware/x265_git
  - Build scripts: BtbN — https://github.com/BtbN/FFmpeg-Builds ;
                   macOS — https://ffmpeg.martin-riedl.de
Requests for the corresponding source on a physical medium may be directed to the
project maintainer via the project's public repository.

FFmpeg is a trademark of Fabrice Bellard, originator of the FFmpeg project.
