Download and Installation¶
Installation¶
Using pip¶
If you're utilizing pip, installation is a breeze. Just execute the following command:
Warning: Requires setuptools
In case setuptools isn't installed, rectify this by using:
Using Source¶
- Download the source code from the GitHub repository.
- Unzip the downloaded file into a designated folder.
- Run the following command in the terminal:
Dependencies¶
VidioPy relies on the following Python packages:
- rich is a Python library for rich text and beautiful formatting in the terminal. It is used for displaying progress bars and other rich text in the terminal.
- numpy is a Python library for numerical computing. It is used for handling arrays and matrices.
- ffmpegio is a Python library for reading and writing video files using ffmpeg. It is used for reading and writing video files.
- pillow is a Python library for image processing. It is used for reading, writing and modifying image files.
Pip will automatically install these dependencies for you during installation. If installing from source, manual installation of these dependencies is required.
VidioPy also depends on ffmpeg and ffprobe. It will attempt to download these binaries globally or place them in the vidiopy/binary
directory if not found in the system's PATH or global variables. If the automatic download fails, you can manually download them from here and place them in the vidiopy/binary
folder or set them in global variables.
For those who prefer more control over paths, you can specify the locations of ffmpeg and ffprobe using the vidiopy.set_path()
function after importing vidiopy:
Alternatively, you can pass the path of the folder containing ffmpeg and ffprobe: