Can't Export | Exit Code -1073741819

What is your operating system?
Windows 11. I downloaded ShotCut via shotcut.org.

What is your Shotcut version (see Help > About Shotcut)?
Version 24.09.13

Can you repeat the problem? If so, what are the steps?
Yes, I can repeat the problem. The steps are as follows:
Click File → Export → Video → Save as .Mp4.

Each time I do this, a Job is created for the video exporting. It reaches 99% and then says “failed”. This is the file I’m trying to export:

Foley Game 250 Project.mlt (211.9 KB)

Here’s a video recording of the Log:
video of log from shotcut for bug report.mp4 - Google Drive
The video was too big a file to just put here, hence the link.

When trying to cut that video I just made and export it, it also gave me the same error. Here’s that Log:

click to open drop down
mlt_repository_init: skip plugin C:\Program Files\Shotcut\lib\mlt/libmltqt.dll
[h264 @ 0000026ac6102880] Reinit context to 1280x720, pix_fmt: yuv420p
[h264 @ 0000026acaf33600] Reinit context to 1280x720, pix_fmt: yuv420p
[h264 @ 0000026acb113a40] Reinit context to 1280x720, pix_fmt: yuv420p
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0000026ac5fc0ac0] Statistics: 198743 bytes read, 2 seeks
[chain avformat-novalidate] C:/Users/Logan/Videos/2024-10-09 22-29-27.mp4
    checking VFR: pkt.duration 512
[h264 @ 0000026ac631e240] Reinit context to 1280x720, pix_fmt: yuv420p
[h264_amf @ 0000026ac61c2100] AMF initialisation succeeded via D3D11.
[h264_amf @ 0000026ac59220c0] Maxium number of B frames needs to be specified.
[mp4 @ 0000026ac6100480] Timestamps are unset in a packet for stream 1. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[mp4 @ 0000026ac6100480] Encoder did not produce proper pts, making some up.
[mp4 @ 0000026ac6100480] Starting second pass: moving the moov atom to the beginning of the file
[AVIOContext @ 0000026ad1bfb780] Statistics: 52186699 bytes read, 0 seeks
[aac @ 0000026ac6157040] Qavg: 65536.000
[AVIOContext @ 0000026ac60dde80] Statistics: 104457409 bytes written, 4 seeks, 403 writeouts

Failed with exit code -1073741819
Failed with exit code -1073741819


Other information:
I first encountered the issue on an older version of Shotcut. After looking around this forum, I found this post where it said uninstalling and then reinstalling could help. For me, it did not. I still encounter the same error. No, I don’t have an anti-virus, and nor do I any “wave” filters.

A friend of mine was able to download Shotcut, download my .mlt file I sent him, and export it to an .mp4 perfectly fine. I assume this means it’s something with my laptop then. I’m not sure.

Even though you get a failure message, does the exported file work? I have heard of situations when the export crashes after the file successfully exports. Try the file and see if it is good.

1 Like

Thanks for the reply! It turns out the file exports despite the failure message. The file looks to be correct also.

Should I mark your reply as the solution, or should this bug be kept open? (I assume the two are tied) The error here isn’t ideal, but I also assume it will be fixed eventually (whether this is open or not).

You can leave it open. We have been struggling a little with how to handle this false negative result from the background export program. We consider to ignore its value and check the created file, but there are pitfalls to these checks that could also create false negatives. I guess you could say a hopeful fix is in progress.

1 Like