|Ugh, I hate to be *that* guy, but now it’s working fine on my Mac. I think the issue is that I was trying to save as .mp4 and did not have that codec on my Mac.|
Just to get the obvious out of the way:
You do know that the dump command alone won’t do anything? You need to run the simulation and then you should have a movie file that got generated during that run. That file can then be embedded in a IPython notebook.
Did you compile the shared library with -DLAMMPS_FFMPEG?
Where does it fail in IPython? In the dump command, the run, or does the output *after* the run simply not exist?
Yes, I see the same output as if I were to run ffmpeg -h in the terminal.
Try running this in IPython and tell me if you get a valid output or a command not found:
subprocess.check_output("ffmpeg -h", shell=True)
Dr. Richard Berger richard.berger@...1545... Office: SERC 701FResearch Assistant Professor, Dept. of Mathematics, College of Science and TechnologyTemple University, Philadelphia PA 19122