Using pre-generated proxies in your script – Apple Shake 4 User Manual

Page 161

Advertising
background image

Chapter 4

Using Proxies

161

Pre-Generating Proxies From the Command Line—Method One

If the base-resolution images are already loaded into a script and you have checked
that the proxy paths are correct (see above), you can launch a proxy-only render on the
command line with the -renderproxies command:

shake -exec myscript.shk -renderproxies p1 p2 p3 -t 1-100 -v -

createdirs

This automatically creates the appropriate subdirectories when -createdirs is activated.
There is no checking for file status, so all images are still re-rendered, even if they
already exist. Also, each sequence is only rendered for its actual length, so a five-frame
sequence is not rendered out to 100 frames.

The command to specify your proxies looks like the following example, and can be
entered into a startup .h file or in a script. Its format is identical to what is listed above:

DefineProxyPath(“../proxy.25.5/<base>.<format>”, .25, .5,

GetDefaultBytes(), “Auto”, 1,1,1);

Now, no further work is needed to load these proxies back into the user interface, as all
paths are determined by the default proxy settings that were saved into the script.

Pre-Generating Proxies From the Command Line—Method Two

If you only have the raw image files, you can use the -z or -zoom functions to render
your images:

shake fullres.#.cin -z .5 -fo halfres.#.cin -t 1-100 -v

shake fullres.#.cin -zoom .5 .5 -fo halfres_halfheight.#.cin -t 1-100

-v

shake fullres.#.cin -zoom .5 .5 -bytes 1 -fo

halfres_halfheight_8bit.#.sgi -t 1-100 -v

The first command renders half-resolution Cineon files. The second renders half-
resolution flat files (to squeeze scope images). The third command does the same, but
writes out 8-bit SGI files.

Using Pre-Generated Proxies in Your Script

After pre-generating your proxies, you need to set up your script so that it references
both the original media and the proxies you’ve created.

Advertising