'Couldn't find ffmpeg or avconv' despite having installed them?
See original GitHub issueHello, I think I initially posted this in the wrong place, please let me know if this isn’t where this belongs. I’m trying to get started with Manim and am having trouble with the set up.
Context
I installed ffmpeg via “brew install ffmpeg” in Terminal, and also installed libav with “brew install libav”. When I put “ffmpeg” or “avconv” in Terminal, all appears to be fine. ffmpeg is in /usr/local/Cellar.
I initially installed manim via “pip3 install manim”. Again, seems to be fine upon check. I also did manimgl. I ran into the issue below so then tried a different route:
git clone https://github.com/3b1b/manim.git
cd manim
pip install -e .
manimgl example_scenes.py OpeningManimExample
The example seems to work (sort-of; LaTeX seemed buggy).
Problem
Anyway, I opened up Python using IDLE, and pasted the following ‘test’ code:
from manim import *
class SquareToCircle(Scene):
def construct(self):
circle = Circle()
circle.set_fill(PINK, opacity=0.5)
self.play(Create(circle))
Error:
Warning (from warnings module):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pydub/utils.py", line 170
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
Environment
OS System: macOS Catalina 10.15.7 manim version: installed here: https://github.com/3b1b/manim.git Python version: 3.9.1
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top GitHub Comments
install ffmpeg using anaconda prompt using : conda install -c main ffmpeg
hi! i’ve been using manimCE and ffmpeg isn’t working for me. i installed it a few times and created a path for it, but it still isn’t working for some reason? this is what shows up: FileNotFoundError: [Errno 2] No such file or directory: ‘ffmpeg’ and then: PermissionError: [Errno 13] Permission denied: ‘ffmpeg’ could someone pls tell me what they did? tysm!