From dcb59ed774a6dc316cd0e8f342d48207fcc742b9 Mon Sep 17 00:00:00 2001 From: paring Date: Tue, 23 May 2023 13:32:17 +0900 Subject: [PATCH] feat: win32 build script --- build-win32.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 build-win32.sh diff --git a/build-win32.sh b/build-win32.sh new file mode 100644 index 0000000..ae362b4 --- /dev/null +++ b/build-win32.sh @@ -0,0 +1,4 @@ +export FFBUILD_FLAGS="--enable-ffnvcodec --enable-dxva2 --enable-amf" +export FFBUILD_PLATFORM="win" + +FFMPEG_OS=mingw32 OPENH264_ARCH=i686 OPENH264_OS=mingw_nt CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ AR=i686-w64-mingw32-gcc-ar bash build.sh --arch i686