Skip to content

Commit

Permalink
Bump ffmpeg version and nv-codec-headers (#2973)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomshutt authored Mar 8, 2024
1 parent b71e9b2 commit cad6713
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions install_ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ if [[ "$GOOS" != "darwin" ]]; then
if [[ ! -e "$ROOT/nv-codec-headers" ]]; then
git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git "$ROOT/nv-codec-headers"
cd $ROOT/nv-codec-headers
git checkout n9.1.23.1
git checkout n12.1.14.0
make -e PREFIX="$ROOT/compiled"
make install -e PREFIX="$ROOT/compiled"
fi
Expand Down Expand Up @@ -203,9 +203,8 @@ else
fi

if [[ ! -e "$ROOT/ffmpeg/libavcodec/libavcodec.a" ]]; then
git clone https://github.com/livepeer/FFmpeg.git "$ROOT/ffmpeg" || echo "FFmpeg dir already exists"
git clone https://github.com/livepeer/FFmpeg-6.1.1.git "$ROOT/ffmpeg" || echo "FFmpeg dir already exists"
cd "$ROOT/ffmpeg"
git checkout 2e18d069668c143f3c251067abd25389e411d022
./configure ${TARGET_OS:-} $DISABLE_FFMPEG_COMPONENTS --fatal-warnings \
--enable-libx264 --enable-gpl \
--enable-protocol=rtmp,file,pipe \
Expand Down

0 comments on commit cad6713

Please sign in to comment.