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

kdenlive_builder.sh - ffmpeg

Tags: None
(comma "," separated)
eljefe
Registered Member
Posts
59
Karma
0

Re: kdenlive_builder.sh - ffmpeg

Thu Feb 14, 2008 5:13 pm

Yes, it seems the older scripts worked enough to DL the svn sources and begin the build process (which eventually failed), but this new one doesn't do much at all -- and I have no idea why either!



What I've done, on my Kubuntu 7.10 machine:

I've "sudo apt-get remove kdenlive libmlt libmlt++ kdenlive-data libmlt-data" per Dan Dennedy a few days ago.



download the tarballed script that you recently posted, untar it, and copy it to /home/eljefe/_newfolder_/ This way, I start with a clean folder each time.



open a command prompt at that location

$ mkdir src build [i](if I don't do this I get a failure for sure)[/i]
$ ./kdenlive_builder.sh


Pick the "Full" option; enter the full path for my source and build directories:

/home/eljefe/try080214_10.30/src

/home/eljefe/try080214_10.30/build



Watch it skip the SVN downloads (SOMETIMES, but other times it seems to work??? like just now, it failed, then i wanted a better output for posting here, and it DID check out SVN... but the fail time I ran "./kdenlive_builder.sh > process.txt" and that file reads:

$ cat process.txt
Skipped '.'
Skipped '.'
Skipped '.'
Skipped '.'


and i don't know the reason it skipped, its almost certainly not due to the > redirect since it was doing that before also)

Answer "Yes" to the three ffmpeg format options...



watch it do its thing...



AND OF COURSE the time I really *want* it to fail, its getting past my previous 53% always-fail point...



And, great, it worked this time! I mean it, it is good news, but it doesn't help to fix my errors that I've been getting for days now...



One thing I think we should consider is that, if the source and build directories don't exist, they should be created. Also, the variables should be cleared out (initialized?) at the beginning of running the various steps so that my build and source directory variables aren't held over from a previous run of the script (if my src dir doesn't exist i think it is checking SVN (when it works) into the one I had entered days ago, which sometimes doesn't exist and sometimes does and sometimes its been moved to KDE's trash).



Well, I don't know. The build worked this time, but it doesn't run:

eljefe@eljefe-desktop:~/try080214_10.30$ ./build/bin/kdenlive
./build/bin/kdenlive: error while loading shared libraries: libmlt++.so.0: cannot open shared object file: No such file or directory


How can I point it to the correct libmlt++.so.0 file? I get the feeling it was looking at the system version in the past, which i recently removed...

Thank you JM for your patience and help. I want to get it to run now, but I am at work so cannot look into the run error right now, maybe tonight (but its Valentines day, I may not have time tonight)...



Thanks again!!!!

eljefe
Registered Member
Posts
59
Karma
0

Re: kdenlive_builder.sh - ffmpeg

Thu Feb 14, 2008 6:06 pm

OK yes i am at work but I want my KDEnlive!



I read the post about linking to the correct libraries here

http://www.kdenlive.org/bbforum/viewtopic.php?f=8&t=69



and then I ran this:

eljefe@eljefe-desktop:~/try080214_10.30/build$ export LD_LIBRARY_PATH=/home/eljefe/try080214_10.30/build/lib/:$LD_LIBRARY_PATH



and started KDEnlive thus:

eljefe@eljefe-desktop:~/try080214_10.30/build$ ./bin/kdenlive
kbuildsycoca running...
Reusing existing ksycoca
kdenlive: + + YOUR MLT INSTALL WAS FOUND IN: /home/eljefe/try080214_10.30/build
...
...


and KDEnlive came up (after specifying the correct path for MLT install as "/home/eljefe/try080214_10.30/build") and now I have it running! I am thrilled! and I cannot work on it until the weekend, likely! Oh well, we're up and running!



How long does the "export LD_LIBRARY_PATH=/home/eljefe/try080214_10.30/build/lib/:$LD_LIBRARY_PATH" stay valid? Will that mess anything else up, or is that a KDEnlive-specific variable?

herrej01
Registered Member
Posts
48
Karma
0

Re: kdenlive_builder.sh - ffmpeg

Thu Feb 14, 2008 9:21 pm

Great :D



I've just arrived home and going to have a look at the script when I saw your message ! Well, at the end it seems the script works !!



Anyway, I'm trying to answer some of your questions just in case they are of help to anybody else:



- In order to know if it needs to download sources, the script is looking for a "kdenlive" directory in your specified sources dir. If it does not find, then download a full version of the sources. If it finds, then only updates the sources (much quicker) but if svn find that you've already last version, then skip the process. Also, if for any reason you've an empty or non valid "kdenlive" directory in your sources dir, the script try to update sources but, as there's nothing to update, also skip.



My suggestion is to create a sources dir in your home directory (or in /usr/src if you want to update main kdenlive installation) and use always the same directory. I can not find any reason to have multiple sources in the PC and this can be cause of some problems.



- Yes, if the source and build directories do no exist, they are created and variables initialized. But be aware of what I mentioned before. I know that just checking existence of a directory is not a perfect way to check existence of all the source files, but really I do not know a better way. Any help appreciated ;)



- Variable $LD_LIBRARY_PATH is a system variable to tell programs where to find necessary libs. If this variable does not point to the right directories, the program can not find libraries and fails (this is what you experienced). In theory, the script is prepared to automatically link the executable with the libraries, but as you've found this is not working and that's why it's necessary to setup the variable in the terminal before running kdenlive.



I'm going to check in detail the script to try to find where the problem is, but I can not assure it will work. If succesful I'll post a new version.



Well, let us know what you think about kdenlive when you'll be able to test it ! Hope it will delight you :)



Regards. JM

andylinux
Registered Member
Posts
3
Karma
0

Re: kdenlive_builder.sh - ffmpeg

Fri Feb 15, 2008 3:23 am

The updated scripts works for me. Thanks so much for fixing the script. It does find the correct svn mlt version without setting any library variables.



ddennedy
Registered Member
Posts
1315
Karma
1

Re: kdenlive_builder.sh - ffmpeg

Fri Feb 15, 2008 6:56 am

I took a look at your script tonight and tried it out.



On the ffmpeg configure options, you should remove --enable-pp, mlt does not use it at this time. Also, I would add --enable-pthreads to let SMP users take advantage of multi-threaded codecs.



On the make commands, I suggest adding '-j2' to make it faster, even for non-SMP users.



On the mlt configure step, I suggest --disable-mmx because mlt will fail on x86-64 systems without it. If you can detect the system type (e.g., 'file /bin/cat | grep x86-64' and get $?), then you can make it smart.



Finally, LD_LIBRARY_PATH is more standard than LD_RUN_PATH and documented in 'man ld.so' I had to use LD_LIBRARY_PATH; LD_RUN_PATH did not work on my system.



Users who do not install to /usr (and sometimes /usr/local) will not be able to run kdenlive without setting these env vars (PATH and LD_LIBRARY_PATH) each time they want to run kdenlive. You might consider generating a start_kdenlive script installed to DEST_DIR/bin to establish this environment and launch kdenlive. Or, rename kdenlive to kdenlive-bin and name the script kdenlive. Also, this launch script could detect if there is more than one CPU and set MLT_AVFORMAT_THREADS:



CPUS=$(cat /proc/cpuinfo | grep processor | tail -1 | awk '{print $3}')

export MLT_AVFORMAT_THREADS=$(($CPUS + 1))



ddennedy
Registered Member
Posts
1315
Karma
1

Re: kdenlive_builder.sh - ffmpeg

Fri Feb 15, 2008 7:07 am

Here is my launcher script:

#!/bin/sh
PREFIX=$(dirname $0)
PREFIX=$(dirname $PREFIX)
export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
export PATH=$PREFIX/bin:$PATH
CPUS=$(cat /proc/cpuinfo | grep processor | tail -1 | awk '{print $3}')
export MLT_AVFORMAT_THREADS=$(($CPUS + 1))
kdenlive-bin


Of course, I can't really use the .desktop launcher, and I have to know to run $DEST_DIR/bin/kdenlive.


herrej01
Registered Member
Posts
48
Karma
0

Re: kdenlive_builder.sh - ffmpeg

Fri Feb 15, 2008 9:59 pm

Dan,



thanks for your comments. I've included them in a new version of the script, again with some other improvements and I'm attaching here this new version.



One of the improvements is to correct the use of LD_RUN_PATH, pointing to the right directory. If my behaviour is correct, this change will allow to dinamically link correct libraries with kdenlive executable at compilation time, so no need to set variable LD_LIBRARY_PATH when executing kdenlive. I've tested and seems to work ok for me, but appreciate if others can also test.



(For those who doesn't know: Just execute the script, enter the terminal, go to the directory where you've installed the executables (xxx/bin) and execute kdenlive (./kdenlive). If my assumption is OK, you'll see a message telling that MLT has been found in your installation directory and not in /usr or /usr/local).



Anyway, your execution script is still valid to set multithreads for MLT, so if you do not mind and depending on the result of previous test, I'll change and include also with the builder.



Thanks again and best regards.

JM



*** EDITED ***



Removed script as a new version has been posted in this thread

deere
Registered Member
Posts
8
Karma
0

Re: kdenlive_builder.sh - ffmpeg

Mon Mar 10, 2008 12:55 pm

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.

herrej01
Registered Member
Posts
48
Karma
0

Re: kdenlive_builder.sh - ffmpeg

Mon Mar 10, 2008 10:42 pm

Hi,



I'm attaching a new version of the script with following changes due modifications in ffmpeg structure:



- Find correct avformat headers in in /libavformat (thanks to toohes for pointing this ;) ). Anyway, I think the right option is for Dan or JB to modify makefiles accordingly.

- Change configure option in ffmpeg from --enable-swscaler to --enable-swscale

- Discontinue support for external vorbis encoders, as now ffmpeg has built in support.



Hope this helps.

Regards.

JM

toohes
Registered Member
Posts
11
Karma
0

Re: kdenlive_builder.sh - ffmpeg

Tue Mar 11, 2008 11:36 am

See here point 2.

And third as well.



deere
Registered Member
Posts
8
Karma
0

Re: kdenlive_builder.sh - ffmpeg

Wed Mar 12, 2008 3:07 am

Hi,



Cheers for the new script. Just dl'ed it and ran, it downloaded some updated versions, but is still failing to compile on mlt as below. Would it be something to do with my configuration?



deere wrote:
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.

mridkash
Registered Member
Posts
15
Karma
0

Re: kdenlive_builder.sh - ffmpeg

Wed Mar 12, 2008 6:21 pm

deere wrote:
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.



Same here, I'm trying to look for -lsndfile



EDIT: Fixed, after a quick search on packages.ubuntu.com, you have to install the package libsndfile1-dev



deere
Registered Member
Posts
8
Karma
0

Re: kdenlive_builder.sh - ffmpeg

Thu Mar 13, 2008 3:33 pm

>> you have to install the package libsndfile1-dev



Thanks mridkash! Solved the problem. All good, success on

the compile now. Someone might want to add the package

to the list on the wiki for Ubuntu.



Cheers.

doitux
Registered Member
Posts
6
Karma
0

Re: kdenlive_builder.sh - ffmpeg

Mon Apr 14, 2008 11:41 am

I try to build with the current script but i get problems linking kdenlive :(



-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.3.4 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/l
ibXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/l
ibXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS
-- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.0 include dir: /usr/include
-- Found KDE 4 library dir: /usr/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found KDE4 automoc: /usr/bin/kde4automoc
-- Found MLT INSTALL PATH: /home/doitux/Programme/kdenlive-kde4/bin/mlt-config ,
/home/doitux/Programme/kdenlive-kde4
-- Found MLT INCLUDES: /home/doitux/Programme/kdenlive-kde4/include/mlt
-- Found MLT LIBR: /home/doitux/Programme/kdenlive-kde4/lib/libmlt.so
-- Found MLT library: /home/doitux/Programme/kdenlive-kde4/lib/libmlt.so
-- Found MLT++ INCLUDES: /home/doitux/Programme/kdenlive-kde4/include
-- Found MLT++ LIBR: /home/doitux/Programme/kdenlive-kde4/lib/libmlt++.so
-- Found MLT++ library: /home/doitux/Programme/kdenlive-kde4/lib/libmlt++.so
-- Found FFMPEG INCLUDES: /usr/include
-- Found FFMPEG LIBR: /home/doitux/Programme/kdenlive-kde4/lib/libavformat.so
-- Found FFMPEG library: /home/doitux/Programme/kdenlive-kde4/lib/libavformat.so
-- Found msgfmt: /usr/bin/msgfmt
-- Found Nepomuk: /usr/lib/libnepomuk.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/doitux/Programme/kdenlive-kde4/src/kd
enlive
[ 1%] Generating kdenlive_render_automoc.cpp
[ 2%] Generating ui_clipproperties_ui.h
Scanning dependencies of target kdenlive_render
[ 3%] Generating kdenlivesettings.h, kdenlivesettings.cpp
[ 4%] Building CXX object renderer/cmake_bindir/CMakeFiles/kdenlive_render.dir/
kdenlive_render_automoc.o
[ 5%] [ 6%] Generating ui_timeline_ui.h
Building CXX object renderer/cmake_bindir/CMakeFiles/kdenlive_render.dir/kdenliv
e_render.o
[ 7%] Generating ui_monitor_ui.h
[ 8%] Generating ui_recmonitor_ui.h
[ 10%] Generating ui_colorclip_ui.h
[ 11%] Generating ui_configmisc_ui.h
[ 12%] Generating ui_configenv_ui.h
[ 13%] Generating ui_configdisplay_ui.h
[ 14%] Generating ui_configcapture_ui.h
[ 15%] Generating ui_effectlist_ui.h
[ 16%] Generating ui_effectstack_ui.h
[ 17%] Generating ui_profiledialog_ui.h
[ 18%] Generating ui_projectsettings_ui.h
[ 20%] Generating ui_keyframewidget_ui.h
[ 21%] Generating ui_constval_ui.h
[ 22%] Generating ui_listval_ui.h
[ 23%] Generating ui_boolval_ui.h
[ 24%] Generating ui_colorval_ui.h
[ 25%] Generating ui_titlewidget_ui.h
[ 26%] Generating ui_timelinebuttons_ui.h
[ 27%] Generating ui_renderwidget_ui.h
[ 28%] Generating ui_saveprofile_ui.h
[ 30%] Generating ui_transitionsettings_ui.h
[ 31%] Generating ui_configjogshuttle_ui.h
[ 32%] Building CXX object renderer/cmake_bindir/CMakeFiles/kdenlive_render.dir/
renderjob.o
[ 33%] Generating ui_trackheader_ui.h
[ 34%] Generating kdenlivesettings.moc
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/cmake_bindir/kdenlivesetti
ngs.h:0: Warning: No relevant classes found. No output generated.
[ 35%] Generating kdenlive_automoc.cpp
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp: In mem
ber function ‘void RenderJob::slotAbort()’:
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp:50: err
or: ‘stderr’ was not declared in this scope
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp:50: err
or: ‘fprintf’ was not declared in this scope
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp:54: err
or: ‘QFile’ was not declared in this scope
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp:54: err
or: expected `;' before ‘f’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp:55: err
or: ‘f’ was not declared in this scope
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp:57: err
or: ‘QFile’ was not declared in this scope
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp:57: err
or: expected `;' before ‘f’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp:58: err
or: ‘f’ was not declared in this scope
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp:59: err
or: ‘exit’ was not declared in this scope
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp: In mem
ber function ‘void RenderJob::slotIsOver(int, QProcess::ExitStatus)’:
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp:89: err
or: ‘QFile’ was not declared in this scope
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp:89: err
or: expected `;' before ‘f’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp:90: err
or: ‘f’ was not declared in this scope
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/renderer/renderjob.cpp:102: er
ror: ‘exit’ was not declared in this scope
make[2]: *** [renderer/cmake_bindir/CMakeFiles/kdenlive_render.dir/renderjob.o]
Fehler 1
make[1]: *** [renderer/cmake_bindir/CMakeFiles/kdenlive_render.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
Generating customruler.moc
Generating monitormanager.moc
Generating customtrackview.moc
Generating mainwindow.moc
Generating moc_abstractclipitem.cpp
Scanning dependencies of target kdenlive
[ 36%] [ 37%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/addcl
ipcommand.o
Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/kdenlive_automoc.o
[ 38%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/main.o
[ 40%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/mainwindow.o
[ 41%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/customruler.
o
[ 42%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/smallruler.o
[ 43%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/projectlist.
o
[ 44%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/projectitem.
o
[ 45%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/monitor.o
[ 46%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/gentime.o
[ 47%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/renderer.o
In file included from /home/doitux/Programme/kdenlive-kde4/include/libavformat/a
vformat.h:40,
from /home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/rend
erer.cpp:28:
/home/doitux/Programme/kdenlive-kde4/include/libavcodec/avcodec.h:2326: warning:
‘ImgReSampleContext’ is deprecated (declared at /home/doitux/Programme/kdenlive
-kde4/include/libavcodec/avcodec.h:2320)
/home/doitux/Programme/kdenlive-kde4/include/libavcodec/avcodec.h:2336: warning:
‘ImgReSampleContext’ is deprecated (declared at /home/doitux/Programme/kdenlive
-kde4/include/libavcodec/avcodec.h:2320)
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp: In construct
or ‘Render::Render(const QString&, int, int, QWidget*)’:
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp:75: warning:
deprecated conversion from string constant to ‘char*’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp:85: warning:
deprecated conversion from string constant to ‘char*’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp:86: warning:
deprecated conversion from string constant to ‘char*’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp:86: warning:
deprecated conversion from string constant to ‘char*’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp: In member fu
nction ‘int Render::resetProfile(QString)’:
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp:140: warning:
deprecated conversion from string constant to ‘char*’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp:144: warning:
deprecated conversion from string constant to ‘char*’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp:150: warning:
deprecated conversion from string constant to ‘char*’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp: In member fu
nction ‘void Render::getFileProperties(const QDomElement&, int)’:
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp:384: warning:
deprecated conversion from string constant to ‘char*’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp:401: warning:
deprecated conversion from string constant to ‘char*’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp: In member fu
nction ‘void Render::setSceneList(QString, int)’:
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp:542: warning:
deprecated conversion from string constant to ‘char*’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp: In member fu
nction ‘void Render::mltInsertClip(int, GenTime, QDomElement)’:
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp:1037: warning
: deprecated conversion from string constant to ‘char*’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp: In member fu
nction ‘void Render::mltDeleteTransition(QString, int, int, GenTime, GenTime, QD
omElement, bool)’:
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp:1503: warning
: deprecated conversion from string constant to ‘char*’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp: In member fu
nction ‘void Render::mltSavePlaylist()’:
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/renderer.cpp:1616: warning
: deprecated conversion from string constant to ‘char*’
[ 48%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/kdenlivedoc.
o
[ 50%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/projectlistv
iew.o
[ 51%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/trackview.o
[ 52%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/docclipbase.
o
[ 53%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/timecode.o
[ 54%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/monitormanag
er.o
[ 55%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/headertrack.
o
[ 56%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/customtrackv
iew.o
[ 57%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/clipitem.o
[ 58%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/labelitem.o
[ 60%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/moveclipcomm
and.o
[ 61%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/resizeclipco
mmand.o
[ 62%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/razorclipcom
mand.o
[ 63%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/addtimelinec
lipcommand.o
[ 64%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/kthumb.o
[ 65%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/clipmanager.
o
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/kthumb.cpp: In member func
tion ‘virtual void MyThread::run()’:
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/kthumb.cpp:77: warning: de
precated conversion from string constant to ‘char*’
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/kthumb.cpp: In static memb
er function ‘static QPixmap KThumb::getFrame(Mlt::Producer*, int, int, int)’:
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/kthumb.cpp:228: warning: d
eprecated conversion from string constant to ‘char*’
[ 66%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/effectslist.
o
[ 67%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/initeffects.
o
[ 68%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/effectslistv
iew.o
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/initeffects.cpp: In static
member function ‘static char* initEffects::ladspaEffectString(int, QStringList)
’:
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/initeffects.cpp:265: warni
ng: deprecated conversion from string constant to ‘char*’
[ 70%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/addeffectcom
mand.o
[ 71%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/editeffectco
mmand.o
[ 72%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/effectstackv
iew.o
[ 73%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/effectstacke
dit.o
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/effectstackedit.cpp: In me
mber function ‘void EffectStackEdit::clearAllItems()’:
/home/doitux/Programme/kdenlive-kde4/src/kdenlive/src/effectstackedit.cpp:241: w
arning: deleting ‘void*’ is undefined
[ 74%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/parameterplo
tter.o
[ 75%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/profilesdial
og.o
[ 76%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/projectsetti
ngs.o
[ 77%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/kdenlivesett
ingsdialog.o
[ 78%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/complexparam
eter.o
[ 80%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/titlewidget.
o
[ 81%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/graphicsscen
erectmove.o
[ 82%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/effectslistw
idget.o
[ 83%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/titledocumen
t.o
[ 84%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/transition.o
[ 85%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/renderjob.o
[ 86%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/renderwidget
.o
[ 87%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/abstractclip item.o
[ 88%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/transitionse ttings.o
[ 90%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/recmonitor.o
[ 91%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/jogshuttle.o
[ 92%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/addtransitio ncommand.o
[ 93%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/edittransiti oncommand.o
[ 94%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/addfoldercom mand.o
[ 95%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/editfolderco mmand.o
[ 96%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/clipproperti es.o
[ 97%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/movetransiti oncommand.o
[ 98%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/kdenlivesett ings.o
Linking CXX executable kdenlive
[ 98%] Built target kdenlive
make: *** [all] Fehler 2


I cannot figure out the problem. Can anybody help me?

eljefe
Registered Member
Posts
59
Karma
0

Re: kdenlive_builder.sh - ffmpeg

Mon Apr 14, 2008 2:11 pm

What distro are you using?



With Debian-based distros (inc *buntus) I first added the multimedia repository (either Debian-Multimedia.org for Debian, or Medibuntu.org for *buntu); second I ran "apt-get build-dep mlt mlt++ kdenlive ffmpeg" as root, which installed needed packages for building the (old-but-available) versions of these apps; third I copied the new script from here:

viewtopic.php?f=8&t=516#p1810

and edited it to specify my directory (~/kdenlive/); then I saved that script, made it executable (chmod u+x kdenlive_builder.sh), and ran it from the command line:



~/kdenlive/# ./kdenlive-builder.sh



Try that, or adapt to your distro, and let us know!



Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]