[Bug 992884] Re: convert to mpeg fails due to ffmpeg flags argument

broucaries 992884 at bugs.launchpad.net
Sun Jul 22 14:14:02 UTC 2012


*** This bug is a duplicate of bug 1012378 ***
    https://bugs.launchpad.net/bugs/1012378

Thank you for taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug 1012378 , so it is being marked as such. Please look at
the other bug report to see if there is any missing information that you
can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report. Feel free to continue to report any other bugs you may
find.

** This bug has been marked a duplicate of bug 1012378
   convert to mpeg fails due to ffmpeg pass argument

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to imagemagick in Ubuntu.
https://bugs.launchpad.net/bugs/992884

Title:
  convert to mpeg fails due to ffmpeg flags argument

Status in “imagemagick” package in Ubuntu:
  New

Bug description:
  I have a script to make a directory full of jpegs into an mpeg movie.
  It simply calls convert with a couple arguments.  The script has
  worked for 2 years.  Recently, I ran it for the first time in a few
  months and it failed with the following error message:

  convert: delegate failed `"ffmpeg" -v -1 -mbd rd -flags +4mv+aic
  -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1/2 -i "%M%%d.jpg" "%u.%m" 2>
  "%Z"' @ error/delegate.c/InvokeDelegate/1061.

  After reading man pages and online documentation for a while, I
  believe that the -flags argument is at fault.  I believe that the
  current version of ffmpeg does not accept a -flags argument at all.
  Removing it from delegates.xml allows my old script to succeed again.

  I propose the solution is to remove the -flags argument from
  delegates.xml line 83:

  $ diff /usr/lib/ImageMagick-6.6.0/config/delegates.xml.orig /usr/lib/ImageMagick-6.6.0/config/delegates.xml
  83c83
  <   <delegate encode="mpeg:encode" stealth="True" command=""ffmpeg" -v -1 -mbd rd -flags +4mv+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1/2 -i "%M%%d.jpg" "%u.%m" 2> "%Z""/>
  ---
  >   <delegate encode="mpeg:encode" stealth="True" command=""ffmpeg" -v -1 -mbd rd -trellis 2 -cmp 2 -subcmp 2 -g 300 -i "%M%%d.jpg" "%u.%m" 2> "%Z""/>
   
  With the -flags argument removed, the delegate command matches the latest ImageMagick release (http://www.imagemagick.org/source/delegates.xml).

  Here is more information about my configuration

  $ sudo aptitude show imagemagick
  Package: imagemagick                     
  New: yes
  State: installed
  Automatically installed: no
  Version: 8:6.6.0.4-3ubuntu1
   
  $ uname -a
  Linux 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 20:45:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

  $ lsb_release -rd
  Description:	Ubuntu 11.10
  Release:	11.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/992884/+subscriptions




More information about the foundations-bugs mailing list