AVformat and Kdenlive and Debian

Hello,

I have a problem. When I use assistant, kdenlive show me avformat (ffmepg) module isn't installed. But i have installed it. So i don't know how to configure kdelive in order to say it where is avformat module.

Informations:

I use Debian Sid.

# uname -a
Linux LMG 2.6.32-5-amd64 #1 SMP Mon May 17 17:51:57 UTC 2010 x86_64 GNU/Linux

# dpkg -l | grep libavformat
ii libavformat52 5:0.5+svn20100208-0.1 ffmpeg file format library

# dpkg -l | grep ffmpeg
ii ffmpeg 5:0.5+svn20100208-0.1 audio/video encoder, streaming server & audio/video file conve
ii libavdevice52 5:0.5+svn20100208-0.1 ffmpeg device handling library
ii libavformat52 5:0.5+svn20100208-0.1 ffmpeg file format library
ii libavutil49 4:0.5.1-3 ffmpeg utility library
ii libswscale0 5:0.5.1+svn20100512-0.1 ffmpeg video scaling library
ii libxine1-ffmpeg 1.1.18.1-1+b2 MPEG-related plugins for libxine1
ii winff 1.2.0-2 graphical video and audio batch converter using ffmpeg

Kdenlive
Version 0.7.7.1
Using KDE Development Platform 4.4.3 (KDE 4.4.3)

My window manager is Ion.

Are you sure MLT is properly installed?

'ldd /usr/lib/mlt/libmltavformat.so' and look for broken lib links.

Hello,

The result for the command

linux-vdso.so.1 => (0x00007fff563cd000)
libmlt.so.2 => /usr/lib/libmlt.so.2 (0x00007f896e623000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f896e407000)
libavformat.so.52 => /usr/lib/libavformat.so.52 (0x00007f896e14a000)
libavcodec.so.52 => /usr/lib/libavcodec.so.52 (0x00007f896d561000)
libavutil.so.49 => /usr/lib/libavutil.so.49 (0x00007f896d352000)
libavdevice.so.52 => /usr/lib/libavdevice.so.52 (0x00007f896d147000)
libswscale.so.0 => /usr/lib/libswscale.so.0 (0x00007f896cf14000)
libc.so.6 => /lib/libc.so.6 (0x00007f896cbb3000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f896c9ae000)
/lib64/ld-linux-x86-64.so.2 (0x00007f896ea68000)
libavutil.so.50 => /usr/lib/libavutil.so.50 (0x00007f896c79c000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f896c585000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007f896c374000)
libm.so.6 => /lib/libm.so.6 (0x00007f896c0f2000)
libdirac_encoder.so.0 => /usr/lib/libdirac_encoder.so.0 (0x00007f896be5a000)
libfaac.so.0 => /usr/lib/libfaac.so.0 (0x00007f896bc47000)
libfaad.so.2 => /usr/lib/libfaad.so.2 (0x00007f896ba06000)
libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00007f896b7f9000)
libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007f896b57d000)
libopencore-amrnb.so.0 => /usr/lib/libopencore-amrnb.so.0 (0x00007f896b342000)
libopencore-amrwb.so.0 => /usr/lib/libopencore-amrwb.so.0 (0x00007f896b127000)
libopenjpeg.so.2 => /usr/lib/libopenjpeg.so.2 (0x00007f896af06000)
libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 (0x00007f896ac5c000)
libspeex.so.1 => /usr/lib/libspeex.so.1 (0x00007f896aa43000)
libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0x00007f896a803000)
libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0x00007f896a5ea000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007f896a11c000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f8969eef000)
libx264.so.83 => /usr/lib/libx264.so.83 (0x00007f8969c58000)
libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x00007f896994b000)
libdc1394.so.22 => /usr/lib/libdc1394.so.22 (0x00007f89696d5000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x00007f89693f0000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f89690b4000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f8968ea1000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f8968c9c000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f8968987000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f8968771000)
liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0 (0x00007f896851a000)
libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f8968314000)
libraw1394.so.11 => /usr/lib/libraw1394.so.11 (0x00007f8968105000)
libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00007f8967ef8000)
librt.so.1 => /lib/librt.so.1 (0x00007f8967cf0000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f8967ad3000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f89678d0000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f89676ca000)

t seems there are not broken lib
What should i do?

Does 'melt -query producers' show avformat in the list it returns?
Maybe you have an old version of mlt somewhere that you installed manually.

avformt isn't in the list:

~$ melt -query producers
---
producers:
- xml
- xml-string
- qimage
- kdenlivetitle
- kino
- melt
- melt_file
- slowmotion
- pango
- pixbuf
- pgm
- abnormal
- color
- colour
- consumer
- loader
- hold
- noise
- ppm
- framebuffer
- frei0r.ising0r
- frei0r.lissajous0r
- frei0r.nois0r
- frei0r.onecol0r
- frei0r.partik0l
- frei0r.plasma
- vorbis
- libdv
...

I never install manually melt. I used apt-get. There is only one version of melt:

# dpkg -l | grep melt
ii melt 1:0.5.4-0.1 command line media player and video editor

and

# dpkg -l | grep avformat
ii libavformat52 5:0.5+svn20100208-0.1 ffmpeg file format library

Are you sure you use mlt and ffmpeg (libavformat) from the same repository? Because there seems to be something broken with your MLT install

This is very strange because it should be showing the avformat producer since ldd output is fine. I have little more to offer other than upgrade the ffmpeg libs and mlt packages as upgrades become available, and it might straighten itself out. FFmpeg 0.6 just came out and MLT 0.5.6 was just release, so this should be happening sometime soon hopefully. You can also try uninstalling mlt, locate any stray melt or mlt files just to be sure, and then try reinstalling mlt.

Hi ddennedy,

I am facing the same issue. I am using mlt 0.5.6 and ffmpeg 0.6 on RHEL 5.4. Were you able to find a solution?

ldd /usr/local/lib/mlt/libmltavformat.so
linux-gate.so.1 => (0x00d9a000)
libasound.so.2 => /lib/libasound.so.2 (0x008e4000)
libmlt.so.2 => /usr/local/lib/libmlt.so.2 (0x00c3d000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00cb7000)
libm.so.6 => /lib/libm.so.6 (0x00110000)
libz.so.1 => /usr/lib/libz.so.1 (0x00173000)
libbz2.so.1 => /usr/lib/libbz2.so.1 (0x00bb2000)
libc.so.6 => /lib/libc.so.6 (0x00616000)
libdl.so.2 => /lib/libdl.so.2 (0x0029f000)
librt.so.1 => /lib/librt.so.1 (0x00840000)
/lib/ld-linux.so.2 (0x00b08000)

melt -query producers
---
producers:
- vorbis
- abnormal
- color
- colour
- consumer
- loader
- hold
- noise
- ppm
- libdv
- pgm
- kino
- melt
- melt_file
- framebuffer
- xml
- xml-string
- frei0r.ising0r
- frei0r.lissajous0r
- frei0r.nois0r
- frei0r.onecol0r
- frei0r.partik0l
- frei0r.plasma
- pango
- pixbuf
- slowmotion
...

melt -query consumers
---
consumers:
- null
- libdv
- sdl
- sdl_audio
- sdl_preview
- sdl_still
- xml
- gtk2_preview
...

Thanks,
Rajiv

No, but you might try disabling SELinux and see if that makes a difference. Otherwise, someone needs to debug with gdb or strace.

'ldd /usr/lib/mlt/libmltavformat.so' and look for broken lib links.

Please ddennedy can you or some one on the Kdenlive dev team add this one simple line to the pages about installing and compiling Kdenlive?

I have wasted days installing, reinstalling, internet searches, and repeating all of this over and over again.

When all I needed is this one simple CLI command to find out what lib links were broken.

Of all my time using Kdenlive, and from what I've seen on my internet searches, the "missing" avformat in the Config Wizard has to be one of the most common if not frustrating issues with getting Kdenlive up and running.

In terms of missing lib links, the Config Wizard message is just plain inadequate. Ordinary users (non programmers) just don't have a clue as to where to begin with fixing this.

Also please consider adding a more verbose error reporting with the Config Wizard to help people out. Kdenlive would have to be the most difficult piece of software I've ever had to install on Linux. But once installed, it is fantastic software. Adding more verbose configuration error output would make it outstanding and help with its uptake.