manim-slides: [BUG] Could not load multimedia backend "ffmpeg" (NixOS)

Could not load multimedia backend “ffmpeg”

I strongly believe this is rather not a bug but my mere misunderstanding of how manim-slides work, but let me explain this because it can be related with the reproducibility of the package installation.

When I execute manim-slides BasicExample, it give me the following message:

could not load multimedia backend "ffmpeg"
QtMultimedia is not currently supported on this platform or compiler.
Failed to create QVideoSink "Not available"
Failed to initialize QMediaPlayer "Not available"

I thought this is the problem coming from the absence of ffmpeg or qt5, so I installed them globally on my system. However, the problem persists.

Version

manim-slides, version 5.0.0

Platform

NixOS 23.05. If this issue gets solved, I’m interested in packaging the manim-slides for NixOS. I personally think manim-slides would work a lot better with system level package manager (apt, dnf, pacman, etc), due to its heavy dependency on various software frameworks.

Screenshots

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (13 by maintainers)

Most upvoted comments

@dmadisetti, before I close this, would you mind adding a small section about how to install Manim Slides via NixOS in https://github.com/jeertmans/manim-slides/blob/main/docs/source/installation.md?

If you have time, I would really appreciate! I can review your PR and make some changes on top of it 😃 Thanks!

Great news! Thanks for your work @dmadisett!

It should be fine once the nixpkgs PR is merged

As far as the new notebook, it’s not widely used or even known about- I’m slowly moving over from Jupyter because I like it, and hope it takes off. The project is called Marimo, and hopes to address some of the state-based pains that Jupyter brings: https://marimo.io/ Also really polished widgets, nicer UI, and feels less bloated

If you want to highlight what is possible in documentation, I’m sure they would appreciate it. I think this issue from the lead: https://github.com/marimo-team/marimo/issues/794 shows they have some interested in deeper integration with manim like tools - but what I did is a bit of a magics hack