MuviMaker is a package that generates moving images from a sound file. It uses
librosa
to analyses soundfiles,gizeh
to generate vector graphicsmoviepy
to produce movie files
The code uses tkinter
to create a GUI. Running muvi_maker/main.py
will start it.
The GUI part of the code can be found in muvi_maker/editor
while the core functionality is located in muvi_maker/core
.
ProjectHandler
: The central object handling the book keeping, making sure all parts play together well in terms of framerate etc, seemuvi_maker/core/project.py
.Sound
: An object that analyses a sound file, providing e.g. its volume, chroma, spectrogram etc, seemuvi_maker/core/sound.py
Picture
: An object that produces the frames. Various attributes can be triggered bySound
s, seemuvi_maker/core/pictures/
Video
: The object combining variousSound
s to make the final video file, seemuvi_maker/core/video.py
To be able to use moviepy
the library ffmpeg
has to be installed on your system.
If it is not you can simply execute:
sudo apt-get update
sudo apt-get install ffmpeg
sudo apt-get install frei0r-plugins
You can install MuviMaker
via pip
pip install muvimaker
If you want to get the source code and work with it, you can clone the repository:
git clone [email protected]:JannisNe/muvi_maker
You will have to add the installation directory to the PYTHONPATH
to be able tu use the code:
export PYTHONPATH=/path/to/moviemaker
All requirements can be install via pip:
pip install -r ./requirements.txt