Socket
Socket
Sign inDemoInstall

whitewater

Package Overview
Dependencies
4
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    whitewater

Convert videos into a format readable by the Whitewater Player Javascript library.


Maintainers
1

Readme

Whitewater Encoder

A command line utility that converts short videos a format that can be played on mobile websites with the Whitewater Player Javascript library.

Full Documentation <https://github.com/samiare/whitewater-encoder/wiki>__

Whitewater Player <https://github.com/samiare/whitewater-mobile-video>__ (needed to play videos)

Example Site <https://git.io/whitewater>__

Installation

.. code:: bash

$ pip install whitewater

Usage

.. code:: bash

$ whitewater <file> [options]
$ whitewater (-h | --help | --version)

Example:

.. code:: bash

$ whitewater path/to/video.mp4

Options


::

    --blocksize <size>   The width/height of a single grid cell when
                         checking one frame against the previous one.
    --grid <size>        The size of the diffmap images in rows and
                         columns, not absolute pixels.
    --quality <percent>  JPEG quality setting.
    --threshold <rms>    RMS threshold for determining whether a
                         single cell of a frame is different from
                         the previous one.
    --format <filetype>  File format to save diffmap images as.

For a full explanation of what these do and when you might want to use
them, check `the
documentation <https://github.com/samiare/whitewater-encoder/wiki/Glossary>`__.

Python Module
-------------

Whitewater can also be used as a module in your own Python scripts. The ``Whitewater()`` class and its options are described in detail in the `full
documentation <https://github.com/samiare/whitewater-encoder/wiki>`__.

.. code:: python

    from whitewater import Whitewater

    video = Whitewater('path/to/video.mp4')
    video.encode()

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc