Command Line Tool - samiare/whitewater-encoder GitHub Wiki

The simplest way to encode videos is to install the Whitewater command line tool on your computer.

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

Example:

$ whitewater path/to/video.mp4

Options

You can use -h, --help to display this information.

--blocksize <size>

The width/height of a single grid cell when checking one frame against the previous one. [What is blocksize?](How It Works#blocksize)

Default: 8

--grid <size>

The size of the diffmap images in rows and columns, not absolute pixels. [What are diffmaps?](How It Works#diffmaps)

Default: 256

--quality <percent>

JPEG quality setting (only applies when format is set to "JPEG").

Default: 75

--threshold <rms>

RMS threshold for determining whether a single block of a frame is different from the previous one. [What is RMS?](How It Works#root-mean-square)

Default: 1.0

--format <filetype>

File format to save diffmap images as (either "JPEG", "PNG" or "GIF").

Default: "JPEG"

-h, --help

Print help message.

--version

Print version number.

⚠️ **GitHub.com Fallback** ⚠️