This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Compiling Kdenlive with latest MLT

Tags: None
(comma "," separated)
jmpoure_drupal
Registered Member
Posts
735
Karma
0

Compiling Kdenlive with latest MLT

Tue Feb 05, 2008 8:52 am

Dear Friends,



I am very pleased with latest MLT developments,

but it would nice for Kdenlive to support MLT

new SVN version before porting to Kde4, which may take a long time.



Bug: http://www.kdenlive.org/mantis/view.php?id=79



Are there any plans to fix these bugs

or should I downgrade MLT?



Kind regards,

Jean-Michel

cjubon
Registered Member
Posts
13
Karma
0

jb just committed the necessary changes to svn. No more need to downgrade mlt.



jmpoure_drupal
Registered Member
Posts
735
Karma
0

Thanks. MLT was updated with libavformat multi-treading support.

On Kdenvelive isde, there seems to be a problem:



[ 53%] Building CXX object kdenlive/CMakeFiles/kdenlive.dir/krender.o
In file included from /home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:35:
/usr/share/qt3/include/qxml.h:224: warning: ‘class QXmlReader’ has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:407: warning: ‘class QXmlContentHandler’ has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:424: warning: ‘class QXmlErrorHandler’ has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:433: warning: ‘class QXmlDTDHandler’ has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:441: warning: ‘class QXmlEntityResolver’ has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:448: warning: ‘class QXmlLexicalHandler’ has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:461: warning: ‘class QXmlDeclHandler’ has virtual functions but non-virtual destructor
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.h: In constructor ‘KRender::KRender(const QString&, QWidget*, const char*, int, int)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.h:205: warning: ‘KRender::m_externalwinid’ will be initialized after
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.h:185: warning: ‘double KRender::m_framePosition’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:74: warning: when initialized here
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.h:188: warning: ‘KRender::m_generateScenelist’ will be initialized after
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.h:156: warning: ‘bool KRender::isBlocked’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:74: warning: when initialized here
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:76: error: invalid use of incomplete type ‘struct Mlt::Profile’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kthumb.h:44: error: forward declaration of ‘struct Mlt::Profile’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:89: error: no matching function for call to ‘Mlt::Filter::Filter(Mlt::Profile&, const char [10])’
/usr/include/mlt++/MltFilter.h:42: note: candidates are: Mlt::Filter::Filter(mlt_filter_s*)
/usr/include/mlt++/MltFilter.h:41: note: Mlt::Filter::Filter(Mlt::Filter&)
/usr/include/mlt++/MltFilter.h:40: note: Mlt::Filter::Filter(Mlt::Service&)
/usr/include/mlt++/MltFilter.h:39: note: Mlt::Filter::Filter(char*, char*)
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:94: error: no matching function for call to ‘Mlt::Consumer::Consumer(Mlt::Profile&, const char [12])’
/usr/include/mlt++/MltConsumer.h:43: note: candidates are: Mlt::Consumer::Consumer(mlt_consumer_s*)
/usr/include/mlt++/MltConsumer.h:42: note: Mlt::Consumer::Consumer(Mlt::Consumer&)
/usr/include/mlt++/MltConsumer.h:41: note: Mlt::Consumer::Consumer(Mlt::Service&)
/usr/include/mlt++/MltConsumer.h:40: note: Mlt::Consumer::Consumer(char*, char*)
/usr/include/mlt++/MltConsumer.h:39: note: Mlt::Consumer::Consumer()
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:120: warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: At global scope:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:173: warning: unused parameter ‘self’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘int KRender::resetRendererProfile(char*)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:201: warning: possible problem detected in invocation of delete operator:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:201: warning: invalid use of incomplete type ‘struct Mlt::Profile’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kthumb.h:44: warning: forward declaration of ‘struct Mlt::Profile’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:201: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:202: error: invalid use of incomplete type ‘struct Mlt::Profile’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kthumb.h:44: error: forward declaration of ‘struct Mlt::Profile’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:203: error: invalid use of incomplete type ‘struct Mlt::Profile’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kthumb.h:44: error: forward declaration of ‘struct Mlt::Profile’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:204: error: no matching function for call to ‘Mlt::Consumer::Consumer(Mlt::Profile&, const char [12])’
/usr/include/mlt++/MltConsumer.h:43: note: candidates are: Mlt::Consumer::Consumer(mlt_consumer_s*)
/usr/include/mlt++/MltConsumer.h:42: note: Mlt::Consumer::Consumer(Mlt::Consumer&)
/usr/include/mlt++/MltConsumer.h:41: note: Mlt::Consumer::Consumer(Mlt::Service&)
/usr/include/mlt++/MltConsumer.h:40: note: Mlt::Consumer::Consumer(char*, char*)
/usr/include/mlt++/MltConsumer.h:39: note: Mlt::Consumer::Consumer()
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:230: warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘QPixmap KRender::extractFrame(int, int, int)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:302: error: no matching function for call to ‘Mlt::Filter::Filter(Mlt::Profile&, const char [15])’
/usr/include/mlt++/MltFilter.h:42: note: candidates are: Mlt::Filter::Filter(mlt_filter_s*)
/usr/include/mlt++/MltFilter.h:41: note: Mlt::Filter::Filter(Mlt::Filter&)
/usr/include/mlt++/MltFilter.h:40: note: Mlt::Filter::Filter(Mlt::Service&)
/usr/include/mlt++/MltFilter.h:39: note: Mlt::Filter::Filter(char*, char*)
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘QPixmap KRender::getVideoThumbnail(QString, int, int, int)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:344: error: no matching function for call to ‘Mlt::Producer::Producer(Mlt::Profile&, char*&)’
/usr/include/mlt++/MltProducer.h:46: note: candidates are: Mlt::Producer::Producer(Mlt::Producer*)
/usr/include/mlt++/MltProducer.h:45: note: Mlt::Producer::Producer(Mlt::Producer&)
/usr/include/mlt++/MltProducer.h:44: note: Mlt::Producer::Producer(mlt_producer_s*)
/usr/include/mlt++/MltProducer.h:43: note: Mlt::Producer::Producer(Mlt::Service&)
/usr/include/mlt++/MltProducer.h:42: note: Mlt::Producer::Producer(char*, char*)
/usr/include/mlt++/MltProducer.h:41: note: Mlt::Producer::Producer()
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:351: error: no matching function for call to ‘Mlt::Filter::Filter(Mlt::Profile&, const char [15])’
/usr/include/mlt++/MltFilter.h:42: note: candidates are: Mlt::Filter::Filter(mlt_filter_s*)
/usr/include/mlt++/MltFilter.h:41: note: Mlt::Filter::Filter(Mlt::Filter&)
/usr/include/mlt++/MltFilter.h:40: note: Mlt::Filter::Filter(Mlt::Service&)
/usr/include/mlt++/MltFilter.h:39: note: Mlt::Filter::Filter(char*, char*)
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::getImage(KURL, int, QPoint)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:367: error: no matching function for call to ‘Mlt::Producer::Producer(Mlt::Profile&, char*&)’
/usr/include/mlt++/MltProducer.h:46: note: candidates are: Mlt::Producer::Producer(Mlt::Producer*)
/usr/include/mlt++/MltProducer.h:45: note: Mlt::Producer::Producer(Mlt::Producer&)
/usr/include/mlt++/MltProducer.h:44: note: Mlt::Producer::Producer(mlt_producer_s*)
/usr/include/mlt++/MltProducer.h:43: note: Mlt::Producer::Producer(Mlt::Service&)
/usr/include/mlt++/MltProducer.h:42: note: Mlt::Producer::Producer(char*, char*)
/usr/include/mlt++/MltProducer.h:41: note: Mlt::Producer::Producer()
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:372: error: no matching function for call to ‘Mlt::Filter::Filter(Mlt::Profile&, const char [15])’
/usr/include/mlt++/MltFilter.h:42: note: candidates are: Mlt::Filter::Filter(mlt_filter_s*)
/usr/include/mlt++/MltFilter.h:41: note: Mlt::Filter::Filter(Mlt::Filter&)
/usr/include/mlt++/MltFilter.h:40: note: Mlt::Filter::Filter(Mlt::Service&)
/usr/include/mlt++/MltFilter.h:39: note: Mlt::Filter::Filter(char*, char*)
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘bool KRender::isValid(KURL)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:451: error: no matching function for call to ‘Mlt::Producer::Producer(Mlt::Profile&, char*&)’
/usr/include/mlt++/MltProducer.h:46: note: candidates are: Mlt::Producer::Producer(Mlt::Producer*)
/usr/include/mlt++/MltProducer.h:45: note: Mlt::Producer::Producer(Mlt::Producer&)
/usr/include/mlt++/MltProducer.h:44: note: Mlt::Producer::Producer(mlt_producer_s*)
/usr/include/mlt++/MltProducer.h:43: note: Mlt::Producer::Producer(Mlt::Service&)
/usr/include/mlt++/MltProducer.h:42: note: Mlt::Producer::Producer(char*, char*)
/usr/include/mlt++/MltProducer.h:41: note: Mlt::Producer::Producer()
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::getFileProperties(KURL, uint)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:463: warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:466: error: no matching function for call to ‘Mlt::Producer::Producer(Mlt::Profile&, char*&)’
/usr/include/mlt++/MltProducer.h:46: note: candidates are: Mlt::Producer::Producer(Mlt::Producer*)
/usr/include/mlt++/MltProducer.h:45: note: Mlt::Producer::Producer(Mlt::Producer&)
/usr/include/mlt++/MltProducer.h:44: note: Mlt::Producer::Producer(mlt_producer_s*)
/usr/include/mlt++/MltProducer.h:43: note: Mlt::Producer::Producer(Mlt::Service&)
/usr/include/mlt++/MltProducer.h:42: note: Mlt::Producer::Producer(char*, char*)
/usr/include/mlt++/MltProducer.h:41: note: Mlt::Producer::Producer()
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:481: error: no matching function for call to ‘Mlt::Filter::Filter(Mlt::Profile&, const char [15])’
/usr/include/mlt++/MltFilter.h:42: note: candidates are: Mlt::Filter::Filter(mlt_filter_s*)
/usr/include/mlt++/MltFilter.h:41: note: Mlt::Filter::Filter(Mlt::Filter&)
/usr/include/mlt++/MltFilter.h:40: note: Mlt::Filter::Filter(Mlt::Service&)
/usr/include/mlt++/MltFilter.h:39: note: Mlt::Filter::Filter(char*, char*)
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::setSceneList(QDomDocument, int)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:607: error: no matching function for call to ‘Mlt::Producer::Producer(Mlt::Profile&, const char [12], char*&)’
/usr/include/mlt++/MltProducer.h:46: note: candidates are: Mlt::Producer::Producer(Mlt::Producer*)
/usr/include/mlt++/MltProducer.h:45: note: Mlt::Producer::Producer(Mlt::Producer&)
/usr/include/mlt++/MltProducer.h:44: note: Mlt::Producer::Producer(mlt_producer_s*)
/usr/include/mlt++/MltProducer.h:43: note: Mlt::Producer::Producer(Mlt::Service&)
/usr/include/mlt++/MltProducer.h:42: note: Mlt::Producer::Producer(char*, char*)
/usr/include/mlt++/MltProducer.h:41: note: Mlt::Producer::Producer()
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:646: error: invalid use of incomplete type ‘struct Mlt::Profile’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kthumb.h:44: error: forward declaration of ‘struct Mlt::Profile’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:651: error: no matching function for call to ‘Mlt::Filter::Filter(Mlt::Profile&, const char [10])’
/usr/include/mlt++/MltFilter.h:42: note: candidates are: Mlt::Filter::Filter(mlt_filter_s*)
/usr/include/mlt++/MltFilter.h:41: note: Mlt::Filter::Filter(Mlt::Filter&)
/usr/include/mlt++/MltFilter.h:40: note: Mlt::Filter::Filter(Mlt::Service&)
/usr/include/mlt++/MltFilter.h:39: note: Mlt::Filter::Filter(char*, char*)
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘const GenTime& KRender::seekPosition() const’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:892: warning: returning reference to temporary
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:893: warning: returning reference to temporary
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: At global scope:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:922: warning: unused parameter ‘srcFileName’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:922: warning: unused parameter ‘port’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:922: warning: unused parameter ‘startTime’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:922: warning: unused parameter ‘endTime’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::exportCurrentFrame(KURL, bool)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:938: error: no matching function for call to ‘Mlt::Filter::Filter(Mlt::Profile&, const char [15])’
/usr/include/mlt++/MltFilter.h:42: note: candidates are: Mlt::Filter::Filter(mlt_filter_s*)
/usr/include/mlt++/MltFilter.h:41: note: Mlt::Filter::Filter(Mlt::Filter&)
/usr/include/mlt++/MltFilter.h:40: note: Mlt::Filter::Filter(Mlt::Service&)
/usr/include/mlt++/MltFilter.h:39: note: Mlt::Filter::Filter(char*, char*)
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::mltCheckLength()’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:986: warning: passing ‘double’ for argument 2 to ‘int Mlt::Playlist::remove_region(int, int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:988: warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::mltInsertClip(int, GenTime, QString)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1021: error: no matching function for call to ‘Mlt::Producer::Producer(Mlt::Profile&, const char [12], char*&)’
/usr/include/mlt++/MltProducer.h:46: note: candidates are: Mlt::Producer::Producer(Mlt::Producer*)
/usr/include/mlt++/MltProducer.h:45: note: Mlt::Producer::Producer(Mlt::Producer&)
/usr/include/mlt++/MltProducer.h:44: note: Mlt::Producer::Producer(mlt_producer_s*)
/usr/include/mlt++/MltProducer.h:43: note: Mlt::Producer::Producer(Mlt::Service&)
/usr/include/mlt++/MltProducer.h:42: note: Mlt::Producer::Producer(char*, char*)
/usr/include/mlt++/MltProducer.h:41: note: Mlt::Producer::Producer()
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1025: warning: passing ‘double’ for argument 1 to ‘int Mlt::Playlist::insert_at(int, Mlt::Producer&, int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::mltCutClip(int, GenTime)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1043: warning: passing ‘double’ for argument 1 to ‘int Mlt::Playlist::split_at(int, bool)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::mltRemoveClip(int, GenTime)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1057: warning: passing ‘double’ for argument 1 to ‘int Mlt::Playlist::get_clip_index_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::mltRemoveEffect(int, GenTime, QString, QString, int)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1073: warning: passing ‘double’ for argument 1 to ‘Mlt::Producer* Mlt::Playlist::get_clip_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::mltAddEffect(int, GenTime, QString, QString, QMap)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1113: warning: passing ‘double’ for argument 1 to ‘Mlt::Producer* Mlt::Playlist::get_clip_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1125: error: no matching function for call to ‘Mlt::Filter::Filter(Mlt::Profile&, char*&)’
/usr/include/mlt++/MltFilter.h:42: note: candidates are: Mlt::Filter::Filter(mlt_filter_s*)
/usr/include/mlt++/MltFilter.h:41: note: Mlt::Filter::Filter(Mlt::Filter&)
/usr/include/mlt++/MltFilter.h:40: note: Mlt::Filter::Filter(Mlt::Service&)
/usr/include/mlt++/MltFilter.h:39: note: Mlt::Filter::Filter(char*, char*)
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1140: error: no matching function for call to ‘Mlt::Filter::Filter(Mlt::Profile&, char*&)’
/usr/include/mlt++/MltFilter.h:42: note: candidates are: Mlt::Filter::Filter(mlt_filter_s*)
/usr/include/mlt++/MltFilter.h:41: note: Mlt::Filter::Filter(Mlt::Filter&)
/usr/include/mlt++/MltFilter.h:40: note: Mlt::Filter::Filter(Mlt::Service&)
/usr/include/mlt++/MltFilter.h:39: note: Mlt::Filter::Filter(char*, char*)
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::mltEditEffect(int, GenTime, int, QString, QString, QMap)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1177: warning: passing ‘double’ for argument 1 to ‘Mlt::Producer* Mlt::Playlist::get_clip_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::mltResizeClipEnd(int, GenTime, GenTime, GenTime)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1215: warning: passing ‘double’ for argument 1 to ‘bool Mlt::Playlist::is_blank_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1217: warning: passing ‘double’ for argument 1 to ‘int Mlt::Playlist::get_clip_index_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1220: warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1223: warning: passing ‘double’ for argument 2 to ‘int Mlt::Playlist::resize_clip(int, int, int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::mltResizeClipStart(int, GenTime, GenTime, GenTime, GenTime, GenTime)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1271: warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1276: warning: passing ‘double’ for argument 1 to ‘bool Mlt::Playlist::is_blank_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1278: warning: passing ‘double’ for argument 1 to ‘int Mlt::Playlist::get_clip_index_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1281: warning: passing ‘double’ for argument 2 to ‘int Mlt::Playlist::resize_clip(int, int, int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1281: warning: passing ‘double’ for argument 3 to ‘int Mlt::Playlist::resize_clip(int, int, int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1284: warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::mltMoveClip(int, int, int, int)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1324: warning: unused variable ‘multiprod’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::mltMoveTransition(QString, int, int, GenTime, GenTime, GenTime, GenTime)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1361: warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1363: warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1364: warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::mltAddTransition(QString, int, int, GenTime, GenTime, QMap)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1397: error: no matching function for call to ‘Mlt::Transition::Transition(Mlt::Profile&, char*&)’
/usr/include/mlt++/MltTransition.h:41: note: candidates are: Mlt::Transition::Transition(mlt_transition_s*)
/usr/include/mlt++/MltTransition.h:40: note: Mlt::Transition::Transition(Mlt::Transition&)
/usr/include/mlt++/MltTransition.h:39: note: Mlt::Transition::Transition(Mlt::Service&)
/usr/include/mlt++/MltTransition.h:38: note: Mlt::Transition::Transition(char*, char*)
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In member function ‘void KRender::mltSavePlaylist()’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1424: error: no matching function for call to ‘Mlt::Consumer::Consumer(Mlt::Profile&, const char [8])’
/usr/include/mlt++/MltConsumer.h:43: note: candidates are: Mlt::Consumer::Consumer(mlt_consumer_s*)
/usr/include/mlt++/MltConsumer.h:42: note: Mlt::Consumer::Consumer(Mlt::Consumer&)
/usr/include/mlt++/MltConsumer.h:41: note: Mlt::Consumer::Consumer(Mlt::Service&)
/usr/include/mlt++/MltConsumer.h:40: note: Mlt::Consumer::Consumer(char*, char*)
/usr/include/mlt++/MltConsumer.h:39: note: Mlt::Consumer::Consumer()
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: At global scope:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:173: warning: ‘void consumer_stopped(mlt_consumer_s*, KRender*, mlt_frame_s*)’ defined but not used
make[2]: *** [kdenlive/CMakeFiles/kdenlive.dir/krender.o] Erreur 1
make[1]: *** [kdenlive/CMakeFiles/kdenlive.dir/all] Erreur 2
make: *** [all] Erreur 2
ddennedy
Registered Member
Posts
1315
Karma
1

Your installed version of mlt++ is out-of-date.



jmpoure_drupal
Registered Member
Posts
735
Karma
0

Thanks. Works for me. I had to uninstall and reinstall mlt/mlt++.

deere
Registered Member
Posts
8
Karma
0

Hi all,

just tested the install script and am getting an error while

trying to compile mlt (ffmpeg compiles fine before it):




...
make[2]: Leaving directory `/usr/src/mlt/src/modules/valerie'
make[2]: Entering directory `/usr/src/mlt/src/modules/sox'
cc -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -L'/usr/lib' -I'/usr/include' -I../../ -I../../ -c -o factory.o factory.c
cc -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -L'/usr/lib' -I'/usr/include' -I../../ -I../../ -c -o filter_sox.o filter_sox.c
cc -shared -o ../libmltsox.so factory.o filter_sox.o -lst -lmad -lvorbisenc -lvorbisfile -logg -lasound -lm -lgsm -lsndfile -lsamplerate -L../../framework -lmlt
/usr/bin/ld: cannot find -lsndfile
collect2: ld returned 1 exit status
make[2]: *** [../libmltsox.so] Error 1
make[2]: Leaving directory `/usr/src/mlt/src/modules/sox'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/src/mlt/src/modules'
make: *** [all] Error 1


Any ideas? I'm runny Ubuntu gutsy amd64, and have installed

all the dependencies as listed on the wiki. I also tried removing

the packages as listed above prior to install, which also didn't help.



Cheers



Deere.



---EDIT---



Sorry, reposted here- http://www.kdenlive.org/bbforum/viewtopic.php?f=8&t=339&p=1672#p1672 - as this is the version of the script I am running.



Cheers.



Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]