You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Note**: `ffmpeg-python` makes no attempt to download/install FFmpeg, as `ffmpeg-python` is merely a pure-Python wrapper - whereas FFmpeg installation is platform-dependent/environment-specific, and is thus the responsibility of the user, as described below.
99
+
100
+
### Installing FFmpeg
101
+
102
+
Before using `ffmpeg-python`, FFmpeg must be installed and accessible via the `$PATH` environment variable.
103
+
104
+
There are a variety of ways to install FFmpeg, such as the [official download links](https://ffmpeg.org/download.html), or using your package manager of choice (e.g. `sudo apt install ffmpeg` on Debian/Ubuntu, `brew install ffmpeg` on OS X, etc.).
105
+
106
+
Regardless of how FFmpeg is installed, you can check if your environment path is set correctly by running the `ffmpeg` command from the terminal, in which case the version information should appear, as in the following example (truncated for brevity):
107
+
108
+
```
109
+
$ ffmpeg
110
+
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
111
+
built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
112
+
```
113
+
114
+
> **Note**: The actual version information displayed here may vary from one system to another; but if a message such as `ffmpeg: command not found` appears instead of the version information, FFmpeg is not properly installed.
When in doubt, take a look at the [examples](https://github.com/kkroening/ffmpeg-python/tree/master/examples) to see if there's something that's close to whatever you're trying to do.
@@ -197,7 +217,7 @@ When in doubt, refer to the [existing filters](https://github.com/kkroening/ffmp
197
217
198
218
**Why do I get an import/attribute/etc. error from `import ffmpeg`?**
199
219
200
-
Make sure you ran `pip install ffmpeg-python` and not `pip install ffmpeg` or `pip install python-ffmpeg`.
220
+
Make sure you ran `pip install ffmpeg-python` and _**not**_`pip install ffmpeg`(wrong) or `pip install python-ffmpeg` (also wrong).
0 commit comments