#11170: add an ffmpeg option to the animate command
-----------------------------+----------------------------------------------
Reporter: jhpalmieri | Owner: jason, was
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-4.7.1
Component: graphics | Keywords:
Author: John Palmieri | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Comment(by jhpalmieri):
Niles: thanks, I think I've fixed those now.
Dave: since I would guess that the size of the animation may change from
one version of !ImageMagick to another, and the same for ffmpeg, I don't
see how to use checksums effectively.
Also, we actually don't check for the presence of convert, we just run it.
If it doesn't exit with zero status (as should happen if it's not there,
or if it gets called with bad arguments -- I hope this is what would
happen if there were another program called "convert" lying around and we
call "convert -delay ... -loop ... *.png output.gif"), we raise an error.
We could also check for the presence of a directory
{{{/usr/lib/ImageMagick-.../}}} or {{{/usr/local/lib/ImageMagick-.../}}}
or something like that. On my machine, I don't actually see any libraries
in that directory, just some xml files for configuration. On sage.math,
there are actual libraries in some of the subdirectories of
{{{/usr/lib/ImageMagick-6.3.7/}}}.
I'm not sure the best way to deal with this. Since I haven't heard
complaints about our current method for using "convert", and since this
patch doesn't change that, I would be inclined to leave it as is.
Meanwhile, recommending the installation of ffmpeg or !ImageMagick seems
like a good idea, and so I've added it to the patch.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11170#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.