[Kdenlive-devel] Kdenlive on debian

liebrand at apollo.nu liebrand at apollo.nu
Tue Nov 11 20:33:55 UTC 2003


Just a quick update on getting kdenlive up and running on debian: it's working!
with a fair bit of help from Jason (thanks!) we got it compiling and running.

As for the tasks to get you there, for those intereseted, or for you Jason to
put it in a faq:

1- Get a version of debian that runs KDE3. I tried to do upgrade bits and pieces
of my kde and failed misserably. Instead just get a distro (or flavour of
debian) that comes with kde 3.  A very nice and clean distro is Knoppix 3.3, but
choose whatever you fancy.

2- getting piave 0.2.3 compiling:
I did not have the correct compiler flags, so I had to add them. I simply
exported these, I'm sure there's other ways but here you go:
export CFLAGS="-DENABLE_DEBUG=0 -DENABLE_EXPERIMENTAL_CODE=0"
export CXXFLAGS="-DENABLE_DEBUG=0 -DENABLE_EXPERIMENTAL_CODE=0"

(not sure if you need both, but what the heck)

run ./configure and then manually edit piave-0.2.3/config.h and add:
#define CPU_IS_LITTLE_ENDIAN 1  /* for i686 */
#define CPU_IS_BIG_ENDIAN 0
#define SIZEOF_SF_COUNT_T 4   /*not sure aobut this one.. should it be 8? what
does it do?*/

Add #include <assert.h> to 
/piave-0.2.3/utils/pgrab.cc

run make and make install and it should work.

3- getting kdenlive 0.2.3 compiling:
run ./configure --with-qt-dir=/usr/share/qt --prefix=/usr

(if /usr is the base for kde which it seems to be for knoppix)

the first time around it compiled, linked, but fell over on the french docs,
which was slightly odd.. Redo'ing this from scratch made it bail out on the
linker. For every class it had undefined references for, I needed to add that
source file to the kdenlive_SOURCES in kdenlive-0.2.3/kdenlive/Makefile.am

then it worked.

I now have it up and running, but it doesn't like any of the avi files I've
given it so far... It seems to play them all at twice the speed. Not sure why
though. And it gets a lot of warnings in the debug window to do with sound.
However I'm guessing that might be cuz its trying to play things at twice the speed.

Once i fix that (or at least find out whats going wrong), I'll try and package
two .debs together. One for piave and one for kdenlive. With a bit of luck, I'll
be able to add my server as a debian package repositry, which will allow other
users to apt-get install piave and kdenlive for debian. But there's not much
point right now, with all clips playing at 2x the correct speed.

Which brings me to a question. I can't find any 'project settings' anywhere. Is
this simply not there yet, or is it a design thing? I would expect some overal
project setting like framerate and resolution, which would apply to the complete
timeline no matter what the individual settings of the clips are. Is this
planned, or is this s'posed to work differently than I would expect?

/Cheers,
Jelte



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




More information about the Kdenlive mailing list