I wouldn’t want anyone to think that this is some slight error that only needed manual tinkering like you did because now I am convinced that this is a bug that was introduced recently to Shotcut. Not only did you come in to report this but another person started a thread like yesterday about the same thing and this is after me getting the “Failed to Open” message in Shotcut 3 times ever since I downloaded the newest version (18.08.11). That has never happened to me before and the fact that it has happened 3 times in just a few days of downloading this version makes me convinced that it is a new bug.
This bug worries me because somehow Shotcut is corrupting mlt files and not letting you open them again which means you can’t work on a project. The first two times that it happened it was on minor things so it wasn’t a big deal but the 3rd time it was on a long project that I have been working on for some time. It did this but luckily (since I don’t ever really do this) I had saved an earlier mlt file of the project. Had I not had that accidental older mlt I made, about a month’s work would’ve been gone. I still had to redo the things I was doing that was saved on the newer mlt file though.
I was thinking about making a bug report on it but the thing is I honestly have no idea what causes this bug to corrupt mlt files. It has happened 3 times to me in a short time on three different projects so I have no idea but the fact that this is happening with several people on this forum since the release of 18.08.11 means there is something going on. I just don’t know how to go about honing in on what’s triggering it. I do remember on the long project that Shotcut was getting buggy with me moving around some clips that I created a transition for (one of the clips just disappeared for no reason) and I closed Shotcut and when I went to reopen it it just said “Failed To Open” and wouldn’t start the project again.
I hope this can be investigated and fixed for the September release.
Good find! I have seen a problem like this years ago with metadata embedded in the media files, and there was a fix for it. In this case, this is bad text data is coming from the text box in the Properties panel of Shotcut. I will have to add some filtering there now to prevent this problem. Instead of deleting the whole <producer>...</producer> block, you could have simply deleted the lines with the offending characters. Thank you for finding it and reporting it.
Hmm, that worries me. Did you view the log or open these .mlt files to look for a similar problem? I will review all the changes from 18.08.01 to 18.08.11 to see if there is a possible reason, but it will be easier to find steps to reproduce.
I think I’m having the same issue as you- Shotcut keeps displaying the phrase ‘failed to open…’ (with my file name) and I’ve tried deleting and re-installing the programme. I’m aware there is another update available which may or may not fix the problem but I can’t download the update off of the Fosshub website. Please could you tell me how you resolved the issue or any advice really- the project’s quite important as it’s part of exam coursework.
I’m aware it’s been a while since this conversation has been active and there have been several updates since but I’ve been getting the same ‘failed to open…(file name)’ as others. I’ve tried deleting and re-installing the programme but am unable to download the latest version (19.01.27). I’m not sure if I’m just clicking on it wrong but I’d really appreciate advice on how I might recover my file (if possible!)
I’m having the same issue. A .mlt file I saved using version 18.12 won’t open now. I get the same “Failed to open…” message. I just downloaded version 19.01 and it will not open the file either. Very frustrating. Hours of work lost if I can’t open this file!
I am sorry for your trouble. Until I can find the root cause, for the next version, I will make Shotcut first save to a temporary file, check if the temp file is all NULs, and only move the temp file to the target location once it is OK. If it fails, then there will be a message that saving has failed. This might require an app restart to resolve and the loss of some work since the last successful save, but it is better than losing all work.
I just hopped on here as Im encountering a similar problem, yet It’s not so much to do with opening an mlt file. It is more so to do with exporting a finished video, but this is the nearest thread topic to my problem.
So once my project is done and I want to export (using default settings for an mp4 that ive always used) it exports the file in 00:00:01 time.
But when I try to open the file I receive a similar ‘failed to open’ message: ‘Failed to open C:/Users/Asiedu.SOIL-KASIEDU.000/Desktop/aretha.mp4’, and when i try to locate the file it in the folder it’s not been Exported/saved.
Please Help, I’m that guy that said yes to putting the video together for her 1st birthday - she wont remember if i dont get it done but Mommy and Daddy sure as hell wont forget
Ps her birthday dinner is in 6 hours and ive got 150 photos and short clips to make magic with for lil ol Baby Aretha!