{"id":21732251,"url":"https://github.com/pwhiddy/notebook-video-writer","last_synced_at":"2025-04-13T00:36:12.674Z","repository":{"id":57446815,"uuid":"418328398","full_name":"PWhiddy/notebook-video-writer","owner":"PWhiddy","description":"Create videos from numpy arrays in a jupyter notebook","archived":false,"fork":false,"pushed_at":"2021-10-18T18:59:28.000Z","size":243,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T00:36:06.899Z","etag":null,"topics":["ffmpeg","interactive","jupyter","notebook","numpy","render","video"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PWhiddy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-18T03:19:18.000Z","updated_at":"2024-06-20T08:51:44.000Z","dependencies_parsed_at":"2022-09-05T09:40:55.017Z","dependency_job_id":null,"html_url":"https://github.com/PWhiddy/notebook-video-writer","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PWhiddy%2Fnotebook-video-writer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PWhiddy%2Fnotebook-video-writer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PWhiddy%2Fnotebook-video-writer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PWhiddy%2Fnotebook-video-writer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PWhiddy","download_url":"https://codeload.github.com/PWhiddy/notebook-video-writer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650417,"owners_count":21139671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ffmpeg","interactive","jupyter","notebook","numpy","render","video"],"created_at":"2024-11-26T04:29:26.562Z","updated_at":"2025-04-13T00:36:12.656Z","avatar_url":"https://github.com/PWhiddy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Video from numpy array in Jupyter Notebook\n[![PyPI version](https://badge.fury.io/py/notebook-video-writer.svg)](https://badge.fury.io/py/notebook-video-writer)   \n  \nCreate videos from numpy arrays in a jupyter notebook  \n\nPackaged version of [Alexander Mordvintsev's Colab Snippets](https://github.com/znah/notebooks/blob/master/external_colab_snippets.ipynb)\n\n### Install    \n  \n`pip install notebook-video-writer`  \n\n### Dependencies  \n  - Must have ffmpeg installed  \n\n### Usage  \n```python\n\nimport numpy as np\n# optionally wrap with tqdm for progress bar\nfrom tqdm import tqdm\nfrom notebook_video_writer import VideoWriter\n\nwith VideoWriter(fps=40) as vw:\n    for i in tqdm(range(100)):\n        frame = np.random.rand(256,256,3)\n        vw.add(frame)\n\n```    \nThis will immediately display the video inline below the cell:  \n  \n![screenshot](imgs/screenshot.png)   \n  \nAn mp4 file is also saved to the current directory. Default name is `_autoplay.mp4`, but can be set with `name` keyword arg.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwhiddy%2Fnotebook-video-writer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwhiddy%2Fnotebook-video-writer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwhiddy%2Fnotebook-video-writer/lists"}