Shotcut doesn't know how to handle corrupted video recordings

If I have a .mkv video that got corrupted due to a power outage Shotcut is unable to open it, even though other programs are able to read it.
image
VLC correctly reads the file and shows it as 44 mins 11 seconds long.

image
Shotcut claims the recording is uh… 4971 days long? If I try dragging it on a timeline it’ll keep filling all the memory eventually crashing.


  • What is your operating system?

Windows 11 23H2

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

25.03.29

  • Can you repeat the problem? If so, what are the steps?

Happens every time I try opening a corrupted recording

If this was made with OBS, have you tried to Remux the MKV file to an MP4 through OBS?

Whoa, I wasn’t aware of this option, that worked! Thanks.

The latest version 25.05 has a fix for this. You should check the latest version before reporting a bug.

Fixed adding media with unknown or very long duration (for example, more than 7 days). Now, it prompts for the duration.