I am using this example code as a test case: https://matplotlib.org/examples/animation/moviewriter.html
In this code, they use FFMPEG to write the matplotlib animation to an .mp4 video file. Is it possible to write to a .webm format?
But I am not sure how to go about doing this.
Make sure you have
ffmpeg
compiled withlibvpx
(runffmpeg
with no arguments and see if there's a--enable-libvpx
in the output).