Here's a video demonstrating my issue:
Here's a screenshot showing you what happens when I try to open the outputted mp4 file:
The file is only 48 bytes.
Any idea what the issue could be? I've searched all around, but all I can find is people with other issues.