Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Descript/charles/v4.4 #5

Draft
wants to merge 46 commits into
base: add-ffprobe
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
87515ed
Update host for Windows binaries, closes #60
TheLastZombie Sep 12, 2020
a789f3b
upgrade deps & dev deps
derhuerst Sep 16, 2020
5597539
Travis CI: run install script manually 💚
derhuerst Nov 21, 2020
31a2508
download win32-x64 binary from gyan.dev
derhuerst Mar 5, 2021
01200fe
fix linux-{x64,ia32,arm,arm64} binary downloads 💚
derhuerst Mar 5, 2021
79c26e1
fix binary publishing 💚
derhuerst Nov 19, 2020
73d0920
add compressed binaries to GitHub release
derhuerst Nov 19, 2020
47bda66
install script: download gzipped binary ⚡️
derhuerst Nov 19, 2020
135837f
upgrade deps & dev deps
derhuerst Mar 17, 2021
1794103
use 4.3.2 binaries, 4.2.8
derhuerst Mar 17, 2021
47523ee
support FreeBSD x64
derhuerst Apr 1, 2021
251282a
minor tweaks; 4.3.0
derhuerst Apr 1, 2021
e974399
readme.md/package.json: mention @Thefrank's FreeBSD builds
derhuerst Apr 3, 2021
78dd999
support darwin-arm64
emyarod Apr 29, 2021
f09b4b5
build script: pull ffmpeg 4.4 binaries
derhuerst Apr 29, 2021
6433f61
Add win32-ia32 build for 4.4
codetheweb Jun 17, 2021
709c0f1
fix FreeBSD x64 binary download 💚
derhuerst Jun 19, 2021
b52c775
use 4.4 binaries; 4.4
derhuerst Jun 19, 2021
40655c5
fix: upgrade eslint from 7.22.0 to 7.30.0
snyk-bot Aug 1, 2021
36eda5d
Merge pull request #4 from eugeneware/master
cvanwinkle Dec 14, 2021
78ae1c1
Merge remote-tracking branch 'origin/master' into descript/charles/v4.4
cvanwinkle Dec 14, 2021
20b59be
fix version
cvanwinkle Dec 14, 2021
2bda22a
Revert certain files to their upstream version on `master`
cvanwinkle Dec 14, 2021
d40351e
Re-Add ffprobe bits
cvanwinkle Dec 14, 2021
4ab8aa6
Build on arm64
cvanwinkle Dec 14, 2021
eadb9bb
Run on Windows x64
cvanwinkle Dec 14, 2021
e2ad131
Add Descript readme
cvanwinkle Dec 14, 2021
a8b9df8
Merge branch 'descript/charles/v4.4' of github.com:descriptinc/ffmpeg…
cvanwinkle Dec 14, 2021
dbdcd2a
Fix windows ia32 build. The one in the script is outdated and no long…
cvanwinkle Dec 14, 2021
7919e5a
Fix tar commands on macOS for index.sh
cvanwinkle Dec 14, 2021
d2aa079
Bump version
cvanwinkle Dec 14, 2021
fbda064
Comment out ffprobe for darwin arm64 because it doesn't exist at the URL
cvanwinkle Dec 15, 2021
0c4f9ec
Fix bad merge with index.sh and install.js and document modifications…
cvanwinkle Dec 15, 2021
75e4050
b4.4.0-rc.4
cvanwinkle Dec 15, 2021
bd472d8
Fix merge on release-binaries.yml
cvanwinkle Dec 15, 2021
ee09e02
b4.4.0-rc.5
cvanwinkle Dec 15, 2021
be29bb6
Fix a couple of copy/paste errors to better match /add-ffprobe branch
cvanwinkle Dec 15, 2021
9ac473a
b4.4.0-rc.6
cvanwinkle Dec 15, 2021
ea11fa9
Comment out ffprobe-darwin-arm64 as it doesn't exist yet
cvanwinkle Dec 15, 2021
42ab2ef
b4.4.0-rc.7
cvanwinkle Dec 15, 2021
734dafd
Remove commented code from YAML file as it breaks otherwise
cvanwinkle Dec 15, 2021
5dc61b1
b4.4.0-rc.8
cvanwinkle Dec 15, 2021
7015933
Remove a couple more copy/paste errors
cvanwinkle Dec 15, 2021
0bbb9f6
b4.4.0-rc.9
cvanwinkle Dec 15, 2021
4fce852
Fix download
cvanwinkle Dec 15, 2021
29148b1
b4.4.0-rc.11
cvanwinkle Dec 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
242 changes: 210 additions & 32 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,30 @@ jobs:
- name: Download Binaries
run: sh ./build/index.sh

- name: Compress Binaries
run: |
set -e
set -o pipefail
cat bin/ffmpeg-darwin-x64 | gzip --best >bin/ffmpeg-darwin-x64.gz
cat bin/ffmpeg-darwin-arm64 | gzip --best >bin/ffmpeg-darwin-arm64.gz
cat bin/ffmpeg-freebsd-x64 | gzip --best >bin/ffmpeg-freebsd-x64.gz
cat bin/ffmpeg-linux-arm | gzip --best >bin/ffmpeg-linux-arm.gz
cat bin/ffmpeg-linux-arm64 | gzip --best >bin/ffmpeg-linux-arm64.gz
cat bin/ffmpeg-linux-ia32 | gzip --best >bin/ffmpeg-linux-ia32.gz
cat bin/ffmpeg-linux-x64 | gzip --best >bin/ffmpeg-linux-x64.gz
cat bin/ffmpeg-win32-ia32 | gzip --best >bin/ffmpeg-win32-ia32.gz
cat bin/ffmpeg-win32-x64 | gzip --best >bin/ffmpeg-win32-x64.gz
cat bin/ffprobe-darwin-x64 | gzip --best >bin/ffprobe-darwin-x64.gz
cat bin/ffprobe-freebsd-x64 | gzip --best >bin/ffprobe-freebsd-x64.gz
cat bin/ffprobe-linux-arm | gzip --best >bin/ffprobe-linux-arm.gz
cat bin/ffprobe-linux-arm64 | gzip --best >bin/ffprobe-linux-arm64.gz
cat bin/ffprobe-linux-ia32 | gzip --best >bin/ffprobe-linux-ia32.gz
cat bin/ffprobe-linux-x64 | gzip --best >bin/ffprobe-linux-x64.gz
cat bin/ffprobe-win32-ia32 | gzip --best >bin/ffprobe-win32-ia32.gz
cat bin/ffprobe-win32-x64 | gzip --best >bin/ffprobe-win32-x64.gz
ls -l bin
shell: bash

- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -31,14 +55,13 @@ jobs:
asset_path: bin/ffmpeg-darwin-x64
asset_name: ffmpeg-darwin-x64
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-darwin-x64
asset_name: ffprobe-darwin-x64
asset_path: bin/ffmpeg-darwin-x64.gz
asset_name: ffmpeg-darwin-x64.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
Expand All @@ -50,6 +73,49 @@ jobs:
asset_name: darwin-x64.README
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffmpeg-darwin-arm64
asset_name: ffmpeg-darwin-arm64
asset_content_type: application/octet-stream
- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffmpeg-darwin-arm64.gz
asset_name: ffmpeg-darwin-arm64.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/darwin-arm64.README
asset_name: darwin-arm64.README
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffmpeg-freebsd-x64
asset_name: ffmpeg-freebsd-x64
asset_content_type: application/octet-stream
- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffmpeg-freebsd-x64.gz
asset_name: ffmpeg-freebsd-x64.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -58,14 +124,13 @@ jobs:
asset_path: bin/ffmpeg-linux-arm
asset_name: ffmpeg-linux-arm
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-arm
asset_name: ffprobe-linux-arm
asset_path: bin/ffmpeg-linux-arm.gz
asset_name: ffmpeg-linux-arm.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
Expand Down Expand Up @@ -94,14 +159,13 @@ jobs:
asset_path: bin/ffmpeg-linux-arm64
asset_name: ffmpeg-linux-arm64
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-arm64
asset_name: ffprobe-linux-arm64
asset_path: bin/ffmpeg-linux-arm64.gz
asset_name: ffmpeg-linux-arm64.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
Expand Down Expand Up @@ -130,14 +194,13 @@ jobs:
asset_path: bin/ffmpeg-linux-ia32
asset_name: ffmpeg-linux-ia32
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-ia32
asset_name: ffprobe-linux-ia32
asset_path: bin/ffmpeg-linux-ia32.gz
asset_name: ffmpeg-linux-ia32.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
Expand Down Expand Up @@ -166,14 +229,13 @@ jobs:
asset_path: bin/ffmpeg-linux-x64
asset_name: ffmpeg-linux-x64
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-x64
asset_name: ffprobe-linux-x64
asset_path: bin/ffmpeg-linux-x64.gz
asset_name: ffmpeg-linux-x64.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
Expand Down Expand Up @@ -202,66 +264,182 @@ jobs:
asset_path: bin/ffmpeg-win32-ia32
asset_name: ffmpeg-win32-ia32
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-win32-ia32
asset_name: ffprobe-win32-ia32
asset_path: bin/ffmpeg-win32-ia32.gz
asset_name: ffmpeg-win32-ia32.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/win32-ia32.README
asset_name: win32-ia32.README
asset_path: bin/win32-ia32.LICENSE
asset_name: win32-ia32.LICENSE
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/win32-ia32.LICENSE
asset_name: win32-ia32.LICENSE
asset_path: bin/ffmpeg-win32-x64
asset_name: ffmpeg-win32-x64
asset_content_type: application/octet-stream
- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffmpeg-win32-x64.gz
asset_name: ffmpeg-win32-x64.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/win32-x64.LICENSE
asset_name: win32-x64.LICENSE
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffmpeg-win32-x64
asset_name: ffmpeg-win32-x64
asset_path: bin/ffprobe-darwin-x64
asset_name: ffprobe-darwin-x64
asset_content_type: application/octet-stream
- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-darwin-x64.gz
asset_name: ffprobe-darwin-x64.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-win32-x64
asset_name: ffprobe-win32-x64
asset_path: bin/ffprobe-freebsd-x64
asset_name: ffprobe-freebsd-x64
asset_content_type: application/octet-stream
- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-freebsd-x64.gz
asset_name: ffprobe-freebsd-x64.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/win32-x64.README
asset_name: win32-x64.README
asset_content_type: text/plain
asset_path: bin/ffprobe-linux-arm
asset_name: ffprobe-linux-arm
asset_content_type: application/octet-stream
- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-arm.gz
asset_name: ffprobe-linux-arm.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/win32-x64.LICENSE
asset_name: win32-x64.LICENSE
asset_content_type: text/plain
asset_path: bin/ffprobe-linux-arm64
asset_name: ffprobe-linux-arm64
asset_content_type: application/octet-stream
- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-arm64.gz
asset_name: ffprobe-linux-arm64.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-ia32
asset_name: ffprobe-linux-ia32
asset_content_type: application/octet-stream
- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-ia32.gz
asset_name: ffprobe-linux-ia32.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-x64
asset_name: ffprobe-linux-x64
asset_content_type: application/octet-stream
- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-x64.gz
asset_name: ffprobe-linux-x64.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-win32-ia32
asset_name: ffprobe-win32-ia32
asset_content_type: application/octet-stream
- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-win32-ia32.gz
asset_name: ffprobe-win32-ia32.gz
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-win32-x64
asset_name: ffprobe-win32-x64
asset_content_type: application/octet-stream
- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-win32-x64.gz
asset_name: ffprobe-win32-x64.gz
asset_content_type: application/octet-stream
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ bin/*
/ffmpeg.exe
/ffmpeg.README
/ffmpeg.LICENSE

# Added by Descript
/ffprobe
/ffprobe.exe
/ffprobe.README
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ addons:
- unzip
- tar
script:
- npm run install
- npm test
- 'file=$(npm pack -s) && file=$(realpath $file)'
- 'cd $(mktemp -d) && npm init -y'
Expand Down
Loading