A shell command for converting videos from any codec to x265 with a bitrate of 2000kb/s for video and 224kb/s for AAC audio using ffmpeg. It considers 6 audio channels, 23.976 fps and hev1 tag. Recommended for 1080p or 4K videos with a bitrate larger than 5000 kb/s.
You can change the framerate or simply delete that part of the command if your input already has the desired framerate.