If you have moviepy ( installed, this script can be used to generate movies from DataBlock1d or DataBlock2d files.

The syntax is

$ myokit video <inputfile> <variable> -dst <outputfile>

Here, <inputfile> should be the name of a DataBlock1d or 2d file. The variable to visualized should be given as <variable> and the output file should be given as <outputfile>. Supported outut formats are flv, gif, mp4, mpeg and wmv.


$ myokit video membrane.V -dst movie.mp4

For the full syntax, use:

$ myokit video --help