Embed videos in Manim scenes and Manim Slides presentations
Project description
Manim Videos
Efficiently embed video clips in Manim scenes and Manim Slides presentations.
Instead of decoding video frames one-by-one into ImageMobjects, manim_videos
renders a transparent placeholder during Manim's normal pass and then uses
MoviePy to composite the target video onto the
rendered partial movie file in a single post-processing step.
Note: This package is only tested against Manim Community Edition, but may work with ManimGL.
Quick Start
from manim import *
from manim_videos import VideoMixin, VideoMObject, OverlayVideo
class MyScene(VideoMixin, Scene):
def construct(self):
vid = VideoMObject("my_video.mp4")
self.play(OverlayVideo(vid))
Which can be rendered and previewed using the following command:
manim -pql my_scene.py MyScene
See the documentation for more!
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file manim_videos-0.1.0.tar.gz.
File metadata
- Download URL: manim_videos-0.1.0.tar.gz
- Upload date:
- Size: 27.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9d24e0c7d78580312906744f71da71c397e536a5e975f08fdf70f3ecdafedfd
|
|
| MD5 |
8e1d9fd612c8c5fcb865998dd982b8bc
|
|
| BLAKE2b-256 |
3dcb46cb308cb7b4a232b363cfc49df302f1bf268273d9f0c5bb77a9a69924a0
|
Provenance
The following attestation bundles were made for manim_videos-0.1.0.tar.gz:
Publisher:
publish.yml on jungerm2/manim-videos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
manim_videos-0.1.0.tar.gz -
Subject digest:
a9d24e0c7d78580312906744f71da71c397e536a5e975f08fdf70f3ecdafedfd - Sigstore transparency entry: 1199742626
- Sigstore integration time:
-
Permalink:
jungerm2/manim-videos@1d6747b57cffe49a58610e3e347816ec189bb8e5 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/jungerm2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1d6747b57cffe49a58610e3e347816ec189bb8e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file manim_videos-0.1.0-py3-none-any.whl.
File metadata
- Download URL: manim_videos-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b4502c5c15eed71544f614bcda1629355f9d2088ed66535bb5aebe87b570d93
|
|
| MD5 |
e055da826d4b18f8e1c009757da570fa
|
|
| BLAKE2b-256 |
4bcb6053a01120971b41f733125dc83d82c88d8cefb43ecb01d3a97998e4d97d
|
Provenance
The following attestation bundles were made for manim_videos-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on jungerm2/manim-videos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
manim_videos-0.1.0-py3-none-any.whl -
Subject digest:
1b4502c5c15eed71544f614bcda1629355f9d2088ed66535bb5aebe87b570d93 - Sigstore transparency entry: 1199742630
- Sigstore integration time:
-
Permalink:
jungerm2/manim-videos@1d6747b57cffe49a58610e3e347816ec189bb8e5 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/jungerm2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1d6747b57cffe49a58610e3e347816ec189bb8e5 -
Trigger Event:
push
-
Statement type: