Skip to content

Commit

Permalink
Build FFmpeg 7.0 (#15)
Browse files Browse the repository at this point in the history
* Build FFmpeg 7.0

* Use bz2

* Use gz

* Try to handle redirect

* Try to fix mac build
  • Loading branch information
lalinsky committed Apr 11, 2024
1 parent a8fa3e4 commit b12c8c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source common.sh

if [ ! -e $FFMPEG_TARBALL ]
then
curl -O $FFMPEG_TARBALL_URL
curl -s -L -O $FFMPEG_TARBALL_URL
fi

: ${TARGET?}
Expand Down
7 changes: 4 additions & 3 deletions common.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

FFMPEG_VERSION=5.1.2
FFMPEG_TARBALL=ffmpeg-$FFMPEG_VERSION.tar.bz2
FFMPEG_VERSION=7.0
FFMPEG_TARBALL=ffmpeg-$FFMPEG_VERSION.tar.gz
FFMPEG_TARBALL_URL=http://ffmpeg.org/releases/$FFMPEG_TARBALL

FFMPEG_CONFIGURE_FLAGS=(
Expand All @@ -14,15 +14,16 @@ FFMPEG_CONFIGURE_FLAGS=(
--disable-avdevice
--disable-swscale
--disable-programs
--enable-rdft
--enable-ffmpeg
--enable-ffprobe
--disable-network
--disable-muxers
--disable-demuxers
--disable-zlib
--disable-lzma
--disable-bzlib
--disable-iconv
--disable-libxcb
--disable-bsfs
--disable-filters
--disable-parsers
Expand Down

0 comments on commit b12c8c9

Please sign in to comment.