这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ FFmpeg is built with the following configuration options:
--enable-libopencore_amrnb
--enable-libopencore_amrwb
--enable-libopus
--enable-libspeex
--enable-libsrt
--enable-libsvtav1
--enable-libtheora
Expand Down
19 changes: 16 additions & 3 deletions build-ffmpeg
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# LICENSE: https://github.com/markus-perl/ffmpeg-build-script/blob/master/LICENSE
#
PROGNAME=$(basename "$0")
FFMPEG_VERSION=6.0
SCRIPT_VERSION=1.46
FFMPEG_VERSION=6.1.2
SCRIPT_VERSION=1.47
CWD=$(pwd)
PACKAGES="${CWD}/packages"
WORKSPACE="${CWD}/workspace"
Expand Down Expand Up @@ -1131,6 +1131,19 @@ fi

CONFIGURE_OPTIONS+=("--enable-libopus")

if build "speex" "1.2.1"; then

download "https://ftp.osuosl.org/pub/xiph/releases/speex/speex-1.2.1.tar.gz"

execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
execute make -j ${MJOBS}
execute make install

build_done "speex" "1.2.1"
fi

CONFIGURE_OPTIONS+=("--enable-libspeex")

if ! isLinux; then

if build "libogg" "1.3.5"; then
Expand Down Expand Up @@ -1438,7 +1451,7 @@ fi

build "ffmpeg" "${FFMPEG_VERSION}"

download "https://github.com/FFmpeg/FFmpeg/archive/refs/heads/release/${FFMPEG_VERSION}.tar.gz" "FFmpeg-release-${FFMPEG_VERSION}.tar.gz"
download "https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.gz" "FFmpeg-release-${FFMPEG_VERSION}.tar.gz"

# shellcheck disable=SC2086
echo ./configure "${CONFIGURE_OPTIONS[@]}" \
Expand Down
Loading