Slideshow Generator Demo
A Python application for creating video slideshows from images with optional music and transitions. Built with Gradio for the web interface and MoviePy for video processing.
Features
- ๐ผ๏ธ Create slideshows from multiple images
- ๐ต Add background music (optional)
- ๐ฅ Choose between different transition effects
- โฑ๏ธ Set custom duration per image
- ๐ฑ๏ธ Interactive web interface
- ๐ Reorder images before generation
Installation
Using Conda/Mamba
-
Create the environment from the provided YAML file:
conda env create -f slideshowgenerator.yml
-
Activate the environment:
conda activate slideshowgenerator
Usage
-
Run the application:
python video_generator.py
-
The Gradio web interface will open in your browser
-
Use the interface to:
- Upload images
- Optionally upload background music
- Select transition type
- Set image duration
- Reorder images
- Generate and download the slideshow
Requirements
All dependencies are specified in the slideshowgenerator.yml file. Main dependencies include:
- Python 3.11
- Gradio
- MoviePy
- NumPy
- ImageIO
File Structure
slideshow-generator/
โโโ video_generator.py # Main application code
โโโ slideshowgenerator.yml # Conda environment file
โโโ README.md # This file
โโโ requirements.txt # Alternative pip requirements