better README
This commit is contained in:
parent
e0adaf9c7e
commit
ffa8366c2a
2 changed files with 13 additions and 5 deletions
|
@ -2,21 +2,27 @@
|
|||
This Script is unfinished and not ready for usage.
|
||||
|
||||
This script converts all videostreams in all files with given file extension in your current working directory and all subdirectories to vp9.
|
||||
The standard settings are in my opinion good for personal storage of movies. Feel free to change them or suggest changes.
|
||||
The standard settings are in my opinion good for personal storage of movies. Feel free to change them or suggest changes. Later there will be options in the script to change the default behavior.
|
||||
|
||||
If used on containers with subtitles or audiostreams, this skript will only convert the videostream and copy the other streams in a Matroska container.
|
||||
|
||||
### Encoders
|
||||
|
||||
### VP9_vaapi
|
||||
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.
|
||||
|
||||
Needs [Hardware video acceleration](https://wiki.archlinux.org/title/Hardware_video_acceleration) enabled and libva
|
||||
#### libvpx-vp9
|
||||
- https://trac.ffmpeg.org/wiki/Encode/VP9
|
||||
|
||||
#### VP9_vaapi
|
||||
|
||||
needs libva
|
||||
More Information about this:
|
||||
- https://ffmpeg.org/ffmpeg-all.html#VAAPI-encoders
|
||||
- https://trac.ffmpeg.org/wiki/Hardware/VAAPI
|
||||
|
||||
### VP9_qsv
|
||||
#### VP9_qsv
|
||||
|
||||
Needs [Hardware video acceleration](https://wiki.archlinux.org/title/Hardware_video_acceleration) enabled, intel graphics and ffmpeg 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
|
||||
|
|
|
@ -61,9 +61,11 @@ 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
|
||||
|
||||
#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
|
||||
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue