Trekky12 / kburns-slideshow

generate slideshow movies with Ken Burns effect on images
MIT License
58 stars 15 forks source link

Can't run on macOS #2

Closed wuduhren closed 4 years ago

wuduhren commented 4 years ago

$ python main.py out.mp4 -f example.json Traceback (most recent call last): File "main.py", line 8, in <module> from slideshow.SlideManager import SlideManager File "/Users/eph/Desktop/kburns-slideshow-master/slideshow/SlideManager.py", line 13, in <module> from .ImageSlide import ImageSlide File "/Users/eph/Desktop/kburns-slideshow-master/slideshow/ImageSlide.py", line 4, in <module> from PIL import Image, ExifTags ImportError: No module named PIL

Trekky12 commented 4 years ago

Hello @wuduhren,

I have no Mac but the error message indicates the missing image processing module PIL. You can install for example Pillow (https://python-pillow.org/) with

pip install Pillow

Let me know if this resolves the error.

Additionally you need to change the paths to the ffmpeg, ffprobe and aubio executables.

creature commented 4 years ago

FYI I've been playing with this tool on macOS; here's what I did to get it going:

Trekky12 commented 4 years ago

Thank you very much @creature. I will include the prerequisites for running the tool on Windows/MacOS to the README