Registered Member
|
Can anybody tell me how to build the KDE4 version? Building on openSUSE fails with: Generating moc_clipmanager.cpp I also tried the kdenlive_builder scripts from this forum but there i have a lot of problems with mlt build. Is there any chance to get beta-packages to help testing and debugging the new version? |
Registered Member
|
a short summary:
mean: the mlt++ version ist too old (mlt version maybe also to old) the crash with the qt-mt.so.3 comes from the qt3 module in mlt, when mlt is used with qt4 environment (as it is in kdelive-kde4) remove the libmltqimage.so which is installed with mlt and the crash should not happen again. i hope this helps |
Registered Member
|
Hi, I've recieved a hint from the kdenlive-devel list that qt 4.4 is needed. Good luck ;) greetings ) Always using latest svn versions of mlt, mlt++ and kdenlive (ubuntu). |
Registered Member
|
I was able to build and run kdenlive kde4 on Ubuntu Hardy. Here are some of my notes (which may not be comprehensive, sorry, but let me know what I missed...) Added software repositories: deb http://debian-multimedia.org testing main Installed mlt. mlt++, and ffmpeg from the repositories. Installed kde4-devel package Get latest kdenlive svn: svn co https://kdenlive.svn.sourceforge.net/sv ... nches/KDE4 kdenlivekde4 Compile like this (note that important single dot/period at the end of cmake line): cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS:STRING="-Wno-write-strings" . Use dpkg to install the resulting deb package. To stop kdenlive from nagging about where the profiles are (from package libmlt-data) I made a symlink: /usr/share/mlt/profiles -> /usr/lib/mlt/profiles To stop kdenlive from immediately crashing I removed /usr/lib/mlt/libmltqimage.so (which came from package libmlt0.2.5) No doubt compiling the latest mlt, mlt++ and ffmpeg will have advantages. But I am glad just to have it run. The biggest problem I seem to have is that adding an audio clip (wav or mp3) causes a lock up (sometimes). Bill |
Registered Member
|
Okay, here's the first thing I forgot in my notes... right before calling cmake I needed this: PATH=/usr/lib/kde4/bin:$PATH Otherwise it will complain that it can't find (run) kde4-config. Bill |
Registered Member
|
could you post a gdb backtrace ? |
Registered Member
|
it seems like kdenlive did not get a proper sdl windows for the monitor. this problem was know and fixed in kde3 version, but kde4 had this problem not. you have 2 monitor windows at the same time open ? does this crash happen every or only sometimes ? |
Registered Member
|
In my previous post(s) I indicated that I removed libmltqimage.so in order to stop the immediate crash in Kdenlive, but the better solution is to (re)compile MLT (and MLT++) using qt4. This I accomplished by passing the following to the MLT configure: ./configure --prefix=/usr --kde-libdir=/usr/lib/kde4 --kde-includedir=/usr/lib/kde4/include --qimage-libdir=/usr/lib --qimage-includedir=/usr/include/qt4 --enable-gpl --avformat-swscale --enable-motion-est --enable-mmx --enable-debug the key parameters being the locations of the qt4 lib and include dirs, as found in my Ubuntu Hardy system, which the mlt configure then indicates that it is using qt4 for qimage. Also the frei0r test compile that occurs in the frei0r configure fails unnecessarily (apparently from the $CFLAGS parameter being null when it should at least be -I/usr/include ) and I simply commented out the entire test clause in [MLT Source Dir]/src/modules/frei0r/configure and from what I can tell, the frei0r module compiles fine. The MLT++ configure had nothing unusual, like this: ./configure --prefix=/usr --enable-debug Having installed these MLT and MLT++ builds (SVN 1163), I no longer have lock-ups when placing audio tracks, and things seem to be working pretty good. Bill Edit: The frei0r test problem is the -e parameter being passed to echo when using /bin/sh |
Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]