Registered Member
|
I compiled/installed ffmpeg in /usr/local because the installation in /usr (with checkinstall) fails because it tries to overwrite files installed with ffmpeg related packages (libswscale-dev, libavcodec-dev etc.) which are dependencies of some other programs I use. Everything compiles fine but kdenlive first run wizard reports missing avformat module. I used recommended options except --enable-libamrnb and --enable-libamrwb which are reported as unknown by configure script.
This is all on Ubuntu 9.04 and when I compile only with ffmpeg from repo's avformat module is present. What is baffling is that I have the same setup with ffmpeg in /usr/local on another machine which works (although the ffmpeg is from April this year). Does anyone have any idea what is going wrong? Should I pass some options to mlt ./configure or is the problem with ffmpeg or possibly even kdenlive? |
Registered Member
|
Thank you, this works.
|
Registered Member
|
I had the same problem and the export trick works to fix the issue for the command line, but when executing kdenlive from the menu, in gnome at least, it results in AVformat module failing to be detected. I read somewhere (edit: ejolson has said the same thing) that you needed a "export LD_RUN_PATH=/usr/local/lib:/usr/lib:/lib" before compiling ffmpeg, mlt and kdenlive, but this didn't work for me. Same issue persists. So... does anyone know how to fix the execution from the gnome menus?
did it work for you ejolson? |
Registered Member
|
Another solution to this problem: I noticed after installing the Ubuntu Karmic kdenlive + ffmpeg packages that I had some libraries I forgot to remove before installing everything from source. These were hidden in /usr/lib/i686
So one should at least move or delete that directory, i.e. mv /usr/lib/i686 /usr/lib/i686-old ldconfig Then check dynamic libs called by your source-compiled ffmpeg: ldd /usr/bin/ffmpeg Here's what I get, and kdenlive 0.7.7 (rev.4139) now works: linux-gate.so.1 => (0x00cbd000) libavfilter.so.1 => /usr/lib/libavfilter.so.1 (0x009f0000) libpostproc.so.51 => /usr/lib/libpostproc.so.51 (0x00f15000) libavdevice.so.52 => /usr/lib/libavdevice.so.52 (0x00f55000) libavformat.so.52 => /usr/lib/libavformat.so.52 (0x00836000) libavcodec.so.52 => /usr/lib/libavcodec.so.52 (0x00f62000) libavutil.so.50 => /usr/lib/libavutil.so.50 (0x00756000) libswscale.so.0 => /usr/lib/libswscale.so.0 (0x008f8000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00110000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00abe000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00136000) libdc1394.so.22 => /usr/lib/libdc1394.so.22 (0x0027a000) libasound.so.2 => /usr/lib/libasound.so.2 (0x002ed000) libjack.so.0 => /usr/lib/libjack.so.0 (0x004b4000) libX11.so.6 => /usr/lib/libX11.so.6 (0x004d0000) libXext.so.6 => /usr/lib/libXext.so.6 (0x00437000) libz.so.1 => /lib/libz.so.1 (0x00e39000) libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x003b4000) libdirac_encoder.so.0 => /usr/lib/libdirac_encoder.so.0 (0x00951000) libfaac.so.0 => /usr/lib/libfaac.so.0 (0x00e17000) libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00f41000) libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x005ff000) libopencore-amrnb.so.0 => /usr/lib/libopencore-amrnb.so.0 (0x003c6000) libopencore-amrwb.so.0 => /usr/lib/libopencore-amrwb.so.0 (0x003f9000) libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 (0x00693000) libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00ad7000) libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00447000) libx264.so.79 => /usr/lib/libx264.so.79 (0x00bd1000) libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x00cbe000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00413000) /lib/ld-linux.so.2 (0x00676000) libraw1394.so.11 => /usr/lib/libraw1394.so.11 (0x00417000) librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00427000) libsamplerate.so.0 => /usr/lib/libsamplerate.so.0 (0x04ca7000) libcelt.so.0 => /usr/lib/libcelt.so.0 (0x00472000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00485000) libXau.so.6 => /usr/lib/libXau.so.6 (0x00430000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x067fe000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00e5f000) liboil-0.3.so.0 => /usr/lib/liboil-0.3.so.0 (0x00768000) libogg.so.0 => /usr/lib/libogg.so.0 (0x004a3000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x004aa000) ffmpeg was compiled with: ./configure --prefix=/usr --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad --enable-libfaadbin --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libx264 --enable-libdc1394 --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-avfilter-lavf --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 MLT compiled with: ./configure --prefix=/usr --enable-gpl --qimage-libdir=/usr/lib/ --qimage-includedir=/usr/include/qt4 --avformat-swscale --enable-mmx |
Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]