PLAY'A — corresponding source for the FFmpeg libraries it ships
====================================================================

PLAY'A uses libraries from the FFmpeg project under the LGPLv2.1.
FFmpeg is included as separate, dynamically linked libraries
(avcodec, avformat, avfilter, avutil, swresample, swscale).

This archive
------------
ffmpeg-n7.1.4/                  FFmpeg source tree, tag n7.1.4, commit
                         9abe92e3af7fa7becc8f7f742b1457b4c28220a6,
                         unmodified, file for file the same as
                         https://github.com/FFmpeg/FFmpeg/archive/9abe92e3af7fa7becc8f7f742b1457b4c28220a6.tar.gz
ffmpeg-n7.1.4/CONFIGURE.txt     exact configure line of every shipped platform build
ffmpeg-n7.1.4/changes.diff      the only modification (see below)
ffmpeg-n7.1.4/playa-build/      the scripts that produced the shipped binaries
ffmpeg-n7.1.4/PLAYA-README.txt  this file

Modifications
-------------
The FFmpeg source code is not modified on any platform.

The Android build additionally edits ffbuild/config.mak, a file generated by
./configure, after configure has run, so that the libraries are named
libavcodec.so etc. without a version suffix (required by Android packaging).
changes.diff is that edit as a patch against the generated file; the build
script applies it with sed (playa-build/android/build_ffmpeg_android.sh,
"flatten SONAMEs"). The Windows and Apple builds change nothing.

Rebuilding
----------
Windows x64   playa-build/windows/build.cmd (Docker, mingw-w64 cross build,
              static zlib 1.3.1 built from source inside the image)
Android       playa-build/android/build_ffmpeg_android.sh (Docker image from
              playa-build/android/Dockerfile, NDK r27c, API 26)
iOS / macOS   playa-build/ios/build_ffmpeg_ios.sh (Xcode; PM_APPLE_SDK=macosx
              for macOS)

The scripts clone the same tag (n7.1.4) from GitHub; set FFMPEG_REF or point
them at this tree to build offline.

zlib
----
The Windows FFmpeg DLLs contain zlib 1.3.1, statically linked, under the zlib
license. Its unmodified source is provided alongside as zlib-1.3.1.tar.gz
(https://github.com/madler/zlib/archive/refs/tags/v1.3.1.tar.gz).

Licenses
--------
FFmpeg:  ffmpeg-n7.1.4/COPYING.LGPLv2.1 and ffmpeg-n7.1.4/LICENSE.md
zlib:    LICENSE inside zlib-1.3.1.tar.gz
