I am on Windows 10
Using The Newest Shotcut Version (24.11)
Specs:
6750 XT
Ryzen 7 5700x
32gb DDR4 3600mhz
1tb nvme storage (remaining)
200gb ssd storage (remaining)
I usually make pretty edit heavy videos, and since my pc is pretty good I like to turn on GPU effects for better performance. recently i’ve encountered a glitch where my video will almost never export only when using GPU effects. I use alot of filters in my videos such as size position and rotate and limiter but my pc handles it just fine when exporting without GPU effects enabled. When I try export with it on, my RAM and VRAM Max out almost immediately, even though i have no other programs open and if I try turn down the video quality. The log almost always brings up the std::bad_alloc error and fails at random times throughout the export. not sure if it’s an AMD driver thing or if It literally just won’t export without enough VRAM.
Maybe there’s some filter combination that does this? It would probably help the bug report to try and enable/disable randomly the filters and figure out exactly which combination has the leak. If the devs can’t reproduce it is unlikely to be ever fixed.
Sure,
In most cases the video fails to export but sometimes it completes with the video cutting out at a random point. What I believe is happening is that my shotcut is using too much of my compontents (which would make sense since this only happens when gpu effects are on) and when reaching the limit, it fails to encode. This might be an AMD issue but I want to know if this happens with nvidia cards too since i’ll be upgrading to an nvidia card sometime when 5000 series drops log.txt (349.8 KB)
[AVIOContext @ 000002b25ebbdec0] Statistics: 8319065 bytes read, 2 seeks
[chain avformat] C:/Users/Andre/Videos/2024-12-17 15-28-00.mp4
checking VFR: pkt.duration 256
[link swresample] 2(stereo) f32le 48000Hz → 2(stereo) float 48000Hz
[h264_amf @ 000002b25e1777c0] SubmitInput() failed with error 17
[consumer avformat] error with video encode: -1313558101 (frame 4716)
[h264_amf @ 000002b25e1777c0] SubmitInput() failed with error 18
[consumer avformat] error with video encode: -1313558101 (frame 4717)
[consumer avformat] error with video encode: -11 (frame 4718)
[consumer avformat] error with video encode: -11 (frame 4719)
[consumer avformat] error with video encode: -11 (frame 4720)
[consumer avformat] error with video encode: -11 (frame 4721)
Chatgpt suggests a driver update and check encoder settings. Try the driver update but I suspect the combination of filters is somehow not playing nice with themselves and filling up the vram.
Error list (from chatgpt, didn’t double check them):
10
AMF_INVALID_POINTER
A null or invalid pointer was provided.
11
AMF_NOT_FOUND
A required resource or component was not found.
12
AMF_OUT_OF_RANGE
The provided value is outside the acceptable range.
I have the latest amd drivers installed for my card (24.12.1) and my encoder settings are just the ones that shotcut detected (h.264_amf and hevc_amf) so i’m not sure how I could fix this from my end. I would use it without GPU Effects enabled since that seems to work from my experience, however the timeline gets pretty laggy and I want to be able to fully utilise my specs. It’s probably best for me if I try upgrade to something like premiere pro unless this ever gets fixed.