If you prefer using the command line with and FFmpeg , use the following command to demux and convert in one step:
Combine your new Profile 8.1 video track with the original audio and subtitles using MKVToolNix :
After conversion, confirm the new profile:
mkvextract your_movie.mkv tracks 0:video.hevc