You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Michael Pfaff bb14385e63 Add .python-version for pyenv 2 years ago
.gitignore add setup.py, automatic discovery for avconv/ffmpeg, add installation help to readme 7 years ago
.python-version Add .python-version for pyenv 2 years ago
LICENSE.md Update README.md and LICENSE.md 2 years ago
README.md Update README.md and LICENSE.md 2 years ago
core.py Resolves #1 2 years ago
main.py Allow .jpeg files 2 years ago
main.ui Merge branch 'tassaron2-master' 4 years ago
preview_thread.py Resolves #1 2 years ago
pyaudviz.code-workspace Added Code Workspace 2 years ago
setup.py add setup.py, automatic discovery for avconv/ffmpeg, add installation help to readme 7 years ago
video_thread.py Fixes #2 2 years ago

README.md

PyAudViz (Python Audio Visualizer)

This is a little GUI tool using Qt5 which creates an audio visualization video from an input audio. You can also give it a background image and set a title text.

I have tested the program on macOS (10.14.6 Mojave), although it should also work on Linux and Windows. If you encounter problems or find bugs running it or have features suggestions, please file an issue.

Dependencies

You need Python 3, PySide2, PIL (or Pillow), numpy and the program ffmpeg, which is used to read the audio and render the video.

Installation

Manual installation on Ubuntu

  • Get all the python stuff: sudo apt install python3 python3-pyqt4 python3-pil python3-numpy
  • If you have PySide2 installed, get pillow (at least version 3.3.0) from pip: pip3 install pillow
  • Get ffmpeg/avconv: You can either use avconv from the standard repositories (package libav-tools) or get ffmpeg from the website or from a PPA (e.g. https://launchpad.net/~jon-severinsson/+archive/ubuntu/ffmpeg. The program does automatically detect if you don't have the ffmpeg binary and tries to use avconv instead.

Clone this repository and run PyAudViz with python3 main.py.

Manual installation on Windows

Clone this repository and run PyAudViz from the command line with C:\Python34\python.exe main.py.

Manual installation on macOS

  • Install Homebrew
  • Use the following commands to install the needed dependencies:

NOTE: If you already have ffmpeg, sip or pyqt installed, you will probably need to replace install with reinstall.

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

Clone this repository and run PyAudViz with python3 main.py.

License

PyAudViz is licensed under the MIT license.