VLC Media Player is an open-source tool. You can trim a video in it without paying. Just download the latest version for your MacOS and follow the steps above.