Environment variables for shake – Apple Shake 4 User Manual

Page 393

Advertising
background image

Chapter 14

Customizing Shake

393

The default settings in Shake are limited to the ones you find in the standard
QuickTime Compression Settings dialog.

To change the default QuickTime configuration:

1

Create a script with a FileOut node.

2

Select the FileOut node, then choose QuickTime from the fileFormat pop-up menu in
the Parameters tab.

3

Click codecOptions, then set the codec options in the Compression Settings dialog.

4

Save the script.

5

Open the script in a text editor and find the definition of the FileOut node you created.
After the name of the codec, you’ll see a 0, then a long, seemingly nonsensical string of
text in quotes. Copy the long nonsensical string, but not the quotes.

6

Create a .h file in your include/startup directory. Type:

sys.QTDefaultSettings = “ x ”;

where x is the long string you copied, in quotes with a semicolon at the very end of
the line. Here is an example:

sys.QTDefaultSettings =

"100W@u3000WDcsuHA#M000E@4J3In8q5CBRZ0VY2LKKPgATB3A9KSC7gXaC30q8v
W16OG5Koq10h2A5HIvi00ieKA9WT6a1rS9hH8dqIEiBqOHT0SJEZ8HHc8qtf4rlxS
AP9WYwcYJHfMMCKpWXYn2W893LCsk080000@00000000000;";

Note: The above declaration sets the Uncompressed 10-bit 4:2:2 codec as the default.

The default settings in Shake are limited to the ones you find in the standard
QuickTime Compression Settings dialog.

Note: If the default codec you’ve specified is not available, a message is sent to the
console, and the default codec reverts to Animation.

Environment Variables for Shake

This section discusses two ways to set environment variables, and the variables
recognized by Shake. At the end of the section, some examples of aliases are provided.

Warning:

Incorrectly setting environment variables can lead to problems running

Shake and with your operating system. If you are not comfortable with changing
these types of settings, consult your system administrator for guidance.

Advertising