Automated lyrics video generator
Project description
Lyriks
Lyriks is an automated lyrics video generator. It transcribes the audio and automatically creates a video using MoviePy.
Features
- Automatic vocal separation using Demucs
- Transcription with OpenAI Whisper and whisper-timestamped
- Synchronized lyrics video generation with MoviePy
Requirements
- A NVIDIA GPU
- 10GB of free disk space
Installation
-
Clone the repository:
git clone https://github.com/simon0302010/Lyriks.git cd Lyriks
-
(Optional) Create a virtual environment:
python3 -m venv venv source venv/bin/activate
-
Install Lyriks:
pip install .
Usage
python -m lyriks generate path/to/song.mp3 path/to/lyrics.json -m WHISPER_MODEL_SIZE -d DEVICE -o OUTPUT_FILE_NAME
Note: This process can take up to 20 minutes on lower end hardware.
TODO
- Fix up lyrics using Gemini
- Per-word highlighting in videos
- Fancier video styles and effects
- Add more robust error handling
Credits
This project uses Demucs for music vocal separation.
@inproceedings{rouard2022hybrid,
title={Hybrid Transformers for Music Source Separation},
author={Rouard, Simon and Massa, Francisco and D{'e}fossez, Alexandre},
booktitle={ICASSP 23},
year={2023}
}
@inproceedings{defossez2021hybrid,
title={Hybrid Spectrogram and Waveform Source Separation},
author={D{'e}fossez, Alexandre},
booktitle={Proceedings of the ISMIR 2021 Workshop on Music Source Separation},
year={2021}
}
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lyriks_video-0.2.1.tar.gz.
File metadata
- Download URL: lyriks_video-0.2.1.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3987ac125086b2957c63ea1f52234fdfdfc524cb2058eed65271bc4aac540e7
|
|
| MD5 |
39e5688c5f717ad7f0f71a04616995b5
|
|
| BLAKE2b-256 |
9b5ce75898e474bc9b6ad7ab9361637f57ebd79a28a61edc4c0f05eb24804802
|
File details
Details for the file lyriks_video-0.2.1-py3-none-any.whl.
File metadata
- Download URL: lyriks_video-0.2.1-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1210fcd943c8c6368e8f692344497f21455249de37d74ac58f6ef399b2b387e
|
|
| MD5 |
62a3e8c0f3e2914ac757be210a6ca72a
|
|
| BLAKE2b-256 |
d15d70384ec7de32fd443a4c656bcb248866a5d7abf9c0c6a476eaa2f820cde9
|