#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 drkirkby):

 Would it be sensible to use ''cksum'' to create a checksum of the files,
 so we know if the expected file is generated? Since otherwise I don't
 think we know if this is actually producing a decent animation That might
 cause an issue if the version of the external software is changed.
 Differnet versions might change the algorithm, or add the string of the
 version in some way, so this might not work. (''cksum'' is portable -
 unlike any attempt to get an md5 checksum will be.) Another option would
 be to check the file is of the correct size. If one measured it in KB, for
 example with:

 {{{
 drkirkby@laptop:~$ du -k testcc.sh
 4       testcc.sh
 }}}

 then I doubt the size of the file would change much from version to
 version. Note we would need the -k option on du. Whilst that is the
 default on Linux, POSIX states the output should be in blocks of 512
 bytes, but Linux ignores this, and by default prints the output in block
 of 1024 bytes. This is one of the things that makes Linux non-POSIX
 compatible)

 I think it would be more useful to suggest checking for programs like
 ''conjure'' or  ''mogrify '', as anyone could have a program called
 ''convert'' on their system, which is unrelated to !ImageMagick, since the
 word is in such common use. One can easily imagine something having
 something to convert between different units (mm, inches etc) and calling
 the program ''convert''.

 I think somewhere, at some point, we should try to document what packages
 would be useful to have with Sage. We say LaTex is ''highly recommended'',
 but it would be worth documenting things that are useful like ''FFmpeg''
 and ''!ImageMagick''. But that of course is for another ticket.

 Dave

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11170#comment:3>
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.

Reply via email to