INPUT="$1" OUTPUT="$INPUT%.*_rarbgPlus.mkv"
For a balance of high quality and efficiency, use these settings in tools like or via FFmpeg command lines: Recommended Value Why It's "Better" Encoder x265 10-bit rarbg x265 encoding settings better
They merged: