A small package to generate moving pictures from sound
Project description
MuviMaker
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
Structure
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
.
Central objects
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
Installing MuviMaker
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
-
Only using
MuviMaker
:
You can install MuviMaker
via pip
pip install muvimaker
-
Working with the source code:
If you want to get the source code and work with it, you can clone the repository:
git clone git@github.com: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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.