|
From: Andreas M. <amu...@ai...> - 2012-10-04 14:02:25
|
Hi everybody. I have been trying to save some animations I made and I encountered the problem mentioned here <http://sourceforge.net/mailarchive/forum.php?thread_name=CAKH0P%2BVLXthNCAZ1K2pKHYqqPiFHP5iXSFwJvEerVmvtmgGv0g%40mail.gmail.com&forum_name=matplotlib-devel>. I am using current master. To be precise, when I use anim.save("file.mp4", fps=10, extra_args=['-vcodec', 'libx264']) I get "RuntimeError: Error writing to file" from the agg backend. If I don't use the extra_args, it works, but I get very, very bad quality that can not be redeemed using bitrate. I have ffmpeg and libx264 installed. I also tried the mencoder by passing MencoderWriter() to save, but that resulted in a video where all frames are identical. Any help on this would be appreciated. Is there an easy way to just dump the frames? I can do the mencoder bit myself. Thanks, Andy |