Skip to content

Transform PowerPoint presentations to videos with voiceovers.

License

Notifications You must be signed in to change notification settings

drengskapur/slides2video

Repository files navigation

slides2video

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.

notes.png

Run in Google Colab Open In Colab

This is the easiest method because all the infrastructure is set up.

OpenAI API Key

Put your OpenAI API key in the .env file:

.env

OPENAI_API_KEY='<YOUR_OPENAI_API_KEY>'

Manual Execution

Install LibreOffice and FFmpeg:

  1. LibreOffice: Download and install from LibreOffice Download.
  2. 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

Docker

To use the Docker image, put the PowerPoint (.pptx) inside the input folder, and run:

./run.sh

About

Transform PowerPoint presentations to videos with voiceovers.

Resources

License

Stars

Watchers

Forks

Languages