Hi all,
I'm editing an aftermovie in FilmCraft and it crashes every time I import an FCP7 XML timeline that links to my original phone footage. It's not the XML itself: the same edit with converted footage loads fine. The problem seems to be the 4K HEVC 10-bit HDR footage.
**Setup**
- FilmCraft 0.21.0 (Windows x86_64)
- GPU: AMD Radeon(TM) Graphics, integrated (Vulkan chosen as render adapter)
- AMD driver 23.19.23.03 (DX12 driver 31.0.21923.3003)
- No NVIDIA GPU
- Memory settings: 2 GB reserved for other applications, 768 MB frame cache (defaults)
**Footage**
- Google Pixel recordings, about 25 clips on the timeline
- 3840x2160, HEVC Main 10, HDR HLG (BT.2020 / arib-std-b67)
- Mostly 30 fps, a few variable frame rate clips
**What happens (Hardware decoding: Auto)**
As soon as the XML is imported, FilmCraft opens six or more Media Foundation HEVC decoders (HEVCVideoExtension) at the same time. Within about a second the GPU device is lost, it falls back to the software decoder, and a few seconds later the app crashes. The log just stops, with no error at the end.
Relevant log lines:
```
INFO filmcraft_platform::media_foundation: hardware decoding: HEVCVideoExtension on AMD Radeon(TM) Graphics (x6+)
WARN filmcraft_platform::media_foundation::gpu: Direct3D 11 device lost (AMD Radeon(TM) Graphics); new decoders will create another
WARN filmcraft_platform::hybrid: Media Foundation HEVC failed (decode error: cannot map the decoded surface: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action. (0x887A0005)); continuing with the software decoder
WARN filmcraft_platform::hybrid: Media Foundation HEVC failed (decode error: the decoder holds 65 pictures back); continuing with the software decoder
<log ends, app crashes>
```
**What I tested**
- **Hardware decoding turned off** (Preferences > Playback > Hardware decoding, changed from Auto, then restarted FilmCraft and imported again): **still crashes.** So it's not only the GPU device loss; the software decoder can't handle it either.
- Checked Preferences > Media, Graphics and Memory for other decoding-related options. Nothing else relevant there besides proxies and the memory settings above.
- Same edit, same XML structure, but footage converted to 1080p H.264 SDR (Rec.709): **loads and plays fine.** The log shows only "Microsoft H264 Video Decoder MFT" with no errors.
- Original 4K HEVC 10-bit HLG files: crash every time.
**Questions**
- Is 4K HEVC Main 10 / HLG supported on integrated AMD GPUs yet, or is this a known issue?
- Is there a way to limit how many clips/decoders FilmCraft opens at once on import?
- Could the crash with software decoding be a memory issue (many 4K 10-bit streams at once), and would lowering the frame cache help?
- Will proxies help here, or does FilmCraft still open the originals on XML import?
Thanks!