Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iskandr/moving_pictures
Create a movie from a sequence of images in Python (uses PIL and ffmpeg)
https://github.com/iskandr/moving_pictures
Last synced: about 2 months ago
JSON representation
Create a movie from a sequence of images in Python (uses PIL and ffmpeg)
- Host: GitHub
- URL: https://github.com/iskandr/moving_pictures
- Owner: iskandr
- Created: 2013-05-16T19:04:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-16T20:03:52.000Z (over 11 years ago)
- Last Synced: 2024-05-03T06:36:56.736Z (8 months ago)
- Language: Python
- Size: 10.4 MB
- Stars: 41
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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:
* [NumPy](http://www.numpy.org/)
* [ffmpeg](http://www.ffmpeg.org/)
* [PIL](http://www.pythonware.com/products/pil/) -- Python Imaging Library
* [progressbar](https://code.google.com/p/python-progressbar/)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")