If you do a screen recording on a Mac, you are most likely using the free Quicktime player that comes with Mac OS X. If you are lucky enough to own a Quicktime Pro then you can simply do an Export > Save-As MP4. For those of you that do not have a Quicktime Pro, then you can use this option.
Not sure what Brew is? It’s the missing package package manager for Mac OS X.
Use the following link to learn more:
https://brew.sh/
Cheers!