H.265/HEVC Video Encoding.
The libx265 encoder offers around 25–50% bitrate savings compared to H.264 video encoded with libx264, while retaining the same visual quality.
1-pass target bitrate
Constant Rate Factor (CRF)
Encode video as x265 HEVC 10bit
Two-Pass Encoding
https://trac.ffmpeg.org/wiki/Encode/H.265
https://x265.readthedocs.io/en/stable/