Skip to main content

Automated lyrics video generator

Project description

PyPI - Version PyPI - License

Lyriks

Lyriks is an automated lyrics video generator. It transcribes the audio and automatically creates a video using MoviePy.


Features


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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lyriks_video-0.2.2-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

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

Hashes for lyriks_video-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a1c6936cdc72c6572d531b06b9091e56267aa3b1787fca6feae47d55da984b7d
MD5 0a9939f8b6887168aa3026d54018dda7
BLAKE2b-256 fa0feee018540fb8c11978b34269db1055436ff0ab2eb415c15072b1be4d351b

See more details on using hashes here.

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

Hashes for lyriks_video-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 19229d87f6869b5b95ed40ffe129c7c9e8c27c8249c1546bc6259e3b051db88e
MD5 72eca5bcac449073b00cf2caf2dd96c1
BLAKE2b-256 8c264958c15c4cb31c41e9374d6d01739d3932513f37d4cabce10d1ec9f2615f

See more details on using hashes here.

Supported by

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