Constantly crashes splitting MLTXML on the timeline

What is your operating system?
Windows 11

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

Can you repeat the problem? If so, what are the steps?
My preferred workflow is to organize clips into a video stream on one mltxml. Then start another project where I import that into the timeline. I’ll then apply filters and split the clip on the timeline. This crashes all of the time for me to the point where I often find myself with files where I have no choice but to stop even using MLTXML on the timeline.

The actual log files show nothing useful about why the crashes are happening. I cannot share my video files. I know that the usual reasons I’ve read for this happening don’t apply because, in the projects where this is happening, the only thing on the timeline is the mltxml so there’s nothing for it to be incompatible with.

Does anybody else have this same problem with any idea on how to workaround? If not, are there any steps I can take to provide better debugging information that might be of value to the developers?

It is unclear if the crash happens because you run out of memory or this is a bug.
Shotcut does have a poor memory management system.
It is recommend to export part videos with the same video settings as the final video export and edit the exported video. As long you use exactly the same video settings for all exports the quality loss should not be visible.

1 Like

Your workflow is not commonly used and tested. The primary use case of a XML clip is to be used in whole, possibly trimmed. I can tell you that technically splitting a XML clip is inefficient—not just the action but also reloading. It creates a lot of duplication of objects. I did a little testing and did not reproduce a problem yet. I suggest a different workflow. Either edit the sub-project or don’t use a sub-project. You can also copy and paste clips between projects.

1 Like