mlt causes segmentation fault... what to do?

Asked by Timo Maaranen

I just realized that I can't insert new files to my project because the Openshot crashes. Before applying the openshot_wizard/install.py it worked well. After a little study I found out that the problem is caused by mlt.

This runs well:
self.c = mlt.Consumer(self.profile, "avformat", self.thumbnail_path)

but after that

self.c.set("real_time", 0)

causes the segentation fault.

So what now?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Solved by:
Timo Maaranen
Solved:
Last query:
Last reply:
Revision history for this message
Helen McCall (wildnfree) said :
#1

Hello Timo,

I have tried to replictae this with OpenShot 0.9.52 adding clips to projects produced with other earlier versions.

I can find no problem.

If you have been changing the paths to your files as shown in your previous questions/bugs, and also have been modding the code, it is most likely that you have got a mistake somewhere.

My advice is for you to start again with a fresh install of OpenShot, and start your projects again from fresh.

Best wishes, Helen

Revision history for this message
Timo Maaranen (tim-kuntonetti) said :
#2

Hello Helen,

I wrote the code for renaming basefolder for selected files (in treeview and in iconview - total 33 lines of code, I love python...) and I have it in a totally new branch. It works well and has nothing to do with mlt - openshot finds the files after I have renamed them - no more usb-disk problems!. The problem in inserting new files exists in all branches and also the last fresh installation. And it existed before I wrote my new code.

I try to remove everything and make a totally new installation starting from deb packages (version ...43). I believe that trere has been some error when I installed from wizard.

I continue testing...!

Regards Timo

Revision history for this message
Timo Maaranen (tim-kuntonetti) said :
#3

Hello again,

The problem was my mlt installation. I removed it (sudo make uninstall) and then I used dpkg for installing the mlt deb package that came with version 0.9.43. Now openshot works well.

Regards Timo