vt-enc: A VideoToolbox Encoding Script for macOS
https://github.com/gianni-rosato/vt-enc
vt-enc is a bash script that simplifies the process of encoding videos with FFmpeg using Apple's VideoToolbox framework on macOS. It provides an easy-to-use command-line interface for encoding videos with various options, including codec selection, quality settings, and scaling.
HEVC is also now supported on Discord clients with hardware accelerated HEVC decode, so your output will be Discord compatible.