Closed wuduhren closed 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.
FYI I've been playing with this tool on macOS; here's what I did to get it going:
ffmpeg
and aubio
installed (brew install ffmpeg aubio
)python3.7 pip install pillow
)
main.py
via python3.7
rather than python
config.json
so the ffmpeg
, ffprobe
, and aubio
settings didn't have the .exe
extensionUpdated line 700 of slideshow/SlideManager.py
:
- subprocess.call(" ".join(cmd))
+ subprocess.call(" ".join(cmd), shell=True)
Thank you very much @creature. I will include the prerequisites for running the tool on Windows/MacOS to the README
$ 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