Skip to content

Commit

Permalink
feat: bump FFmpeg to 6.1.1 (#21)
Browse files Browse the repository at this point in the history
The download link is expected to be valid for two years.
  • Loading branch information
protyposis authored Jan 26, 2024
1 parent 3c67395 commit b6ccac2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions install-deps.ps1
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
$version = "ffmpeg-n6.0-latest-win64-lgpl-shared-6.0"
$release = "autobuild-2023-12-31-12-55"
$version = "ffmpeg-n6.1.1-win64-lgpl-shared-6.1"
$localname = "win64"
$archive = "$version.zip"
$dest = ".\libs\ffmpeg"

$ProgressPreference = 'SilentlyContinue' # https://stackoverflow.com/q/28682642
Invoke-WebRequest https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/$archive -OutFile $archive
Invoke-WebRequest https://github.com/BtbN/FFmpeg-Builds/releases/download/$release/$archive -OutFile $archive

Expand-Archive .\$archive -DestinationPath $dest

Expand Down
5 changes: 3 additions & 2 deletions install-deps.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/bash
VERSION=ffmpeg-n6.0-latest-linux64-lgpl-shared-6.0
RELEASE=autobuild-2023-12-31-12-55
VERSION=ffmpeg-n6.1.1-linux64-lgpl-shared-6.1
LOCALNAME=linux64
ARCHIVE=$VERSION.tar.xz
DEST=./libs/ffmpeg

wget -O $ARCHIVE https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/$ARCHIVE && \
wget -O $ARCHIVE https://github.com/BtbN/FFmpeg-Builds/releases/download/$RELEASE/$ARCHIVE && \
tar xf $ARCHIVE -C $DEST && \
rm $ARCHIVE && \
rm -rf $DEST/$LOCALNAME && \
Expand Down

0 comments on commit b6ccac2

Please sign in to comment.