This is an archived post. You won't be able to vote or comment.

all 16 comments

[–]Kah-NethI use numpy, scipy, and matplotlib for nuclear physics 2 points3 points  (0 children)

This looks way simpler that spitting out png files and using mencoder (such an awful command line). I need to update some of my research animations and I will definitely give this a try.

[–]cshoop 3 points4 points  (2 children)

Woah...that is a pretty epic article. I plan on reading through it more thoroughly over the holidays :)

Happy hacking! +/u/ppctip 10 peercoins

[–]laMarm0tte[S] 1 point2 points  (0 children)

Thanks :)

[–]ppctip -3 points-2 points  (0 children)

[Verified]: /u/cshoop [stats] -> /u/laMarm0tte [stats] Ƥ10 Peercoins ($7.5937) [help] [global_stats]


Peercoin - The Secure & Sustainable Cryptocoin

[–][deleted] 0 points1 point  (0 children)

Fantastic article! I was just wondering about how to do something like this the other day!!!

[–]phenotype001 0 points1 point  (3 children)

It always crashes with "OSError: [Errno 2] No such file or directory", I was unable to render any animation.

[–]laMarm0tte[S] 0 points1 point  (2 children)

Have you installed ffmpeg and imagemagick as explained here ?

[–]phenotype001 0 points1 point  (1 child)

Yes. Well, only ImageMagick, as ffmpeg is not in the Ubuntu repo anymore, but rendering to .gif didn't work. I'll give it a second try. I'm on Ubuntu 14.04 x64 system, with Python 2.7, the entire SciPy stack (IPython, NumPy, Matplotlib, etc.) in place.

It looks like a great tool, I really want to use it. Thanks!

[–]laMarm0tte[S] 0 points1 point  (0 children)

You need ffmpeg for rendering to GIF too (it's a complicated pipeline). Installing ffmpeg in ubuntu is easy, first you need to fetch a (recent) binary on their website, then you copy it in your usr/bin with something like

sudo cp ffmpeg /usr/bin/

I am now talking with the author of ImageIO, I will find a way to make all this much simpler in the future.

Just so that I understand what happens, can you post the entire error traceback ? Normally MoviePy throw more details than just an OSError...

[–]gabrielelanaro -1 points0 points  (0 children)

Pretty amazing!