qf: ffmpeg hw acc
This commit is contained in:
parent
968b7cdf43
commit
eb86d3e960
@ -1772,6 +1772,7 @@ function setup_ffmpeg() {
|
|||||||
libx264-dev libx265-dev libvpx-dev libmp3lame-dev
|
libx264-dev libx265-dev libvpx-dev libmp3lame-dev
|
||||||
libfreetype6-dev libass-dev libopus-dev libvorbis-dev
|
libfreetype6-dev libass-dev libopus-dev libvorbis-dev
|
||||||
libdav1d-dev libsvtav1-dev zlib1g-dev libnuma-dev
|
libdav1d-dev libsvtav1-dev zlib1g-dev libnuma-dev
|
||||||
|
libva-dev libdrm-dev
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@ -1808,6 +1809,7 @@ function setup_ffmpeg() {
|
|||||||
|
|
||||||
if [[ "$TYPE" == "full" ]]; then
|
if [[ "$TYPE" == "full" ]]; then
|
||||||
args+=(--enable-libx265 --enable-libdav1d --enable-zlib)
|
args+=(--enable-libx265 --enable-libdav1d --enable-zlib)
|
||||||
|
args+=(--enable-vaapi --enable-libdrm)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ${#args[@]} -eq 0 ]]; then
|
if [[ ${#args[@]} -eq 0 ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user