Skip to main content

A CLI tool that creates a kaleidescope-esque gradient image of your favorite movie.

Project description

Cinegraph Logo


A CLI tool that creates a kaleidescope-esque gradient image of your favorite movie.

· Installation ·

📝 Table of Contents

🧐 About

A CLI tool that creates a kaleidescope-esque gradient image of your favorite movie.

🖥️ Screenshots

Total Recall

Elysium

Pacific Rim

Star Trek Into Darkness

Edge of Tomorrow

Example Write Frames

💨 Quickstart

If you are running from the repository Cinegraph can be invoked using:

$ poetry run cinegraph 

or if you are running from a pip installation you should have the CLI command available:

$ cinegraph

If you do not provide any positional arguments to specify input files it will automatically open a Tkinter file picker, you need to have a capable display window provider (if using WSL Xserver is a great option.)

Additionally you can run it with the following flags:

Flags

NAME
    poetry run cinegraph
    cinegraph

SYNOPSIS
    poetry run cinegraph <flags> [FILES]...
    cinegraph <flags> [FILES]...
POSITIONAL ARGUMENTS
    FILES
        The files that you want to be processed.

FLAGS
    -c,--colors=COLORS
        Number of colors in the Cinegraph
        Example Input:
            100
    -b,--blur=BLUR
        Blur amount for the Cinegraph
        Example Input:
            5
    -r,--resolution=RESOLUTION
        Resolution for the Cinegraph
        Example Input:
            1000,1200
    -n,--no_frame=NO_FRAME
        Remove the white border + frame for the Cinegraph
    -m,--margin=MARGIN
        Set the margin (in pixels) for the border around the Cinegraph
        e.g. 25
    -w,--write_frames=WRITE_FRAMES
        Output the frames with a center square that denotes the dominant color.

💾 Installation

From PyPi

Install steps

  1. Install using pip: pip install cinegraph
  2. You will then have the CLI command available to you:
$ cinegraph

From GitHub Repo Clone

Prerequsites

  1. Python and Python Poetry is installed

Install steps

  1. poetry install (To install in the top level directory always: poetry config virtualenvs.in-project true)

⛏️ Tech Stack

✍️ Authors

🎉 Acknowledgements

  • @FFMPEG for providing amazing open source video solutions.
  • The Colors of Motion for being the inspiriation and the idea that I tried my best to mimic.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cinegraph-0.1.2.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

cinegraph-0.1.2-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file cinegraph-0.1.2.tar.gz.

File metadata

  • Download URL: cinegraph-0.1.2.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.8.2 Linux/5.8.0-1039-azure

File hashes

Hashes for cinegraph-0.1.2.tar.gz
Algorithm Hash digest
SHA256 364788ee04b545fbadf37f10c809f340af1100e8c9f3d5207a38e7cd53993b37
MD5 53406e8cd2333b9f035f039057c208e3
BLAKE2b-256 656eafdc0d638194ec8ba3b4db35ee3c30943fa4ce3612d7148a7d0b5d0d86b0

See more details on using hashes here.

File details

Details for the file cinegraph-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: cinegraph-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.8.2 Linux/5.8.0-1039-azure

File hashes

Hashes for cinegraph-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bdf083b4b14d798f2e2ba4fdf6e43ed40fcaaf8d282a22d2e93cebde6fda2d3e
MD5 5cd8fd6791a375d8420723f20b631509
BLAKE2b-256 89e0458099012af2c5deb6f57546c0ac5b525020f4aa38d112f14aa77cde130b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page