Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186935 - media-libs/mlt need --avformat-swscale if media-video/ffmpeg-0.4.9_p20070616-r1 is installed
Summary: media-libs/mlt need --avformat-swscale if media-video/ffmpeg-0.4.9_p20070616-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 188621
  Show dependency tree
 
Reported: 2007-07-28 21:50 UTC by Roberto Castagnola
Modified: 2007-08-21 08:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Castagnola 2007-07-28 21:50:38 UTC
kdenlive (0.5svn not in tree) fails to start with this error:
Failed to load plugin: /usr/share/mlt/modules/libmltavformat.so: undefined symbol: img_convert
Same error importing video-files if using kdenlive-0.4

Checking http://forums.gentoo.org/viewtopic-t-553542.html I found out that media-video/ffmpeg-0.4.9_p20070616-r1 is automatically configured with swscale enabled, but mlt has it disabled.

proposed patch:
--- /usr/portage/media-libs/mlt/mlt-0.2.3.ebuild        2007-04-26 20:05:49.000000000 +0200
+++ mlt-0.2.3.ebuild    2007-07-28 22:59:22.000000000 +0200
@@ -65,6 +65,9 @@
                        $(use_enable xml westley)
                        $(use_enable xine)"

+       use ffmpeg && has_version ">=media-video/ffmpeg-0.4.9_p20070616-r1" &&
+               myconf="${myconf} --avformat-swscale"
+
        (use quicktime || use dv) ||  myconf="${myconf} --disable-kino"

        econf ${myconf} || die "econf failed"


with this patch applied I can start kdenlive-0.5svn (or open video-files with kdenlive-0.4)
Comment 1 Alexis Ballier gentoo-dev 2007-08-21 08:59:25 UTC
fixed while bumping to 0.2.4, thanks