Skip to content

Commit

Permalink
Merge pull request #3 from mrienstra/add-vp9-encoder
Browse files Browse the repository at this point in the history
add vp9 support
  • Loading branch information
mifi committed Apr 2, 2023
2 parents 67c4b91 + 7f2a0e0 commit e1742c2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions build-ffmpeg
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,23 @@ if build "x264" "5db6aa6"; then
fi
CONFIGURE_OPTIONS+=("--enable-libx264")

if build "libvpx" "1.13.0"; then
download "https://github.com/webmproject/libvpx/archive/refs/tags/v1.13.0.tar.gz" "libvpx-1.13.0.tar.gz"

if [[ "$OSTYPE" == "darwin"* ]]; then
echo "Applying Darwin patch"
sed "s/,--version-script//g" build/make/Makefile >build/make/Makefile.patched
sed "s/-Wl,--no-undefined -Wl,-soname/-Wl,-undefined,error -Wl,-install_name/g" build/make/Makefile.patched >build/make/Makefile
fi

execute ./configure --prefix="${WORKSPACE}" --disable-unit-tests --disable-shared --disable-examples --as=yasm --enable-vp9-highbitdepth
execute make -j $MJOBS
execute make install

build_done "libvpx" "1.13.0"
fi
CONFIGURE_OPTIONS+=("--enable-libvpx")

##
## FFmpeg
##
Expand Down

0 comments on commit e1742c2

Please sign in to comment.