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.
Source Distribution
Built Distribution
File details
Details for the file muvimaker-0.3.tar.gz
.
File metadata
- Download URL: muvimaker-0.3.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2322c8f7d2127da9d2d1a75afb60e108f7e525840cf9b0b9e1d1a220768554e5 |
|
MD5 | 3540bd7f3914709164418de8afb1eecb |
|
BLAKE2b-256 | 1f901944c2724ed1ae40e2198534aace6a03469f2a6f8b3288b4e474bfb4114e |
File details
Details for the file muvimaker-0.3-py3-none-any.whl
.
File metadata
- Download URL: muvimaker-0.3-py3-none-any.whl
- Upload date:
- Size: 645.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c25f6b818c1d6bb633fde7361f3de376802a295f94db2bd1bad9ebcadfed6837 |
|
MD5 | 40680b5e4ede8840558670405c5a6213 |
|
BLAKE2b-256 | 7796ed4c6ea7b46d13ffa110847a20d151c4ee8bf13500a11569ed74b0b3d45f |