Giter VIP home page Giter VIP logo

dynamic-webm's Introduction

Dynamic WEBM

Create a WEBM video that changes resolution when played. With options to set the minimum height/width and to enable easing transitions.

Options

Flag Description
-i, --input The path of the video you wish to modify.
-m, --modifier An option from the available Modifiers.
-w, --workers Number of workers to use for processing (default: CPU Thread Count).
--minwidth Minimum width that the video can be modified to, understood as a percentage of the original.
--minheight Minimum height that the video can be modified to, understood as a percentage of the original.
--ease Enable bidirectional cubic easing transitions with the bouncing, shrinking, and disappearing modifiers.

Modifiers

Modifier Value Description
Bounce 1 Create a "bouncing" video; The video will shrink and grow multiple times along the Y axis.
Shrink 2 Create a "shrinking" video; The video will shrink along the Y axis to a final height of 1 pixel, or the height specified using the --minheight flag.
Disappear 3 Create a "vanishing" video; The video will instantly change to a resolution of 1x1 upon being played.
Random 4 Create a "random" video; Every frame of the video will be set to a random resolution, within the constraints of specified --minheight and --minwidth values.

Pre-requisites

Example

python main.py -i <input_path> -m bounce --minheight 5 --ease
output_cRvri.webm

dynamic-webm's People

Contributors

fwiko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.