[Solved] Error compiling MLT

Hello,

I am trying to install Kdenlive from source on a new Kubuntu 8.10 machine and I have an error with make for MLT. ./configure went fine and I have the following error :

cc -Wall -fPIC -DPIC   -O3 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I/usr/include/ffmpeg    -DFILTERS -DCODECS -I../.. -DSWSCALE   -c -o producer_avformat.o producer_avformat.c
producer_avformat.c: In function ‘find_default_streams’:
producer_avformat.c:131: erreur: ‘AVStream’ has no member named ‘sample_aspect_ratio’
producer_avformat.c:142: attention : implicit declaration of function ‘avcodec_get_sample_fmt_name’
producer_avformat.c:142: attention : passing argument 3 of ‘mlt_properties_set’ makes pointer from integer without a cast
producer_avformat.c:156: erreur: ‘AVCodec’ has no member named ‘long_name’
producer_avformat.c: In function ‘producer_get_audio’:
producer_avformat.c:1197: attention : unused variable ‘dst_stride’
producer_avformat.c:1046: attention : unused variable ‘convert_buffer’
make[2]: *** [producer_avformat.o] Erreur 1
make[2]: quittant le répertoire « /home/supercow/Public/mlt-0.3.4/src/modules/avformat»
make[1]: *** [all] Erreur 1
make[1]: quittant le répertoire « /home/supercow/Public/mlt-0.3.4/src/modules »
make: *** [all] Erreur 1
 

result of several commands :

supercow@lepc:~/Public/mlt-0.3.4$ dpkg -l  | grep ffmpeg
ii  ffmpeg                                    3:0.svn20080206-12ubuntu3   multimedia player, server and encoder
ii  libavcodec51                              3:0.svn20080206-12ubuntu3   ffmpeg codec library
ii  libavdevice52                             3:0.svn20080206-12ubuntu3   ffmpeg device handling library
ii  libavformat52                             3:0.svn20080206-12ubuntu3   ffmpeg file format library
ii  libavutil49                               3:0.svn20080206-12ubuntu3   ffmpeg utility library
ii  libpostproc51                             3:0.svn20080206-12ubuntu3   ffmpeg video postprocessing library
ii  libsox-fmt-ffmpeg                         14.0.1-2build2   SoX ffmpeg format library
ii  libswscale0                               3:0.svn20080206-12ubuntu3   ffmpeg video scaling library
ii  libxine1-ffmpeg                           1.1.15-0ubuntu3   MPEG-related plugins for libxine1
 

supercow@lepc:~/Public/mlt-0.3.4$ ls /usr/include/ffmpeg/
adler32.h   avstring.h  dsputil.h             mathematics.h  rational.h   swscale.h
avcodec.h   avutil.h    fifo.h                md5.h          rgb2rgb.h
avdevice.h  base64.h    intfloat_readwrite.h  mem.h          rtspcodes.h
avformat.h  common.h    log.h                 opt.h          rtsp.h
avio.h      crc.h       lzo.h                 random.h       sha1.h
 

 

any idea ?

 

regards

Olivier

Hello,

 

thanks for the answer. Didn't noticethat there was a package source list for Kdenlive....sounds great. I'll give it a try tonight and let you know. It seems to be the 0.7.1 version which is the one I want :-).

 

regards

Olivier

Hello again,

 

thank you for the link Jean-Michel : it did work perfectly ! I now have Kdenlive 0.7.1 installed just in just a few clics...

 

great job baudm !

 

regards

Olivier