Transform PowerPoint presentations to videos with voiceovers.
Important
You must have an OpenAI API key.
Preview example output here.
The voiceover text is generated from the "Notes" section of each PowerPoint slide.
This is the easiest method because all the infrastructure is set up.
Put your OpenAI API key in the .env
file:
.env
OPENAI_API_KEY='<YOUR_OPENAI_API_KEY>'
Install LibreOffice and FFmpeg:
- LibreOffice: Download and install from LibreOffice Download.
- FFmpeg: Download and install from FFmpeg Download.
Clone the repository:
git clone https://github.com/drengskapur/slides2video
Install pip requirements:
pip install -r requirements.txt
To run the pipeline, enter the command:
dvc repro
To use the Docker image, put the PowerPoint (.pptx
) inside the input
folder, and run:
./run.sh