mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-19 21:13:12 -07:00
Enable VAAPI in build-ffmpeg.sh (#215)
This commit is contained in:
parent
f3e91784ee
commit
4e301b9885
2 changed files with 3 additions and 1 deletions
|
@ -31,6 +31,7 @@ matrix:
|
|||
- libgl1-mesa-dev
|
||||
- nasm
|
||||
- libsdl2-dev
|
||||
- libva-dev
|
||||
env:
|
||||
- CMAKE_PREFIX_PATH="$TRAVIS_BUILD_DIR/ffmpeg-prefix;/opt/qt512"
|
||||
- CMAKE_EXTRA_ARGS="-DCMAKE_INSTALL_PREFIX=/usr"
|
||||
|
@ -57,6 +58,7 @@ matrix:
|
|||
- libgl1-mesa-dev
|
||||
- nasm
|
||||
- libudev-dev
|
||||
- libva-dev
|
||||
env:
|
||||
- CMAKE_PREFIX_PATH="$TRAVIS_BUILD_DIR/ffmpeg-prefix;$TRAVIS_BUILD_DIR/sdl2-prefix;/opt/qt512"
|
||||
- CMAKE_EXTRA_ARGS="-DCMAKE_INSTALL_PREFIX=/usr"
|
||||
|
|
|
@ -7,6 +7,6 @@ TAG=n4.2
|
|||
|
||||
git clone https://git.ffmpeg.org/ffmpeg.git --depth 1 -b $TAG && cd ffmpeg || exit 1
|
||||
|
||||
./configure --disable-all --enable-avcodec --enable-decoder=h264 --prefix="$ROOT/ffmpeg-prefix" "$@" || exit 1
|
||||
./configure --disable-all --enable-avcodec --enable-decoder=h264 --enable-hwaccel=h264_vaapi --prefix="$ROOT/ffmpeg-prefix" "$@" || exit 1
|
||||
make -j4 || exit 1
|
||||
make install || exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue