According to https://bugs.launchpad.net/ubuntu/+source/transcode/+bug/539106, the API of imagemagick has changed and DestroyConstitute() was replaced by ConstituteComponentTerminus(). This function is called in two places in transcode -- the logoaway filter and export_im. See also http://developer.berlios.de/bugs/?func=detailbug&bug_id=16844&group_id=10094

Could we fix this?

--- export_im.c 2009-02-21 13:01:57.000000000 -0800
+++ export_im.c.new     2010-11-28 12:41:49.000000000 -0800
@@ -220,7 +220,7 @@

   if(param->flag == TC_VIDEO) {
     DestroyImageInfo(image_info);
-    DestroyConstitute();
+    ConstituteComponentTerminus();
     DestroyMagick();

     free(tmp_buffer);

--- filter_logoaway.c   2009-03-28 01:39:08.000000000 -0700
+++ filter_logoaway.c.new       2010-11-28 12:53:35.000000000 -0800
@@ -865,7 +865,7 @@
     if (data[instance]->dumpimage != (Image *)NULL) {
       DestroyImage(data[instance]->dumpimage);
       DestroyImageInfo(data[instance]->dumpimage_info);
-      DestroyConstitute();
+      ConstituteComponentTerminus();
     }
     DestroyExceptionInfo(&data[instance]->exception_info);
     DestroyMagick();

BTW, since transcode 1.1 hangs on this command:

transcode -q 0 -o test -y im -F png -x mov,null -i file.mp4 -c 0:00:00-0:00:00.1,0:00:10-0:00:10.1

I've started using ffmpeg, but it takes twice as long :-<

It would be great if we could keep transcode functional.

Cheers,
Dave

Reply via email to