diff --git a/README.md b/README.md index 6438d89..b75d471 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # ffmpeg-static -**[ffmpeg](https://ffmpeg.org) static binaries for Mac OSX, Linux, Windows and FreeBSD.** +**[ffmpeg](https://ffmpeg.org) static binaries for Mac OSX, Linux, Windows.** -Supports macOS (64-bit and arm64), Linux (32 and 64-bit, armhf, arm64), Windows (32 and 64-bit) and FreeBSD (64-bit). [The ffmpeg version currently used is `4.4.1`.](https://github.com/eugeneware/ffmpeg-static/releases/tag/b4.4.1) +Supports macOS (64-bit and arm64), Linux (32 and 64-bit, armhf, arm64), Windows (32 and 64-bit). [The ffmpeg version currently used is `4.4.1`.](https://github.com/eugeneware/ffmpeg-static/releases/tag/b4.4.1) [![npm version](https://img.shields.io/npm/v/ffmpeg-static.svg)](https://www.npmjs.com/package/ffmpeg-static) ![minimum Node.js version](https://img.shields.io/node/v/ffmpeg-static.svg) @@ -44,11 +44,10 @@ Check the [example script](example.js) for a more thorough example. [The build script](build/index.sh) downloads binaries from these locations: -- [Windows x64 builds](https://github.com/ShareX/FFmpeg/) +- [Windows x64 builds](https://www.gyan.dev/ffmpeg/builds/) - [Windows x86 builds](https://github.com/sudo-nautilus/FFmpeg-Builds-Win32/) -- [Linux builds](https://johnvansickle.com/ffmpeg/) -- macOS builds [for Intel](https://evermeet.cx/pub/ffmpeg/) / [for ARM (Apple Silicon)](https://osxexperts.net/) -- [FreeBSD builds](https://github.com/Thefrank/ffmpeg-static-freebsd/releases) +- [Linux x64/x86/ARM/ARM64 builds](https://johnvansickle.com/ffmpeg/) +- macOS [x64 (Intel)](https://evermeet.cx/pub/ffmpeg/) & [ARM64 (Apple Silicon)](https://osxexperts.net/) builds The build script extracts build information and (when possible) the license file from the downloaded package or the distribution server. Please consult the individual build's project site for exact source versions, which you can locate based on the version information included in the README file. @@ -56,7 +55,6 @@ The build script extracts build information and (when possible) the license file This npm package includes statically linked binaries that are produced by the following individuals. Please consider supporting and donating to them who have been providing quality binary builds for many years: -- **Windows builds**: [Jaex](https://getsharex.com/donate/) - **Linux builds**: [John Van Sickle](https://www.johnvansickle.com/ffmpeg/) - **macOS builds**: [Helmut K. C. Tessarek](https://evermeet.cx/ffmpeg/#donations) diff --git a/build/index.sh b/build/index.sh index 08605e4..71a5858 100755 --- a/build/index.sh +++ b/build/index.sh @@ -29,7 +29,7 @@ mv "$tmpdir/README.txt" ../bin/win32-x64.README echo 'windows ia32' echo ' downloading from github.com' -download 'https://github.com/sudo-nautilus/FFmpeg-Builds-Win32/releases/download/autobuild-2021-12-28-12-53/ffmpeg-n4.4.1-2-gcc33e73618-win32-gpl-4.4.zip' win32-ia32.zip +download 'https://github.com/sudo-nautilus/FFmpeg-Builds-Win32/releases/download/latest/ffmpeg-n5.0-latest-win32-gpl-5.0.zip' win32-ia32.zip echo ' extracting' unzip -o -d ../bin -j win32-ia32.zip '*/bin/ffmpeg.exe' mv ../bin/ffmpeg.exe ../bin/win32-ia32 @@ -82,14 +82,15 @@ curl -s -L 'https://evermeet.cx/ffmpeg/info/ffmpeg/release' | jq --tab '.' >../b echo 'darwin arm64' echo ' downloading from osxexperts.net' -download 'https://www.osxexperts.net/FFmpeg441ARM.zip' darwin-arm64.zip +download 'https://www.osxexperts.net/FFmpegARM.zip' darwin-arm64.zip echo ' extracting' unzip -o -d ../bin -j darwin-arm64.zip ffmpeg mv ../bin/ffmpeg ../bin/darwin-arm64 curl -s -L 'https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/HEAD:/LICENSE.md' -o ../bin/darwin-arm64.LICENSE curl -s -L 'https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/HEAD:/README.md' -o ../bin/darwin-arm64.README -echo 'freebsd x64' -echo ' downloading from github.com/Thefrank/ffmpeg-static-freebsd' -download 'https://github.com/Thefrank/ffmpeg-static-freebsd/releases/download/v4.4.1/ffmpeg' ../bin/freebsd-x64 -chmod +x ../bin/freebsd-x64 +# todo: add FreeBSD again +# echo 'freebsd x64' +# echo ' downloading from github.com/Thefrank/ffmpeg-static-freebsd' +# download 'https://github.com/Thefrank/ffmpeg-static-freebsd/releases/download/v5.0.0/ffmpeg' ../bin/freebsd-x64 +# chmod +x ../bin/freebsd-x64