Skip to content

Create a movie from a sequence of images in Python (uses PIL and ffmpeg)

Notifications You must be signed in to change notification settings

iskandr/moving_pictures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MovingPictures

Create a movie from a sequence of images in Python (uses PIL and ffmpeg). The images can be any grid of numbers stored as an array.

Installation:

pip install moving_pictures

Requires:

Usage:

    start = Image.open('start.png')
    stop = np.array(image)
    images = []
    
    for step_size in np.arange(0,1,0.001):
    	images.append(start*step_size + stop*(1-step_size))
    moving_pictures.make_movie(images, movie_name="blend.mpg") 

About

Create a movie from a sequence of images in Python (uses PIL and ffmpeg)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages