Skip to main content

A small package to generate moving pictures from sound

Project description

CI Coverage Status PyPI version

MuviMaker

MuviMaker is a package that generates moving images from a sound file. It uses

  • librosa to analyses soundfiles,
  • gizeh to generate vector graphics
  • moviepy 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, see muvi_maker/core/project.py.
  • Sound: An object that analyses a sound file, providing e.g. its volume, chroma, spectrogram etc, see muvi_maker/core/sound.py
  • Picture: An object that produces the frames. Various attributes can be triggered by Sounds, see muvi_maker/core/pictures/
  • Video: The object combining various Sounds to make the final video file, see muvi_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

muvimaker-0.3.tar.gz (15.7 kB view hashes)

Uploaded Source

Built Distribution

muvimaker-0.3-py3-none-any.whl (645.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page