0fc62bfcd6
On the scrcpy-deps repo, I built FFmpeg 5.1.2 binaries for Windows with only the features used by scrcpy. For comparison, here are the sizes of the dll for FFmpeg 5.1.2: - before: 89M - after: 4.7M It also allows to upgrade the old FFmpeg version (4.3.1) used for win32. Refs <https://github.com/rom1v/scrcpy-deps> Refs <https://github.com/Genymobile/scrcpy/issues/1753>
21 lines
521 B
Text
21 lines
521 B
Text
# apt install mingw-w64 mingw-w64-tools
|
|
|
|
[binaries]
|
|
name = 'mingw'
|
|
c = 'x86_64-w64-mingw32-gcc'
|
|
cpp = 'x86_64-w64-mingw32-g++'
|
|
ar = 'x86_64-w64-mingw32-ar'
|
|
strip = 'x86_64-w64-mingw32-strip'
|
|
pkgconfig = 'x86_64-w64-mingw32-pkg-config'
|
|
windres = 'x86_64-w64-mingw32-windres'
|
|
|
|
[host_machine]
|
|
system = 'windows'
|
|
cpu_family = 'x86'
|
|
cpu = 'x86_64'
|
|
endian = 'little'
|
|
|
|
[properties]
|
|
prebuilt_ffmpeg = 'ffmpeg-5.1.2-scrcpy/win64'
|
|
prebuilt_sdl2 = 'SDL2-2.26.1/x86_64-w64-mingw32'
|
|
prebuilt_libusb = 'libusb-1.0.26/libusb-MinGW-x64'
|