A phone clip too big to send does not require installing anything on a Mac. avconvert is already there, and it works with named presets.
Give it a source, an output and a preset:
avconvert -s clip.mov -o clip-720.m4v -p Preset1280x720
That produces a 720p H.264 copy with AAC sound. See every preset with avconvert --help. There are 1080p and HEVC variants, and PresetAppleM4A gives you an audio only file. Add --progress for long videos so you can see it moving.
The tool never scales a video up. A source smaller than the preset keeps its own dimensions.
A detail I appreciate for sharing: by default it filters out privacy sensitive source metadata, such as where and when the video was recorded and on what device. If you want those kept, say for your own archive, there is --disableMetadataFilter.
Check the result before you throw anything away. A preset sets the quality for you, so there’s no dial for bitrate, and an already well compressed clip can come out larger than it went in. Only one video and one audio track survive the conversion, so extra languages are dropped.
It refuses to overwrite an existing output unless you add --replace, which I’d leave off until you’re sure of the names.
Further reading: avconvert man page