Update FFMPEG and enable H265 Decoder

This commit is contained in:
Florian Märkl 2020-12-29 10:33:16 +01:00
commit 526286c5d7
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857

View file

@ -5,10 +5,10 @@ cd "./$1"
shift
ROOT="`pwd`"
TAG=n4.2
TAG=n4.3.1
git clone https://git.ffmpeg.org/ffmpeg.git --depth 1 -b $TAG && cd ffmpeg || exit 1
./configure --disable-all --enable-avcodec --enable-decoder=h264 --enable-hwaccel=h264_vaapi --prefix="$ROOT/ffmpeg-prefix" "$@" || exit 1
./configure --disable-all --enable-avcodec --enable-decoder=h264 --enable-decoder=hevc --enable-hwaccel=h264_vaapi --prefix="$ROOT/ffmpeg-prefix" "$@" || exit 1
make -j4 || exit 1
make install || exit 1