Using Handbrake
Handbrake is a free program that can make high quality H.264 and H.265 video. I use it to make all my tutorial videos as it can compress them to very small files and still look good. You can also use it to remake files which do not work properly in your editing program. You can download Handbrake here: https://handbrake.fr/