Skip to content

smallwat3r/slideshow-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slideshow Creator

I was looking for a super simple tool to create a slideshow of images and videos for a wedding.

I couldn’t find one that was simple, free, and automated, so I built my own using moviepy.

Hope it helps someone else too!

Features

  • Automatically generates a video slideshow from files in the medias/ folder
  • Supports both images and videos
  • Randomizes medias order
  • Smooth fade transitions

Default settings

  • Output filename: slideshow.mp4
  • Image duration: 3 seconds
  • Fade duration (in/out): 0.5 seconds
  • Frame rate: 24 FPS
  • Audio: Disabled

You can customize these settings in the config.py file.

Installation

Create a virtual env and install moviepy via pip:

python3 -m venv .venv
source .venv/bin/activate
pip install moviepy==2.2.1

Usage

  1. Place your images and videos in the medias/ directory.

    note that the order of the media will be randomised

    you might want to run mogrify -auto-orient *.jpg in the medias/ folder, from experience it helps ensure no pictures get rotated after processing

  2. From the venv, run the script:

     python main.py
    
  3. Your generated slideshow will be saved as slideshow.mp4.

About

Dead simple script to create a slideshow of images and videos

Resources

License

Stars

Watchers

Forks

Contributors

Languages