2021-01-27
Snippet from this page:
 ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4
        This uses
        ffmpeg to
        re-encode an h264 video with the h265 codec with a Constant Rate Factor
        of 28 (lower number = higher bitrate).