GitHunt
RO

rolandtannous/slideshow_generator

gradio slideshow generator demo

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

  1. Install Miniconda or Mamba if you don't have them installed

  2. Create the environment from the provided YAML file:

    conda env create -f slideshowgenerator.yml
  3. Activate the environment:

    conda activate slideshowgenerator

Usage

  1. Run the application:

    python video_generator.py
  2. The Gradio web interface will open in your browser

  3. 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

License

MIT License

Languages

Python100.0%

Contributors

MIT License
Created March 20, 2025
Updated March 20, 2025
rolandtannous/slideshow_generator | GitHunt