I also had a similar problem, so I made the decision to educate myself about it. To do this I found https://www.movavi.com/screen-recorder-mac/, this company has a large number of programs for working with video and not only. You can try this method.