Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Project Description

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

Whitewater Player (needed to play videos)

Example Site

Installation

$ pip install whitewater

Usage

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

Example:

$ 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.

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.

from whitewater import Whitewater

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

Release History

This version
History Node

1.0.1

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
whitewater-1.0.1-py2-none-any.whl
(11.5 kB) Copy SHA256 Hash SHA256
Wheel py2 Jun 14, 2016
whitewater-1.0.1.tar.gz
(10.0 kB) Copy SHA256 Hash SHA256
Source None Jun 14, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting