media-tools/to_vp9
2023-07-27 00:01:28 +02:00
..
README.md better README 2023-07-27 00:01:28 +02:00
to_vp9.sh added vp9_qsv 2023-07-26 23:41:24 +02:00

to_vp9

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 using the Matroska container.

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.

Flags

-e defines the extension of the files that should be converted
-d deletes original files after conversion (not implemented)
-h show help (not implemented)

Examples

convert all videostreams in all files to vp9
bash to_vp9.sh -e "*"

convert the videostream of an movie
bash to_opus.sh -e mp4

Dependencies

  • ffmpeg
  • Bash 4^

Encoders

libvpx-vp9

Needs a ffmpeg built with --enable-libvpx

VP9_vaapi

needs libva and Hardware video acceleration available in your system. Try vainfo in your terminal for verification.

VP9_qsv

needs Hardware video acceleration with QuickSync and ffmpeg-build with --enable-libmfx or --enable-libvpl.