Skip to content

Add video as a movable object #2286

@TheShadow29

Description

@TheShadow29

Description of proposed feature

Currently, only Image is available as a movable object using ImageMobject. The idea is to allow VideoMobject.

This would allow importing a video that was not created via Manim super-easy.

How can the new feature be used?

I see two ways it can be used

  1. The entire video is played first, then other manim operations are resumed.
  2. Both video and manim operations happen concurrently.

The first one should be relatively straightforward (I think?) by repeatedly calling ImageMobject with updated frames. The second one would require synchronizing the frame-rate of the video with the manim operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SuggestionRequesting a feature or change for Manim

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions