Use pillow if pyqt5 is installed (issue #17)

This commit is contained in:
Martin Kaistra 2017-05-29 11:22:47 +02:00
parent 5487319dc1
commit 4a3ff8bfce
1 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ audio-visualizer-python
This is a little GUI tool 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 Linux (Ubuntu 14.10) and Windows (Windows 7), it should also work on Mac OS X. If you encounter problems
I have tested the program on Linux (Ubuntu 16.04) and Windows (Windows 7), it should also work on Mac OS X. 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"!
@ -16,7 +16,8 @@ You need Python 3, PyQt4, PIL (or Pillow), numpy and the program ffmpeg, which i
Installation
------------
### Manual installation on Ubuntu
* Get all the python stuff: `sudo apt-get install python3 python3-pyqt4 python3-pil python3-numpy`
* Get all the python stuff: `sudo apt install python3 python3-pyqt4 python3-pil python3-numpy`
* If you have PyQt5 installed, get pillow (at least version 3.3.0) from pip: `apt install python3-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](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.