This repository has been archived on 2020-08-22. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
tassaron 8811b699a9 merge consecutive static components 2017-07-13 00:05:11 -04:00
src merge consecutive static components 2017-07-13 00:05:11 -04:00
.gitignore more thorough installation directions 2017-07-06 19:52:46 -04:00
LICENSE add readme and MIT license 2015-03-02 23:00:14 +01:00
README.md more comments + warnings for outdated dependencies 2017-07-09 01:10:06 -04:00
freeze.py more thorough installation directions 2017-07-06 19:52:46 -04:00
setup.py QT5 Conversion + Directory Structure 2017-06-23 17:38:05 -05:00

README.md

audio-visualizer-python

This is a little GUI tool which creates an audio visualization video from an input audio file. Different components can be added and layered to change the resulting video and add images, videos, gradients, text, etc. The component setup can be saved as a Project and exporting can be automated using commandline options.

The program works on Linux, macOS, and Windows. If you encounter problems running it or have other bug reports or features that you wish to see implemented, please fork the project and send me a pull request and/or file an issue on this project.

I also need a good name that is not as generic as "audio-visualizer-python"!

Dependencies

Python 3, PyQt5, pillow-simd, numpy, and ffmpeg 3.3

Note: Pillow may be used as a drop-in replacement for Pillow-SIMD if problems are encountered installing. However this will result in much slower video export times.

Installation

Manual installation on Ubuntu 16.04

  • Install pip: sudo apt-get install python3-pip
  • Install prerequisites to compile Pillow:sudo apt-get install python3-dev python3-setuptools libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk
  • Prerequisites on Fedora:sudo dnf install python3-devel redhat-rpm-config libtiff-devel libjpeg-devel libzip-devel freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel
  • Install dependencies from PyPI: sudo pip3 install pyqt5 numpy pillow-simd
  • Install ffmpeg from the website or from a PPA (e.g. https://launchpad.net/~jonathonf/+archive/ubuntu/ffmpeg-3). NOTE: ffmpeg in the standard repos is too old (v2.8). Old versions and avconv may be used but full functionality is only guaranteed with ffmpeg 3.3 or higher.

Download audio-visualizer-python from this repository and run it with python3 main.py.

Manual installation on Windows

Download audio-visualizer-python from this repository and run it from the command line with python main.py.

Manual installation on macOS [Outdated]

  • Install Homebrew
  • Use the following commands to install the needed dependencies:
brew install python3
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265
brew install qt
brew install sip --with-python3
brew install pyqt --with-python3
pip3 install --upgrade pip
pip3 install pillow
pip3 install numpy

Download audio-visualizer-python from this repository and run it with python3 main.py.

Example

You can find an example video here: Youtube: A day in spring

License

audio-visualizer-python is licensed under the MIT license.