Libx264 vidoes rendering as unwatchable, black, mp4 files

Have you tried unchecking “Use hardware encoder”?
image

Make sure you’re using the latest version of Shotcut which can be downloaded here: https://shotcut.org/download/

If this doesn’t solve the issue, please read the following tutorial.