Skip to content

Commit b12c8c9

Browse files
authored
Build FFmpeg 7.0 (#15)
* Build FFmpeg 7.0 * Use bz2 * Use gz * Try to handle redirect * Try to fix mac build
1 parent a8fa3e4 commit b12c8c9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

build-macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ source common.sh
99

1010
if [ ! -e $FFMPEG_TARBALL ]
1111
then
12-
curl -O $FFMPEG_TARBALL_URL
12+
curl -s -L -O $FFMPEG_TARBALL_URL
1313
fi
1414

1515
: ${TARGET?}

common.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

3-
FFMPEG_VERSION=5.1.2
4-
FFMPEG_TARBALL=ffmpeg-$FFMPEG_VERSION.tar.bz2
3+
FFMPEG_VERSION=7.0
4+
FFMPEG_TARBALL=ffmpeg-$FFMPEG_VERSION.tar.gz
55
FFMPEG_TARBALL_URL=http://ffmpeg.org/releases/$FFMPEG_TARBALL
66

77
FFMPEG_CONFIGURE_FLAGS=(
@@ -14,15 +14,16 @@ FFMPEG_CONFIGURE_FLAGS=(
1414
--disable-avdevice
1515
--disable-swscale
1616
--disable-programs
17-
--enable-rdft
1817
--enable-ffmpeg
1918
--enable-ffprobe
2019
--disable-network
2120
--disable-muxers
2221
--disable-demuxers
2322
--disable-zlib
23+
--disable-lzma
2424
--disable-bzlib
2525
--disable-iconv
26+
--disable-libxcb
2627
--disable-bsfs
2728
--disable-filters
2829
--disable-parsers

0 commit comments

Comments
 (0)