added libvpx

This commit is contained in:
esche 2023-07-25 18:25:46 +02:00
parent a424dabd78
commit f11061bd33

View file

@ -51,6 +51,9 @@ done
# Choose an GPU, if encoder is GPU accelerated
# ls /sys/class/drm/renderD129/device/consumer*/consumer/ | grep supp
# lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s {}
gpu="/dev/dri/renderD129"
# encoder-specific settings
# write array into string
extension="${extension[*]}"
@ -61,11 +64,14 @@ for file in **/*.@($extension); do
echo "$encoder"
#VP9_vaapi
#there are problems with the -global_quality:v settings only being able to make quality worse. Help is appreciated
#ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD129 -i "$file" -map 0 -c copy -c:v vp9_vaapi -rc_mode CQP -bf 1 -bsf:v vp9_raw_reorder,vp9_superframe -compression_level 0 -vf 'hwupload' Der\ VornameCqpLA.mkv
#there are problems with the -global_quality:v/-q:v settings only being able to make quality worse. Help is appreciated
#not enough tested. So it is still experimental
#ffmpeg -hwaccel vaapi -vaapi_device $gpu -i "$file" -map 0 -c copy -c:v vp9_vaapi -rc_mode CQP -bf 1 -bsf:v vp9_raw_reorder,vp9_superframe -vf 'hwupload' "${file%.*}.mkv"
#VP9_qsv
#was not able to test it. So it is still experimental
#ffmpeg -hwaccel qsv -qsv_device /dev/dri/renderD129 -i "$file" -c:v av1_qsv -vf 'hwupload' output.mkv
#ffmpeg -hwaccel qsv -qsv_device $gpu -i "$file" -c:v av1_qsv -vf 'hwupload' "${file%.*}.mkv"
#libvpx-vp9
#...
done