Skip to content

Using Pyav for Handling Ffmpeg #442

Closed
@naveen521kk

Description

@naveen521kk

Currently, AFAIK, Manim calls Ffmpeg using subprocess, which is very slow. In a plan to making manim more faster we can use a Python Ffmpeg wraper, like Pyav which is written in C and is a lot faster than directly calling using subprocess and also more Pythonic. I think doing this would just need to edit a file scene_writer.py. Also, this would mean that we wouldn't need to ask users to install Ffmpeg as it would be included in PyAv.

Refs

Pyav Documentation: https://pyav.org/docs/stable/index.html
Pyav Project Source: https://github.com/PyAV-Org/PyAV

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAdditions and improvements in generalhelp wantedWe would appreciate help on this issue/PR

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions