diff --git a/build-win32.sh b/build-win32.sh new file mode 100644 index 0000000..a2cb2ac --- /dev/null +++ b/build-win32.sh @@ -0,0 +1,3 @@ +TOOLCHAIN=i686-w64-mingw32 + +FFMPEG_OS=win32 FFMPEG_MSBUILD=1 OPENH264_ARCH=i686 OPENH264_OS=msvc CC=cl CXX=cl AR=lib bash build.sh --arch i686 diff --git a/scripts/build-ffmpeg.sh b/scripts/build-ffmpeg.sh index 398a05d..aac2e02 100644 --- a/scripts/build-ffmpeg.sh +++ b/scripts/build-ffmpeg.sh @@ -1,6 +1,6 @@ export ffmpegPath=$workDir/ffmpeg -git clone https://github.com/FFmpeg/FFmpeg $ffmpegPath --depth 1 +git clone https://github.com/FFmpeg/FFmpeg -b release/6.0 $ffmpegPath --depth 1 cd $ffmpegPath