Since scrcpy 2.4, this separate project scrcpy-deps is not used anymore. See
scrcpy/#4713.
This project hosts a script to generate a minimal FFmpeg Windows build for scrcpy.
The script is intended to be executed on Linux (typically Debian), with
mingw-w64 installed.
The packages libz-mingw-w64 and libz-mingw-w64-dev (necessary for zlib) must
be installed.
First, clone the official FFmpeg project anywhere:
git clone git://source.ffmpeg.org/ffmpeg.git
Checkout the expected version.
Then, from this scrcpy-deps repo, run:
./build_ffmpeg_windows.sh <ffmpeg_directory>