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.
→ Whitewater Player (needed to play videos)
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whitewater-1.0.1.tar.gz.
File metadata
- Download URL: whitewater-1.0.1.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b844cc8406d2cdc862f4741ade6381afe51c16317c1aa4fc14bab27855f7521c
|
|
| MD5 |
fd35f05a1d4545b9c187f4c4e494840e
|
|
| BLAKE2b-256 |
29368de63f46cbbfdb23273969ebaff8923989e5960a25b875ec0d6b9998b225
|
File details
Details for the file whitewater-1.0.1-py2-none-any.whl.
File metadata
- Download URL: whitewater-1.0.1-py2-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66c11d73d45d24e07fcc34db6228d9d11205ef61a6710f507f09ea9eed6dc825
|
|
| MD5 |
fbe2ad7ee48b495905963e3e2ec94f60
|
|
| BLAKE2b-256 |
061632ff56022a7238c307eec05f1016d2c7bd6d7d54dc2b885986817a697f36
|