Right now, I'm trying to create a movie in the Anaconda Spyder IDE (running Python 2.7). I have the following import statement at the top of my program:
from scitools.std import cos, exp, linspace, plot, movie
import time, glob, sys, os
After creating plots to make a movie from, I use the call:
movie('tmp_*.png', encoder='html', output_file='tmp_heatwave.html')
to try and create a movie in .html format. After running my program, I get the error:
ValueError: encoder must be ['mencoder', 'ffmpeg', 'mpeg_encode', 'ppmtompeg',
'mpeg2enc', 'convert'], not 'html'
Why is this happening? According to my textbook, A Primer on Scientific Programming with Python, "The HTML format can always be made and played. Hence, this format is the natural choice if problems with other formats occur."
Thanks!