Create videos from numpy arrays in a jupyter notebook
Project description
notebook-video-writer
Create videos from numpy arrays in a jupyter notebook
Original source from Alexander Mordvintsev
Install
pip install notebook-video-writer
Dependencies
- Must have ffmpeg installed
Usage
import numpy as np
# optionally wrap with tqdm for progress bar
from tqdm import tqdm
from notebook_video_writer import VideoWriter
with VideoWriter(fps=40) as vw:
for i in tqdm(range(100)):
frame = np.random.rand(256,256,3)
vw.add(render)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for notebook-video-writer-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfe573c6929eefed80266222615499bd199f828f5dc0b48ac71f78a06504e869 |
|
MD5 | 363bef6ec8d329effa5cb93b027b92df |
|
BLAKE2b-256 | e6e1f9cbaf5dfbff48b3541982cd8911b683aa15e321c7424e66dd97522c763c |
Close
Hashes for notebook_video_writer-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a9c258ad5550b33649c2de8554a06719281424dc72dc71b0e1fffb18bed2242 |
|
MD5 | 79080bfaa4be12793e3bdd4f1aafb163 |
|
BLAKE2b-256 | a5fa0ac32579289f26cdfa5a5026d6c30e13e616bb28c0c903e04f3034106eda |