Examples – Apple Shake 4 User Manual

Page 1026

Advertising
background image

1026

Appendix A

The Shake Command-Line Manual

Examples

-interlace <image> <clipMode>
<field>

Interlaces the two images. When clipMode is set to 1, the BG
resolution is taken; when set to 0, the incoming image resolution is
taken.

0 = even field, 1 = odd field.

-oddonly <image>

Only executes the previous commands on the odd fields of the
image, and mixes it back in with the image you supply.

-pulldown <image> <field>
[offset]

Example:

shake bus/bus2.40-79#.jpg 0 -t 1-
50

Acts as a FileIn, converts from 24 fps to 30 fps, interlacing the
frames to add the extra frames. 0 = even field, 1 = odd field. The
offset amount is the frame that the interlacing starts after the
beginning.

-pullup <image> <field> [offset] Acts as a FileIn. Removes the 3:2 pulldown interlacing, converts

from 30 fps to 24 fps. 0 = even field, 1 = odd field. The offset
amount is the frame that the interlacing starts after the beginning.

-swapfields

Switches the odd and even fields.

Other Functions

Description

-average <image> <sStart>
<sEnd> <dStart> <dEnd>
<bytes> <gain> <scale>

Acts as a -bytes <bytes>, averaging frames down from sStart and
sEnd to dStart and dEnd. Usually use 1,1,1 for the last three
arguments.

-bytes <bytes>

1 = 8 bits, 2 = 16 bits, 4 = float.

Video Field Functions

Description

Looking at Images

Description

shake bg.iff sign_mask.iff

shake *

Uses the UNIX-style wildcard, *. This means “anything.”

shake *.iff

Indicates “anything with an .iff extension.”

shake bg.iff -compare
sign_mask.iff

Compares the two images, using Option-click or Alt-click to drag
between the two. For Linux, Shift-Control-click and drag.

Launching Flipbooks

shake alien/alien.#.iff -t 1-50

shake bus/bus2.#.jpg -t 40-79

shake bus/bus2.40-79#.jpg -t 1-40

shake fan/[email protected] -t 1-5

Cool Text Tricks

Description

shake -addtext %t -t 1-20

Prints time code.

shake -addtext %T -t 1-20

Prints full time code.

shake -addtext %f -t 1-20

Prints the current frame.

Advertising