Giter Site home page Giter Site logo

cmdshow's Introduction

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

cmdshow's People

Contributors

anihm136 avatar saarthak-agarwal avatar aditeyabaral avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.