Fabric icon indicating copy to clipboard operation
Fabric copied to clipboard

[Bug]: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work

Open Morriz opened this issue 1 year ago • 1 comments

What happened?

In step 8 of the setup, when running fabric --help I get the following error:

RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work

I am using python 3.12

Version check

  • [X] Yes I was.

Relevant log output

No response

Relevant screenshots (optional)

No response

Morriz avatar May 20 '24 10:05 Morriz

Do you have ffmpeg installed and in your $PATH...?

ideologysec avatar May 22 '24 04:05 ideologysec

Yes, just path issues.

danielmiessler avatar May 23 '24 17:05 danielmiessler

Got this error on Mac:

  • RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work

I installed ffmpeg and it worked fine:

  • brew install ffmpeg

christrille avatar May 31 '24 23:05 christrille

I'm running fabric in fresh install of WSL and I needed to

  1. Install Python 3
  • sudo apt update && sudo apt install python3 python3-pip
  1. Add Python to my PATH
  • edit your ~/.bashrc file and adding the following line: export PATH="$PATH:/usr/bin/python3"
  1. Reset the terminal
  • source ~/.bashrc
  1. Install FFMPEG
  • sudo apt install ffmpeg # version 7:4.4.2-0ubuntu0.22.04.1

After these steps, I no longer received the error.

jasonagutierrez avatar Jun 02 '24 21:06 jasonagutierrez