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
- Linux
- A NVIDIA GPU
- 10GB of free disk space
- Python 3.11
Installation
pip install lyriks-video
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
lyriks_video-0.2.2.tar.gz
(20.1 kB
view details)
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.2.tar.gz.
File metadata
- Download URL: lyriks_video-0.2.2.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1c6936cdc72c6572d531b06b9091e56267aa3b1787fca6feae47d55da984b7d
|
|
| MD5 |
0a9939f8b6887168aa3026d54018dda7
|
|
| BLAKE2b-256 |
fa0feee018540fb8c11978b34269db1055436ff0ab2eb415c15072b1be4d351b
|
File details
Details for the file lyriks_video-0.2.2-py3-none-any.whl.
File metadata
- Download URL: lyriks_video-0.2.2-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 |
19229d87f6869b5b95ed40ffe129c7c9e8c27c8249c1546bc6259e3b051db88e
|
|
| MD5 |
72eca5bcac449073b00cf2caf2dd96c1
|
|
| BLAKE2b-256 |
8c264958c15c4cb31c41e9374d6d01739d3932513f37d4cabce10d1ec9f2615f
|