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.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)