notebooks/output/jolene.mp4
- Pipenv
- brew install espeak
- brew install ffmpeg
- a bunch of mp4's in
notebooks/videos/
- Clone this repository
- Run
pipenv install
- Run
pipenv shell
- Run
python3 -m ipykernel install --user --name=tts-video
- Run one of the jupyter notebooks in your favorite notebook environment
- If using VSCode, make sure to reload the kernels (
cmd+shift+p -> Developer: Reload Window
) and select thetts-video
kernel
Warning, some of the AI generated code does not handle tmp files correctly, so you may need to manually delete them if you run into space issues.
This software works by taking text, generating audio using coqui TTS, matching up the audio with the text, and then painting the text on a video at the right timestamps. There are also a few options for automating the creation of the video and audio componenets of the video.
see src.tts
see src.video_composition.combo.tts_component