-
-
Notifications
You must be signed in to change notification settings - Fork 55
Installing dependencies
Gianluca Pernigotto edited this page Jan 15, 2025
·
7 revisions
- Manual installation of dependencies
- Python >= 3.9.0
- wxPython-Phoenix GUI toolkit >= 4.0.7
- PyPubSub Python Publish-Subscribe Package.
- requests
- pip
- ffmpeg >= 5.1
- ffprobe for multimedia streams analysis - should be included with FFmpeg.
- ffplay for files playback - should be included with FFmpeg.
- yt-dlp a fork of youtube-dl (updated and promising)
- atomicparsley if you want to embed thumbnail in audio file
- Make sure you have installed
python3 >= 3.9.0
- Use your package manager to install the following packages:
-
pip
for python3 (pip3) wxPython4-Phoenix
pypubsub
requests
-
ffmpeg
(which also includes ffprobe and ffplay)
-
e.g on Ubuntu/Linux Mint/Debian and derivatives you can install them like this:
# apt install ffmpeg python3-pip python3-pypubsub python3-requests python3-wxgtk4.0
If you can't install python3-wxgtk4.0
(wxPython-Phoenix) with the official package manager or want a more updated version of that, looking for it here and find the folder name of the Linux distro that most closely matches the one you want to install on, and decide if you want the gtk3 or gtk2
port of wxPython. Then read how to Install wxPython-Phoenix using pip.
Here is an example for installing wxPython gtk3 on Ubuntu 20.04:
$ python3 -m pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04 wxPython
Consider creating a virtual environment first.
- Install a compatible version of Python3 >=3.9 for your architecture.
- Consider creating a virtual environment
- Use pip to install required dependencies:
py -m pip install wxpython pypubsub requests yt-dlp
- Download and unzip a compatible version of FFmpeg for your architecture using the statically compiled binaries and use them locally. You can link them from Videomass setup dialog on "FFmpeg" tab or during wizard setup.
- I suggest using a third party package manager like Homebrew or Macport to install Python3 >=3.9, pip3 and FFmpeg. But you can also use the Mac OS X installers available on the official Python web page, which should also include the pip tool. You may also want to use statically compiled FFmpeg binaries from https://www.ffmpeg.org/download.html and link them from Videomass setup dialog on "FFmpeg" tab or during wizard setup.
- Installation using pip
-
Run Videomass from source code, you should also manually install the remaining dependencies:
python3 -m pip install yt_dlp PyPubSub requests