Exports failed with MacOS sequoa

Hello everyone,

I’m experiencing export failures in Shotcut after updating to macOS Sequoia on my Mac Mini with M-series chip. When attempting to export slideshows using hardware-accelerated H.264 encoding, the process fails immediately. I’ve tested this across multiple projects and different versions of Shotcut with the same result.

I prefer using hardware encoding H.264 because it reduces CPU usage, keeps my system running cooler, and completes exports faster for my workflow.

Has anyone else encountered this issue or found a solution since the Sequoia update?

Just as a side note the H.265 hardware encoding works but it’s not suitable for my workflow. Thank you.

Blockquote

[h264 @ 0x111243710] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x111244bc0] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x111245f60] Reinit context to 1920x1088, pix_fmt: yuv420p
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x1112430b0] Statistics: 32768 bytes read, 0 seeks
[AVIOContext @ 0x111243f30] Statistics: 32768 bytes read, 0 seeks
[AVIOContext @ 0x111243e10] Statistics: 32768 bytes read, 0 seeks
[h264 @ 0x1239b9590] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x1239baa40] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x1239bbde0] Reinit context to 1920x1088, pix_fmt: yuv420p
[AVIOContext @ 0x123986be0] Statistics: 32768 bytes read, 0 seeks
[h264 @ 0x117c38300] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x117c397b0] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x117c3ab50] Reinit context to 1920x1088, pix_fmt: yuv420p
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x117c37ca0] Statistics: 65536 bytes read, 0 seeks
[AVIOContext @ 0x117c38b20] Statistics: 65536 bytes read, 0 seeks
[AVIOContext @ 0x117c38a00] Statistics: 65536 bytes read, 0 seeks
[h264 @ 0x117c485f0] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x117c49960] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x117c4ae20] Reinit context to 1920x1088, pix_fmt: yuv420p
[AVIOContext @ 0x117c47fa0] Statistics: 65536 bytes read, 0 seeks
[producer avformat] /Users/newuser/Downloads/mlt - Copy/video_16x9_intro_outro_01/matte_logo_reveal_3x1.mp4
checking VFR: pkt.duration 512
[h264 @ 0x117c483f0] Reinit context to 1920x1088, pix_fmt: yuv420p
[producer avformat] /Users/newuser/Downloads/mlt - Copy/video_16x9_intro_outro_01/matte_icon_background.mp4
checking VFR: pkt.duration 512
[h264 @ 0x1239b8fd0] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x1239b8fd0] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264_videotoolbox @ 0x1112330b0] Color range not set for nv12. Using MPEG range.
[mp4 @ 0x121ee5dc0] pts (512) < dts (1024) in stream 0
[consumer avformat] error writing video frame: -22
[mp4 @ 0x121ee5dc0] Starting second pass: moving the moov atom to the beginning of the file
[AVIOContext @ 0x117d07120] Statistics: 742 bytes read, 0 seeks
[aac @ 0x111233b60] Qavg: 65536.000
[aac @ 0x111233b60] 2 frames left in the queue on closing
[AVIOContext @ 0x11123a750] Statistics: 2968 bytes written, 4 seeks, 5 writeouts

[AVIOContext @ 0x117c4a7d0] Statistics: 65536 bytes read, 0 seeks
[AVIOContext @ 0x117c49310] Statistics: 65536 bytes read, 0 seeks
[AVIOContext @ 0x1239b9db0] Statistics: 32768 bytes read, 0 seeks
[AVIOContext @ 0x1239b9c90] Statistics: 32768 bytes read, 0 seeks
Failed with exit code 1

A known bug already reported between FFmpeg and videotoolbox in macOS. Workaround is to use HEVC or turn off hardware encoder.