I’ve put my question in how to section and not in bug as I don’t have enough information to provide what is the reason of bug.
I have my project created in 22.01.30 shotcut version. It’s quite big not because of the lenght but because of many tracks and many different elements on tracks (short clips). When editing everything is fine. However when exporting I have quite strange situation. I also tried to export it 22.06.23 version but it didn’t solve the issue.
Let me describe what I noticed.
- When exporting from 22.01.30 or 22.06.23 full version, export fails exactly in the same place (the same output file size after fail so it seems to be deterministic).
- There is no error message, neither there is no red error icon. From user interface it looks like that the export finished with success (green icon marking export finished, 100% done). However when observing progress bar during export it goes to 9% and suddenly it jumps to 100%. The exit code is 11 so as I found on Internet, it means nothing.
- I have 32 GB RAM and a lot of free space on disk. I use ram monitor to see if there might be anything related with ram and it doesn’t look like that. Also job log doesn’t suggest any problems with RAM.
- Basing on 9% fail moment, I try to estimate moment of the file making problems. Next I add 1 minute less and 1 minute more and I try to export this 2 min part. I have different behaviour depending on the shotcut version.
4a. On 22.01.30 it fails and the completeness percentage suggest that it’s exactly the same place. However there is no red icon and no error code (the same as with the whole project export).
4b. On 22.01.30 if I divide the 2 minutes on 10 seconds parts (with some 1 sec overlapping so in practice 12 sec), each small part is exported successfully. So when dividing the 2 minutes part on 10 seconds part, I’m not able to find the place causing problem (I’m able to export the whole 2 minutes divided in 10 seconds clips).
4b. On 22.06.23 both 2 minutes part and all 10 seconds parts are exported correctly. (However on 22.06.23 the export of the whole project fails as I wrote previously).
Concluding it looks like that the problem appears always in exactly the same moment. However when dividing the suspicious part of the video into smaller parts I’m able to export it successfully.
Btw, the only 2 a bit suspicious parts in the log I’ve found is the following
“[mp4 @ 0x7f7478200f00] Timestamps are unset in a packet for stream 1. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[mp4 @ 0x7f7478200f00] Encoder did not produce proper pts, making some up.”
Failed with exit code 11
Export job failed; trying again without Parallel processing.
mlt_repository_init: failed to dlopen /media/VIDEO/shotcut-linux-x86_64-220623/Shotcut/Shotcut.app/lib/mlt-7/libmltmovit.so
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26’ not found (required by /media/VIDEO/shotcut-linux-x86_64-220623/Shotcut/Shotcut.app/lib/libmovit.so.2))
Concerning the rest, it seems to be a normal log.
Any ideas how to find the reason of problems?
Edit: I’ve moved this to bug section.