README 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. General
  2. =======
  3. This is a part of visvis library [1], specifically visvis.vvmovie.
  4. The files are from the visvis-1.8 version.
  5. [1] https://code.google.com/p/visvis/
  6. Changes
  7. =======
  8. In images2avi, the image format for temporary files is changed
  9. from JPG to PNG, to improve the resulting AVI. This makes the size larger,
  10. however the JPG format is unsuitable for maps in general.
  11. --- imaging/images2avi.py 2013-11-09 21:46:28.000000000 -0500
  12. +++ visvis-1.8/vvmovie/images2avi.py 2012-04-25 17:15:40.000000000 -0400
  13. @@ -79,7 +79,7 @@
  14. # Determine temp dir and create images
  15. tempDir = os.path.join( os.path.expanduser('~'), '.tempIms')
  16. - images2ims.writeIms( os.path.join(tempDir, 'im*.png'), images)
  17. + images2ims.writeIms( os.path.join(tempDir, 'im*.jpg'), images)
  18. # Determine formatter
  19. N = len(images)
  20. @@ -93,7 +93,7 @@
  21. # Compile command to create avi
  22. command = "ffmpeg -r %i %s " % (int(fps), inputOptions)
  23. - command += "-i im%s.png " % (formatter,)
  24. + command += "-i im%s.jpg " % (formatter,)
  25. command += "-g 1 -vcodec %s %s " % (encoding, outputOptions)
  26. command += "output.avi"
  27. Questions
  28. =========
  29. Should we make these files PEP8 compliant? This would make
  30. merging of possible changes from visvis more difficult.