Compare commits

..

No commits in common. "e9942d56b6fd95f1f3d719ce7dee4eeb63987cb1" and "a424dabd7828d49668e4e677120bad17c3ce7b5f" have entirely different histories.

2 changed files with 5 additions and 13 deletions

View file

@ -8,12 +8,10 @@ If used on containers with subtitles or audiostreams, this skript will only conv
### Encoders
Hardware-Encoders using NVENC, VAAPI or QSV depend on your hardware and an enabled [Hardware video acceleration](https://wiki.archlinux.org/title/Hardware_video_acceleration). So not all encoders will be available.
Hardware-Encoders like NVENC, VAAPI and QSV depend on your hardware and an enabled [Hardware video acceleration](https://wiki.archlinux.org/title/Hardware_video_acceleration). So not all encoders will be available.
#### libvpx-vp9
Needs a ffmpeg-build with --enable-libvpx
- https://trac.ffmpeg.org/wiki/Encode/VP9
- https://ffmpeg.org/ffmpeg-codecs.html#libvpx
#### VP9_vaapi
@ -24,7 +22,7 @@ More Information about this:
#### VP9_qsv
needs intel graphics and ffmpeg-build with --enable-libmfx or --enable-libvpl.
needs intel graphics and ffmpeg with --enable-libmfx or --enable-libvpl.
More Information about this:
- [Differences between libvpl and libmfx](https://www.intel.com/content/www/us/en/developer/articles/technical/onevpl-in-ffmpeg-for-great-streaming-on-intel-gpus.html)
- https://ffmpeg.org/ffmpeg-all.html#QSV-Encoders

View file

@ -51,9 +51,6 @@ 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[*]}"
@ -64,14 +61,11 @@ for file in **/*.@($extension); do
echo "$encoder"
#VP9_vaapi
#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"
#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
#VP9_qsv
#was not able to test it. So it is still experimental
#ffmpeg -hwaccel qsv -qsv_device $gpu -i "$file" -c:v av1_qsv -vf 'hwupload' "${file%.*}.mkv"
#ffmpeg -hwaccel qsv -qsv_device /dev/dri/renderD129 -i "$file" -c:v av1_qsv -vf 'hwupload' output.mkv
#libvpx-vp9
#...
done