added vp9_qsv
This commit is contained in:
parent
d5a1155f1f
commit
4ab6301def
1 changed files with 4 additions and 3 deletions
|
@ -65,8 +65,7 @@ for file in **/*.@($extension); do
|
||||||
file_out="${file%.*}2.mkv"
|
file_out="${file%.*}2.mkv"
|
||||||
else file_out="${file%.*}.mkv"; fi
|
else file_out="${file%.*}.mkv"; fi
|
||||||
|
|
||||||
|
#just for testing. This will be removed in a future release
|
||||||
|
|
||||||
echo "$encoder"
|
echo "$encoder"
|
||||||
|
|
||||||
#VP9_vaapi
|
#VP9_vaapi
|
||||||
|
@ -78,7 +77,9 @@ for file in **/*.@($extension); do
|
||||||
|
|
||||||
#VP9_qsv
|
#VP9_qsv
|
||||||
#was not able to test it. So it is still experimental
|
#was not able to test it. So it is still experimental
|
||||||
#ffmpeg -hide_banner -hwaccel qsv -qsv_device $gpu -i "$file" -c:v av1_qsv -vf 'hwupload' "${file%.*}.mkv"
|
if [[ $encoder == "vp9_qsv" ]]; then
|
||||||
|
ffmpeg -hide_banner -hwaccel qsv -qsv_device $gpu -i "$file" -c:v vp9_qsv -vf 'hwupload' "${file%.*}.mkv"
|
||||||
|
fi
|
||||||
|
|
||||||
#libvpx-vp9
|
#libvpx-vp9
|
||||||
#...
|
#...
|
||||||
|
|
Loading…
Reference in a new issue