diff options
| author | Martin Kaistra | 2015-03-05 15:58:45 +0100 |
|---|---|---|
| committer | Martin Kaistra | 2015-03-05 15:58:45 +0100 |
| commit | 38cfae0b4e30fdc19612f5873aec09ea69e74486 (patch) | |
| tree | a2e88d52a8e68d012183cd8028a8b314fbe53f54 /README.md | |
| parent | 88105403e9d0b1afc9992c6a871ac7c0fed0cdaa (diff) | |
add setup.py, automatic discovery for avconv/ffmpeg, add installation help to readme
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -13,6 +13,25 @@ Dependencies ------------ You need Python 3, PyQt4, 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-get install python3 python3-pyqt4 python3-pil python3-numpy` +* Get ffmpeg/avconv: +You can either use `avconv` from the standard repositories (package `libav-tools`) or get `ffmpeg` from the [website](http://ffmpeg.org/) or from a PPA (e.g. [https://launchpad.net/~jon-severinsson/+archive/ubuntu/ffmpeg](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. + +Download audio-visualizer-python from this repository and run it with `python3 main.py`. + +### Manual installation on Windows +* Download and install Python 3.4 from [https://www.python.org/downloads/windows/](https://www.python.org/downloads/windows/) +* Download and install PyQt4 for Python 3.4 and Qt4 from [http://www.riverbankcomputing.co.uk/software/pyqt/download](http://www.riverbankcomputing.co.uk/software/pyqt/download) +* Download and install numpy from [http://www.scipy.org/scipylib/download.html](http://www.scipy.org/scipylib/download.html). There is an installer available, make sure to get the one for Python 3.4 +* Download and install Pillow from [https://pypi.python.org/pypi/Pillow/2.7.0](https://pypi.python.org/pypi/Pillow/2.7.0) +* Download and install ffmpeg from [https://www.ffmpeg.org/download.html](https://www.ffmpeg.org/download.html). You can use the static builds. +* Add ffmpeg to your system PATH environment variable. + +Download audio-visualizer-python from this repository and run it from the command line with `C:\Python34\python.exe main.py`. + Example ------- You can find an example video here: |
