Skip to content

Commit

Permalink
Update ffmpeg build to add patches for improved streaming experience
Browse files Browse the repository at this point in the history
  • Loading branch information
streetpea committed Dec 10, 2023
1 parent 1b95571 commit 21e0bbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build-ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ TAG=n6.1

git clone https://git.ffmpeg.org/ffmpeg.git --depth 1 -b $TAG && cd ffmpeg || exit 1
git apply ${SCRIPT_DIR}/flatpak/0001-hevc-Fix-duplicate-POC-in-sequence.patch || exit 1
git apply ${SCRIPT_DIR}/flatpak/0001-lavc-vaapi_hevc-Fixup-invalid-references.patch || exit 1
./configure --disable-all --enable-avcodec --enable-decoder=h264 --enable-decoder=hevc --enable-hwaccel=h264_vaapi --enable-hwaccel=hevc_vaapi --enable-hwaccel=h264_vulkan --enable-hwaccel=hevc_vulkan --prefix="$ROOT/ffmpeg-prefix" "$@" || exit 1
make -j4 || exit 1
make install || exit 1

0 comments on commit 21e0bbd

Please sign in to comment.