What app does macOS Mojave use for screen recording?
If you start screen recording then open the activity monitor.
You will see a process name screencapture.
Click process info botton will see more detail.
It seems like a system level functions and use intel quick sync to encode.