How to Fix 'Failed to execute encode on VideoEncoder' Error in Screen Studio
Learn how to quickly resolve the 'Failed to execute encode on VideoEncoder' error in Screen Studio with simple troubleshooting steps.
Federico Terzi
Updated 2 min read
If you’re using Screen Studio for your screen recordings, you might encounter an error message stating “Export failed: Failed to execute ‘encode’ on ‘VideoEncoder’: Cannot call ‘encode’ on a closed codec.”

The error typically occurs during the export process and can be frustrating when you’re trying to finalize your recordings. However, there are two main ways to resolve this problem.
Disable hardware acceleration
The first solution is to disable hardware acceleration in Screen Studio’s settings. To do this, open Screen Studio, go to Show Settings, navigate to the Advanced section, and disable the “Hardware accelerated video encoding and decoding” option. This often resolves the encoding error and allows your export to complete successfully.

Update macOS
If disabling hardware acceleration doesn’t solve the issue, the problem might be related to your macOS version. Some users have reported experiencing this error specifically with earlier versions of macOS Sonoma. In this case, updating to the latest macOS version should resolve the problem, as Apple has addressed several video encoding issues in recent updates.
That didn’t work? Try Borumi
If you continue experiencing issues with Screen Studio, you might want to consider alternative solutions like Borumi. Borumi offers a reliable screen recorder with built-in recovery features, ensuring you never lose your recordings due to technical issues.

Borumi also includes built-in support for smooth cursor movements and zoom-in effects like Screen Studio, making it a great alternative for creating long-form content without the complexity of professional video editing software.