Description of problem: It appears that config/delegates.xml.in is not really in sync with www/source/delegates.xml and some fixes in the latter are not in the former. In particular, mpeg. ImageMagick-6.7.1-9/www/source/delegates.xml: <delegate decode="mpeg:decode" command=""ffmpeg" -v -1 -i "%i" -vcodec pam -an -f rawvideo -y "%u0.pam" 2> "%Z""/> <delegate encode="mpeg:encode" stealth="True" command=""ffmpeg" -v -1 -i "%M%%d.jpg" "%u.%m" 2> "%Z""/> ImageMagick-6.7.1-9/config/delegates.xml.in: <delegate decode="mpeg:decode" command=""@MPEGDecodeDelegate@" -v -1 -vframes %S -i "%i" -vcodec pam -an -f rawvideo -y "%u.pam" 2> "%Z""/> <delegate encode="mpeg:encode" stealth="True" command=""@MPEGEncodeDelegate@" -v -1 -mbd rd -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1/2 -i "%M%%d.jpg" "%u.%m" 2> "%Z""/> In Fedora 15+ ffmpeg croaks with the -pass 1/2 argument. Works fine when using the command from the delegates.xml file or when simply removing the -pass 1/2 option. It may be that the www/source/delegates.xml file is quite old as well and not the preferred method. Version-Release number of selected component (if applicable): ImageMagick-6.7.0.10-3.fc16 ImageMagick-6.6.5.10-19.fc15 Steps to Reproduce: 1. convert *.jpg output.mpg Actual results: convert: delegate failed `"ffmpeg" -v -1 -mbd rd -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1/2 -i "%M%%d.jpg" "%u.%m" 2> "%Z"' @ error/delegate.c/InvokeDelegate/1058.
Thank you for your bugreport and willing make free software better! Reported upstream: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=19755 We close bug now, as it related to upstream developing. But we continue track changes and whatever it will be fixed ve consider make update in Fedora.
Its fixed upstream. In next update build it come in Fedora.
Can this get fixed in F15 please?
No, only in rawhide if you wish. It is not sewcurity bug and ImageMagick have many dependencies for rebuilt.
There is no need to update the version of ImageMagick, just backport the change to delegates.xml.in. I'm a proven packager and could do it if you'd like.
You suggest made backport temporary patch? I do not see any real advantages for that... There at least ryby-rmagick what have full versioned dependency, may be others due to the discussed before not wery accurate soname bump by upstream. So, if you provenpackager and you really want it - you may create ticket and request separate tag to build such dependencies... But again, I think it have no worth.
Again, there is no need to bump the version number, just the release (which nobody AFAICT explicitly depends on). diff --git a/ImageMagick.spec b/ImageMagick.spec index 2f27474..570c007 100644 --- a/ImageMagick.spec +++ b/ImageMagick.spec @@ -3,13 +3,15 @@ Name: ImageMagick Version: %{VER}.%{Patchlevel} -Release: 3%{?dist} +Release: 4%{?dist} Summary: An X application for displaying and manipulating images Group: Applications/Multimedia License: ImageMagick Url: http://www.imagemagick.org/ Source0: ftp://ftp.ImageMagick.org/pub/%{name}/%{name}-%{VER}-%{Patchlevel}.tar.xz Patch1: ImageMagick-6.4.0-multilib.patch +#Upstream patch for ffmpeg support +Patch2: ImageMagick-delegates.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: bzip2-devel, freetype-devel, libjpeg-devel, libpng-devel @@ -128,6 +130,7 @@ however. %prep %setup -q -n %{name}-%{VER}-%{Patchlevel} %patch1 -p1 -b .multilib +%patch2 -p0 -b .delegates sed -i 's/libltdl.la/libltdl.so/g' configure iconv -f ISO-8859-1 -t UTF-8 README.txt > README.txt.tmp touch -r README.txt README.txt.tmp @@ -303,6 +306,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Nov 2 2011 Orion Poplawski <orion.com> - 6.7.0.10-4 +- Patch delegates.xml for ffmpeg (bug #750383) + * Thu Jul 21 2011 Petr Sabata <contyk> - 6.7.0.10-3 - Perl mass rebuild Shouldn't require any other rebuilds.
ImageMagick-6.6.5.10-20.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/ImageMagick-6.6.5.10-20.fc15
ImageMagick-6.7.0.10-4.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/ImageMagick-6.7.0.10-4.fc16
ImageMagick-6.6.4.1-16.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/ImageMagick-6.6.4.1-16.fc14
ImageMagick-6.6.4.1-16.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
ImageMagick-6.6.5.10-20.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
ImageMagick-6.7.0.10-4.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.