Automatically convert video files to PowerPoint presentations.
🌐 Visit QuickStart | 📖 Full Documentation | 💬 GitHub Issues
# Clone and setup
git clone https://github.com/wangxs404/video2ppt.git
cd video2ppt
pip install -r requirements.txt
# Basic usage (extract 1 frame per second)
python3 main.py video.mp4
# Extract 1 frame every 5 seconds
python3 main.py video.mp4 -i 5 -o output.pptx
# View all options
python3 main.py -h- 🎬 Video Frame Extraction - Extract frames at specified time intervals
- 📊 PPT Generation - Generate beautiful PowerPoint presentations
- ⏱️ Flexible Configuration - Customizable frame extraction intervals (in seconds)
- 🚀 High Performance - Fast processing with small file sizes
- 🖼️ Professional Layout - Full-slide image layouts
- 📋 Auto Cleanup - Automatic temporary file cleanup
Based on 76MB, 37-minute MP4 video:
| Interval | Processing Time | File Size | Slide Count |
|---|---|---|---|
| -i 10 | ~7 seconds | ~9 MB | ~222 slides |
| -i 5 | ~14 seconds | ~17 MB | ~444 slides |
| -i 2 | ~28 seconds | ~33 MB | ~1110 slides |
| -i 1 | ~55 seconds | ~80+ MB | ~2220 slides |
Recommended: Use -i 5 for best balance between quality and file size.
- OpenCV - Video processing and frame extraction
- python-pptx - PowerPoint generation
- Pillow - Image processing
- NumPy - Numerical computations
MIT License - see LICENSE file for details.
For questions, issues, or suggestions: GitHub Issues
For detailed documentation, please select your language above / 详细文档请选择上方语言