Referring to media using file paths – Apple Shake 4 User Manual

Page 109

Advertising
background image

Chapter 3

Adding Media, Retiming, and Remastering

109

The following table lists some formatting examples.

The above examples assume an exact relation between the current frame processed in
Shake, and the frame read in. For example, at frame 1, image.1 is read in. If you are
reading the images in from the interface with Sequence Listing enabled in the File
Browser, you see the actual sequence in the “File name” field. For example:

Unlike the previous examples, these offset the clip timing by placing image.4.iff at
frame 1 and image.5.iff at frame 2. In the first example, image.10.iff is placed at frame 7.
In the second example, image.10.iff is placed at frame 4. All sequence gaps are ignored.
To offset or retime a clip, use the Timing subtree in the FileIn parameters or the Time
View tab.

When reading in an image, the File Browser allows you to specify if the first sequence
image (suppose the sequence starts at frame 20) is placed at frame 1, the start frame
(for example, 20), or the current frame.

Referring to Media Using File Paths

Shake can read local or absolute file paths. For example, with a machine named
“myMachine,” suppose you had a directory structure like the following:

/shots/my_directory/my_image.iff

/shots/scr/my_script.shk

The script can access my_image.iff in the following ways:

FileIn1 = FileIn(“../my_directory/my_image.iff”);

FileIn2 = FileIn(“/shots/my_directory/my_image.iff”);

FileIn3 = FileIn(“//myMachine/shots/my_directory/my_image.iff”);

Note: Local file paths in a script are local to where the script is located, not from where
Shake is started.

Shake Format

Reads

image.#.iff

image.0001.iff, image.0002.iff

image.%04d.iff

image.0001.iff, image.0002.iff

[email protected]

image.1.iff, image.2.iff

image.%d.iff

image.1.iff, image.2.iff

image.@@@.iff

image.001.iff, image.002.iff

image.%03d.iff

image.001.iff, image.002.iff

Image

Shake Syntax With Sequence Listing

image.4.iff, image.5.iff ...
image.10.iff

[email protected]

image.4, image.5.iff, image.6.iff,
image.10.iff

image.4-6,[email protected]

Advertising