ffmpeg
is good as far as I know, but that is a command-line utility. I know DaVinci Resolve has a "Transcode" tool that I've used on several occasions that is decent. I also think VLC has some sort of video compressor/transcoder, but I've never tested it. Otherwise, you'll have to look at Apple Compressor ($50) or Adobe Media Encoder (have to buy with Creative Cloud I think - $54.99/month).