Skip to content

A CLI tool for creating slideshows from images quickly

License

Notifications You must be signed in to change notification settings

anihm136/cmdshow

Repository files navigation

Logo

cmdshow

A Python tool to create slideshows out of images - super fast! 😃


made-with-python MIT license
cmdshow provides a wide range of options to customize the slideshow, while also setting sensible defaults when you needed that slideshow yesterday. A user-friendly CLI as well as a GUI are available, whichever camp you belong to.

Usage ⌨️

At the most basic level, all you need to do is enter the path to your directory of images - simple as that! cmdshow will create a video slideshow out of the images in the given directory, add some background music and some transition effects and generally make it look good. For a list of all configuration options, see the CLI help below

Defaults

  • PATH_TO_MUSIC: None (no music will be added)
  • FRAME_DURATION: 5s
  • TRANSIITON_DURATION: 2s
  • TRANSIITON_TYPE: fade
  • RESOLUTION: 1920x1080
  • FRAMES_PER_SECOND: 15
  • OUTPUT_PATH: ./output.mp4

Note: Setting FRAMES_PER_SECOND lower than 10 may result in choppy transitions.

Installation 🔌

Please refer to: INSTALL.md

CLI 💻

$ python cmdshow.py --help
usage: cmdshow.py [-h] [-m PATH_TO_MUSIC] [-fd FRAME_DURATION]
                  [-td TRANSITION_DURATION] [-t TRANSITION_TYPE]
                  [-r RESOLUTION] [-fps FRAMES_PER_SECOND]
                  [-o OUTPUT_PATH]
                  path_to_images

positional arguments:
  path_to_images        Path to dirctory containing the images.

optional arguments:
  -h, --help            show this help message and exit
  -m PATH_TO_MUSIC, --music PATH_TO_MUSIC
                        Path to the music file.
  -fd FRAME_DURATION, --fduration FRAME_DURATION
                        Duration of each frame.
  -td TRANSITION_DURATION, --tduration TRANSITION_DURATION
                        Duration of transition.
  -t TRANSITION_TYPE, --transition TRANSITION_TYPE
                        Type of transition. For more clarity visit:
                        https://trac.ffmpeg.org/wiki/Xfade
  -r RESOLUTION, --resolution RESOLUTION
                        Desired resolution
  -fps FRAMES_PER_SECOND, --frames FRAMES_PER_SECOND
                        Number of Frames per second.
  -o OUTPUT_PATH, --output OUTPUT_PATH
                        Output path for the resultant sildeshow.

GUI 🌈

Screenshot of GUI

Watch it in action: Video

License 💼

Can be found here: License

About

A CLI tool for creating slideshows from images quickly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages