libmlt3

Asked by dinolib

Dear all,

I'm going to upgrade from libxml2 to libxml3.
I'm using the development version of Openshot (1.3.1 alpha) via bzr and I know that openshot atm is not compatible with libxml3.

I've two questions:
- There are many and radical changes to the code I have to do in order to made openshot compatible, or just change some paths and routine calls?
- Have you planned an upgrade of openshot for libxml3 in short time?

Thank you guys, you rock!

Question information

Language:
English Edit question
Status:
Answered
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Girard (eolinwen) said :
#1

Hi,
I want to have a precision before because there is something that I don't understand well. The title is called "libmlt3" and you are speaking after of libxmlt2 and libxml3.

Revision history for this message
dinolib (dinolib) said :
#2

Thank you for your reply.

Ok, I think I've mixed up everything :p

I'm using sunab svn ppa. Recently it upgraded from libmlt2 to libmlt3 (end all other related libs).
One of this new library is python-mlt3 and I think it's not linked to python 2.6.
Do you think I could fix it, or just roll back to libmlt2? Thank you

In python command line "import mlt" fails.

Files installed by python-mlt3 package are:
/usr/lib/python2.5/site-packages/_mlt.so
/usr/lib/python2.5/site-packages/mlt.py
/usr/share/doc/python-mlt3/changelog.Debian.gz
/usr/share/doc/python-mlt3/copyright

***********************************************

Error thrown by openshot at startup:
--------------------------------
   OpenShot (version 1.3.1~alpha1)
--------------------------------
Process no longer exists: 10286. Creating new pid lock file.
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/home/dinolib/openshot/openshot/classes/thumbnail.py", line 170, in run
    mlt.Factory().init()
NameError: global name 'mlt' is not defined

*** ERROR: MLT Python bindings failed to import ***
(...)

Revision history for this message
Olivier Girard (eolinwen) said :
#3

Hi,
At first look, there is something wrong with the last update of this repository. I have some others feedbacks about this (see here but in French : https://answers.launchpad.net/openshot/+question/147390).
For the moment, I have none information about this, I don' t know if the MLT Team will done an update soon. If you are pressed, the only advice that I can give you is to go back at libmlt2, at less she is working.
Thanks.

Revision history for this message
Olivier Banus (sunab) said :
#4

Hi,

my kdenlive-svn repository contains MLT's git head (daily development version) using the regular debian packaging for MLT's 0.6.X series (version 3 for libmlt and python mlt). I know this kind of backport is dangerous for distro integrity, but this repository is only intended for kdenlive and mlt debugging, not to use along with others ppas.

Please use kdenlive-release ppa (the only one I have ever advertised for regular use), it is fully compatible.

Sorry for disturbing the Openshot community.

Revision history for this message
Olivier Girard (eolinwen) said :
#5

Hi,

Thanks a lot for this precisions. You can use too the repository which is in the documentation done for this version here : http://openshotusers.com/forum/viewtopic.php?f=12&t=758.

Can you help with this problem?

Provide an answer of your own, or ask dinolib for more information if necessary.

To post a message you must log in.