On Linux, the script will try to detect if NVENC or QSV is available (AMD's VCE is only partially supported).
On macOS, the Videotoolbox API provided by Apple will be used to manage hardware encoding, as it does not support CRF, the -qp 30 option of FFMPEG is replaced by -b:v 12M as it is the recommended bitrate for 1080p60 videos by YouTube.
README has been updated in consequence.
Changes have been tested on the following configurations:
x64 Intel-based MacbookPro.
Arch-Linux laptop running a NVIDIA graphic card and an Intel APU.
Ubuntu desktop PC running a NVIDIA graphic card and an Intel CPU.
Added support for both Linux and macOS:
-qp 30
option of FFMPEG is replaced by-b:v 12M
as it is the recommended bitrate for 1080p60 videos by YouTube.Changes have been tested on the following configurations:
Some housekeeping was done such as: