# pptx2video
Transform PowerPoint presentations to videos with voiceovers.
The voiceover text is generated from the "Notes" section of each PowerPoint slide.
## Requirements
> [!IMPORTANT]
> You must have an [OpenAI API key](https://platform.openai.com/api-keys).
Install LibreOffice and FFmpeg:
1. **LibreOffice**: Download and install from [LibreOffice Download](https://www.libreoffice.org/download/download-libreoffice/).
2. **FFmpeg**: Download and install from [FFmpeg Download](https://ffmpeg.org/download.html).
Clone the repository:
```console
git clone https://github.com/drengskapur/pptx2video.git
```
Install requirements with pip:
```console
pip install -r requirements.txt
```
## Configuration
Put the PowerPoint in the repository folder and set the `params.yml`:
`params.yml`
```yml
# INPUT POWERPOINT
POWERPOINT: "your_presentation.pptx"
# OUTPUT VIDEO
VIDEO_NAME: "your_video_output.mp4"
```
## Usage
To start the pipeline, enter the command:
```console
dvc repro
```
Raw data
{
"_id": null,
"home_page": "",
"name": "pptx2video",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "",
"author_email": "Drengskapur <service@drengskapur.com>",
"download_url": "https://files.pythonhosted.org/packages/70/13/548fd02ec8f09ef54df12093d8b3ed87707b2ca278a3b4cd615aea4c06a7/pptx2video-1.0.0a1.tar.gz",
"platform": null,
"description": "# pptx2video\nTransform PowerPoint presentations to videos with voiceovers.\n\nThe voiceover text is generated from the \"Notes\" section of each PowerPoint slide.\n\n## Requirements\n\n> [!IMPORTANT]\n> You must have an [OpenAI API key](https://platform.openai.com/api-keys).\n\nInstall LibreOffice and FFmpeg:\n\n1. **LibreOffice**: Download and install from [LibreOffice Download](https://www.libreoffice.org/download/download-libreoffice/).\n2. **FFmpeg**: Download and install from [FFmpeg Download](https://ffmpeg.org/download.html).\n\nClone the repository:\n\n```console\ngit clone https://github.com/drengskapur/pptx2video.git\n```\n\nInstall requirements with pip:\n\n```console\npip install -r requirements.txt\n```\n\n## Configuration\n\nPut the PowerPoint in the repository folder and set the `params.yml`:\n\n`params.yml`\n```yml\n# INPUT POWERPOINT\nPOWERPOINT: \"your_presentation.pptx\"\n# OUTPUT VIDEO\nVIDEO_NAME: \"your_video_output.mp4\"\n```\n\n## Usage\n\nTo start the pipeline, enter the command:\n\n```console\ndvc repro\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Transform PowerPoint presentations to videos with voiceovers.",
"version": "1.0.0a1",
"project_urls": {
"Documentation": "https://github.com/drengskapur/pptx2video#readme",
"Issues": "https://github.com/drengskapur/pptx2video/issues",
"Source": "https://github.com/drengskapur/pptx2video"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "755dbf6d216b19deb1d5be6556288bc542ca7e457dcedf065ead4533471cb576",
"md5": "92aae71f2d1ebcb7ce0f8015b9e4bbdd",
"sha256": "1da0c5efee93711352556771e282cac1ed9491b69559b9024c4e0a367707fe4e"
},
"downloads": -1,
"filename": "pptx2video-1.0.0a1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "92aae71f2d1ebcb7ce0f8015b9e4bbdd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 8476,
"upload_time": "2023-11-17T15:53:03",
"upload_time_iso_8601": "2023-11-17T15:53:03.569152Z",
"url": "https://files.pythonhosted.org/packages/75/5d/bf6d216b19deb1d5be6556288bc542ca7e457dcedf065ead4533471cb576/pptx2video-1.0.0a1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7013548fd02ec8f09ef54df12093d8b3ed87707b2ca278a3b4cd615aea4c06a7",
"md5": "5099ab3d8864c45aa6faebc2b5642c47",
"sha256": "55f337e2efe36927670f9c7a02a7380b8db403774cbe0799d0c85c574a4bd209"
},
"downloads": -1,
"filename": "pptx2video-1.0.0a1.tar.gz",
"has_sig": false,
"md5_digest": "5099ab3d8864c45aa6faebc2b5642c47",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 22120419,
"upload_time": "2023-11-17T15:53:06",
"upload_time_iso_8601": "2023-11-17T15:53:06.001797Z",
"url": "https://files.pythonhosted.org/packages/70/13/548fd02ec8f09ef54df12093d8b3ed87707b2ca278a3b4cd615aea4c06a7/pptx2video-1.0.0a1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-17 15:53:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "drengskapur",
"github_project": "pptx2video#readme",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "dvc",
"specs": []
},
{
"name": "ffmpeg-python",
"specs": []
},
{
"name": "natsort",
"specs": []
},
{
"name": "openai",
"specs": []
},
{
"name": "pdf2image",
"specs": []
},
{
"name": "python-dotenv",
"specs": []
},
{
"name": "python-pptx",
"specs": []
},
{
"name": "tenacity",
"specs": []
}
],
"lcname": "pptx2video"
}