Spam Spam Eggs and Spam

Thursday, June 5, 2014

Saving matplotlib animations in libx264 viewable by Quicktime

In order to save quicktime viewable libx264 videos using the matplotlib animation package.
anim.save("circly.mp4",dpi=120,codec="libx264",extra_args=['-pix_fmt','yuv420p'])
the key is the
-pix_fmt
business.
Posted by Alemi at 3:45 PM 1 comments
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Search

Blog Archive

  • ▼  2014 (1)
    • ▼  June (1)
      • Saving matplotlib animations in libx264 viewable b...
  • ►  2013 (1)
    • ►  April (1)
  • ►  2012 (5)
    • ►  November (2)
    • ►  May (1)
    • ►  March (2)
  • ►  2011 (10)
    • ►  October (2)
    • ►  September (1)
    • ►  August (7)

Links

  • The Glowing Python
    A Simple model that earned a Silver medal in predicting the results of the NCAAW tournament
    5 years ago
  • The Virtuosi
    New Home
    12 years ago

Contributors

  • Alemi
  • Corky
  • Matt
  • Nic Eggert
Awesome Inc. theme. Powered by Blogger.