Automatic karaoke generator based on recent neural nets. Converts any youtube link to music video with extracted vocals while hardcode big subtitles. Multilingual vocal autodetection.
Clone the repository and make output directories:
git clone https://github.com/michalvavrecka/superkaraoker.git
cd superkaraoker
mkdir karaoke & mkdir output & mkdir original
Install dependencies and make shell scripts executable:
pip install -r requirements.txt
sudo apt install ffmpeg
sudo chmod +ax ./superkaraoker
sudo chmod +ax ./multikaraoker
Clone the repository and make output directories:
git clone https://github.com/michalvavrecka/superkaraoker.git
cd superkaraoker
mkdir karaoke & mkdir output & mkdir original
Install dependencies and make shell scripts executable:
pip install -r requirements.txt
brew install ffmpeg
chmod 755 ./superkaraoker
chmod 755 ./multikaraoker
Install Python from store, download and install FFmpeg then:
git clone https://github.com/michalvavrecka/superkaraoker.git
cd superkaraoker
pip install -r requirements.txt
Then you can try superkaraoker.bat
FFmpeg runs on CPU but GPU is recommended.
Spleeter runs on CPU but GPU version is faster.
Whisper and Whisperx requires at least 2GB VRAM for smallest model, 6GB VRAM for medium model. For the best results 12GB GPU is recommended.
Convert one song
./superkaraoker https://youtu.be/fUkBPG6viPI Mindslip_Broken_picture_frames
Convert multiple songs
./multikaraoker mysongs.txt
Karaoke (copyright free music video)
karaoke.mp4
Original video with hardcoded subtitles (copyright free music video)
original.mp4
If you have small GPU change the model size in superkaraoker script to --model medium (6GB) or --model small (2GB)
If you want to force the language add --language parameter to whisper command inside superkaraoker
Automatic subtitles grammar correction
Better subtitles timing with whisperx (work only for specific languages)
Copyright © 2023 Michal Vavrecka. Released under the MIT License.