pyvie.open_movie()

Open a previously created movie. It can be opened with your default media player, in a Jupyter notebook, or both.

Parameters

path_to_movie : string. The relative path to the movie you want to open.

default_player = True: boolean. Open the movie externally with your default player.

output_notebook = False: boolean. Open the movie within a jupyter notebook. Note: This feature is in development, it may or may not work in your browser.


pyvie.Movie()

Initializes a movie with file characteristics given by the parameters below.

Parameters

name = 'movie': string . This string will be the name of the movie that is saved after rendering. A file type extension will be added on automatically, so there is no need to add one here.

framerate = 10: numeric. The number is the speed of your video in frames per second.

file_type = '.png': string. File extension for images.

movie_type = '.avi': string. FIle extension for movie.

verbose = False: boolean. Option to display FFMPEG output.

save_images = False: boolean. Option to save images that are produced.


pyvie.Movie.gather()

Adds the current frame to the video.

Parameters

*args and **kwargs : Will take matplotlib.savefig() arguments.


pyvie.Movie.finalize()

Renders a video from all the frames gathered from pyvie.Movie.gather().

Parameters

open_movie = False: bool. If true, after a video has been rendered it will automatically be opened using your default media viewer.

output_notebook = False: bool. If true, after a video has been rendered it will be opened embedded into a Jupyter notebook. Note: This feature is in development, it may or may not work in your browser.