FFmpeg Installation - musicpack/mbox GitHub Wiki
There are two main ways to install FFmpeg for the bot.
You might have noticed in the config.ini that there is a variable ffmpeg_path. If you already have ffmpeg installed on your computer in a place that is not defined in the PATH variable, you may change that variable to include the path to your ffmpeg. Otherwise if left blank, the program try to find ffmpeg installed on the computer and in PATH.
Install FFMPEG globally for the computer
Linux/Unix
Your main repository should have a version of FFMPEG to download. You do not need any special version of FFMPEG.
Simply install FFMPEG by using your package manager. Instructions for popular distributions/setups are included below.
apt Package Manager (Debian/Ubuntu like Raspberry Pi's)
- Open the terminal.
- Update packages
sudo apt update
- Type in your terminal
sudo apt-get install ffmpeg
Mac
The easiest way for you to install FFmpeg is to use the homebrew package manager. Make sure you have homebrew installed before continuing.
Simply install FFMPEG by using your package manager. You do not need any special version of FFMPEG.
Homebrew Package Manager
- Open the terminal.
- Update packages
brew update
- Type in your terminal
brew install ffmpeg
Download and provide the path the executable binaries in the bot's config.
Windows
- Download a build of FFMPEG from official FFMPEG site
- Direct download link from mirror gyan.dev
- Extract the .7z archive with 7zip or a compatible program.
- Move the extracted folder (should be named something like ffmpeg-2xxx-xx-xx-git-xxxxxxxxxx-full_build) to the root of the bot. The bot on startup should be able to find the folder. The bot folder should look like this:
Linux/Unix
- Download a static build of FFmpeg from official FFMPEG site
- Download link from mirror johnvansickle.com. Choose the correct architecture for your system. Type
uname -m
on your terminal to get your architecture.
- Download link from mirror johnvansickle.com. Choose the correct architecture for your system. Type
- Extract the tar.xz archive.
- Move the extracted folder (should be named something like ffmpeg-git-xxxxxxxx-xxxxx-static) to the root of the bot. The bot on startup should be able to find the folder. The bot folder should look something like this:
Mac
- Download a static build of FFMPEG from official FFmpeg site
- Direct download link from mirror evermeet.cx.
- Extract the zip archive.
- Move the extracted ffmpeg binary (should be named ffmpeg) to the root of the bot. The bot on startup should be able to find the file. The bot folder should look something like this: