question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'Couldn't find ffmpeg or avconv' despite having installed them?

See original GitHub issue

Hello, 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:open
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
Yagna24commented, Mar 22, 2022

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!

install ffmpeg using anaconda prompt using : conda install -c main ffmpeg

0reactions
nchecherinacommented, Aug 28, 2021

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!

Read more comments on GitHub >

github_iconTop Results From Across the Web

defaulting to ffmpeg, but may not work warn("Couldn't find ...
first download ffmpeg from official website and include it in your path. then do pip install ffmpeg and then you will be able...
Read more >
Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may ...
I'm trying to have a Python Script run using FFMPEG, however even though FFMPEG is installed on my Mac OS system, I get...
Read more >
Pydub can't find ffmpeg although it's installed and in path
I've installed pydub and ffmpeg has been installed via brew. ffmpeg is available in my path, and typing ffmpeg in a terminal launches...
Read more >
'Couldn't find ffmpeg or avconv' despite having installed them?
Hello, I think I initially posted this in the wrong place, please let me know if this isn't where this belongs. I'm trying...
Read more >
What does 'could not find ffmpeg or avconv' mean?
I just freshly downloaded v1.5.1 64 bit as I'm struggling to convert some WMV files using Sorenson and someone suggested this program -...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found