Saving compositions to disk

You use the File>Execute Composition panel to generate the final-resolution composited sequence of all the events in a composition and output it to disk files. You can also record to videotape from this panel.

To output to disk:

  1. If you want to record the composition to video at the same time as the images are output to files, complete steps 1 and 2 on page 347 and close the Video>Control panel.
  2. Select File>Execute Composition.
  3. Use the panel to specify your execution options. Set the Video option if you have already specified your video recording devices on the Video>Control panel. See the next section, "Using the Execute Composition panel" for details.

Using the Execute Composition panel

To start executing the composition, click Start from the File>Execute Composition panel. ComposerLite shows you the frame-by-frame progress of the operation.

Click Stop to interrupt the compositing operation. Click Done to close the panel and continue editing.

    Range Specify which frames to execute. Use the in and out points to specify the points at which compositing starts and stops. These positions can be specified relative to the timeline or relative to the VTR Offset specified in the Video>Control panel, depending on the current Time setting in the Options>Edit panel.

    If the Time setting in the Options>Edit panel is Timeline, use Timeline in point and Timeline out point to specify the points at which compositing is to start and stop. These locations are defined relative to the timeline.

    If the setting in the Options>Edit panel is VTR, use VTR in point and VTR out point to specify the points at which compositing is to start and stop. These locations are defined relative to the current VTR Offset.

    Use By to specify an increment for selecting the frames to execute.

    Output Specify whether to record your composited images to video, to disk, or to both video and disk. If you have selected video devices with the Video>Control panel, you can choose which color components are recorded to video. First, turn on the Video button to enable recording. Then, select Color to record the color (red, green, and blue) components, Matte to record the matte component only, or Z depth to record the Z-depth component only.

    If you want to record an image to disk, turn on the Image button and enter a filename in the text box or click the button to display a file browser for specifying the file's name and other attributes. Turn off the Image button to disable the creation of disk files.

    Execute Click the Always process image events check box if you want to generate images even when you have no video or image files. This is required when you use only FileOut to generate images. Turn on Single event only if you want to execute only one event from your composition, then enter the name of that event in the text box. If Single event only is off, all events are executed.

    Stop on error tells ComposerLite what to do when an error, such as a missing source image, is encountered. When Stop on error is selected, all compositing stops when the first problem occurs. If it is turned off, the frame encountering the error is skipped and the remaining frames are still composited.

    If you are using a computer with multiple CPUs and ComposerLite is licensed to use them, turn on Multiprocessing and enter the number of CPUs you want to use.

    Scale Specify the size at which the images are generated. For testing, you may wish to select a small size to decrease execution time. When scaling to other than full size, no filtering of the images is performed. Instead, pixels are dropped. Full computes images at final resolution and does not scale images when you execute and record.

    1/2 scales images to half of their final resolution when you execute and record.

    1/4 scales images to one quarter of their final resolution when you execute and record.

    Other scales the image to the specified fraction of its final resolution when you execute and record.

    Maximum Memory Set the amount of memory ComposerLite can use when executing your composition. If you select Default, approximately 50% of your computer's RAM is used to store composited images, overflowing to swap space if necessary. Image data beyond this amount is stored on disk. If you select Other, you can specify any amount of RAM, in megabytes.
    Tile Specify whether you want ComposerLite to use tiling as it composites your images (see "Using tiling" on page 364 for more information on tiling). To enable tiling, select either Scanlines or Memory. Choose Scanlines to define the tile size as a number of scanlines. Choose Memory to define the tile size as a number of megabytes.

    To disable tiling, select None.

    Allocation Specify what ComposerLite should do with intermediate images as they are generated. This is useful when you are compositing very large frames on a computer with a small amount of RAM or a small amount of available disk space. If you are not using tiling, ComposerLite normally keeps a copy of intermediate images when they are to be used more than once, so that it does not spend time regenerating them. This may use extra RAM or disk space.

    Turn on Discard intermediate images if you have insufficient memory or disk space to store these intermediate images. (See also the -nokeep option on page 370.)

    Alternatively, when tiling is enabled, intermediate images are not normally saved. This means they must be regenerated if they are needed more than once. If you want to save these intermediate images because they take a long time to be generated, turn Keep intermediate images if used at least __ times on, and select the number of times that the image is to be needed before it is kept. Images that are used fewer than the number of times specified are regenerated each time they are needed. (See the -keep command-line option on page 368.)

    Frame Procedures Define external procedures to be executed as each image is composited. You can enter the name of the procedure directly into the text box, or click the button to use a file browser to select the procedure. The Pre-composite procedure is executed before compositing is performed for each frame.

    The Pre-output procedure is executed after each frame is composited, but before the result is output to disk or video.

    The Post-output procedure is executed after the compositing is performed for each frame, and after the result has been output to disk or video.

    See the -fpo, -fpp, and -fps command-line options on page 367 for more details.

Specifying the output file

You use the Image menu (accessed by clicking the button to its right) to specify the name and attributes of the file you are writing. Some image types display additional options, as described in the following pages. See also Table 3, "Output image file formats," on page 362, for more information on each image type.

Directories Use the Directories pull-down menu to navigate in the UNIX directory tree. The pull-down menu lists the current directory, with each leading subdirectory on a separate button. The list below the Directories button shows the subdirectories in the current directory.

The Files list shows all files of the specified type in the current directory. You can choose an existing file or directory, either by double-clicking its name in the list, or by clicking its name in the list, then clicking the OK button or pressing the ENTER key.

File Name When you click a filename in the list, it appears in the File Name text box. Alternatively, you can specify a filename by typing it here.
Image Type Select the type of file you wish to create from the Image Type pull-down menu. Table 3 lists the available output file formats.
Syntax and Extension When you select an Image Type, the default Syntax for the file is displayed followed by the expected extension. If the syntax or extension for your files is different from that displayed, select the correct format from the pull-down menu. You can add additional syntax statements to the menu, as described in "Adding new image name syntaxes" on page 375.

Additional options for Avid OMF

Encoding Specify the format to store an Avid OMF file. All applications that support the OMF interchange standard should be able to read the following formats. The specified Avid formats are directly playable in native mode on Avid systems. The following formats are played directly by the Avid products as specified:

  • Avid AVR 4 (NTSC and PAL)
    Avid AVR 4E (NTSC and PAL) are compatible with Avid's Media Composer. They use high-quality JPEG compression and store only the first field. Use a resolution of 640 by 480 (NTSC) or 640 by 560 (PAL). Otherwise, images are cropped or padded with black. Eight leading black scanlines are added per field.
  • Avid AVR 5 (NTSC and PAL)
    Avid AVR 5E (NTSC and PAL) are compatible with Avid's Media Composer and Media Suite Pro for Macintosh. They use medium-quality JPEG compression and store only the first field. Use a resolution of 640 by 480 (NTSC) or 640 by 560 (PAL). Otherwise, images are cropped or padded with black. Eight leading black scanlines are added per field.
  • Avid AVR 6E (NTSC and PAL) is compatible with Avid's Media Composer. It uses low-quality JPEG compression and stores only the first field. Use a resolution of 640 by 480 (NTSC) or 640 by 560 (PAL). Otherwise, images are cropped or padded with black. Eight leading black scanlines are added per field.
  • Avid AVR 25 (NTSC and PAL) is compatible with Avid's Media Composer, and Media Suite Pro for Macintosh. It uses high-quality JPEG compression and stores both fields of the image. Use a resolution of 640 by 480 (NTSC) or 640 by 560 (PAL). Otherwise, images are cropped or padded with black. Eight leading black scanlines are added per field.
  • Avid AVR 26 (NTSC and PAL) is compatible with Avid's Media Composer, Media Suite Pro for Macintosh, News Cutter, Air Play and Media Recorder. It uses low-quality JPEG compression and stores both fields of the image. Use a resolution of 640 by 480 (NTSC) or 640 by 560 (PAL). Otherwise, images are cropped or padded with black. Eight leading black scanlines are added per field.
  • Avid Media Suite Pro Indigo (NTSC and PAL) is compatible with Avid's Media Suite Pro Indigo. It uses medium-to-high-quality JPEG compression and stores both fields of the image. Use a resolution of 640 by 480 (NTSC) or 768 by 576 (PAL). Otherwise, images are cropped or padded with black.
  • Use the following formats for resolution-independent storage.

  • JPEG stores the image sequence using JPEG compression and uses the output resolution specified in the Output>Options panel. JPEG encoding degrades the color somewhat. The JPEG Quality setting is fixed. Avid products re-sample JPEG files before playing them.
  • Uncompressed stores the image sequence without compression and uses the output resolution specified in the Output>Options panel. Uncompressed files tend to be very large but do not lose color quality as with JPEG-encoded files. Avid products re-sample uncompressed files before playing them.
  • Additional options for Explore files

    Bits per Component Specify a color resolution of 8 or 12 bits. (All compositing is performed using 16 bits per component.)

    Additional options for GIF files

    Mode Specify the number of entries to store in the palette and, correspondingly, the bit depth of the pixel indexes. Because the palette used by the ComposerLite event may not be an even power of two in size, and because not all GIF implementations support various bit depths, Mode lets you manually select the storage method. By default, a 256-entry palette and 8-bit indexes are output. This is the safest option because some GIF implementations may not support anything but the maximum size. If your ComposerLite palette is smaller than 256 entries, the trailing entries are assigned black in the GIF file.

    By choosing a smaller Mode value, you create smaller image files. For example, if the ComposerLite palette contains 14 colors, choose the next largest GIF Mode value, which is 16 colors (4 bits). This stores your 14-color palette plus two black entries. Each pixel contains 4-bit indexes.

    Select one of the following from the pull-down menu:

    1. 2 colors (1 bit)
    2. 4 colors (2 bits)
    3. 8 colors (3 bits)
    4. 16 colors (4 bits)
    5. 32 colors (5 bits)
    6. 64 colors (6 bits)
    7. 128 colors (7 bits)
    8. 256 colors (8 bits)

    For instance, 8 colors (3 bits) means the file is written with an 8-entry palette and the pixel data contains 3-bit indexes.

    Additional options for IFF-ILBM

    Matte Select whether or not matte information is included in the file.
    Compression Select Raw encoding or Run-length encoding.

    Additional options for JPEG files

    Quality Specify a value from 0 to 100. This controls the degree of compression performed on the image. A value of 100 creates high-quality images with very little compression. A value of 0 creates low-quality images with very high compression. The default is 75, giving reasonably high-quality images while still affording a marked reduction in image size.

    JPEG is a lossy compression method. Even using the highest quality level, images you write differ slightly when they are read back. Quality values below 20 are optional under the JPEG standard and may not be supported by all JPEG implementations.

    Additional options for Kodak Cineon files

    Color Correction Choose whether you want the file to be created using logarithmic print density space, as Kodak Cineon files typically are. Select the type of Color Correction from the pull-down menu: Photometric outputs the file in logarithmic print density space.

    Photometric (old) outputs the file in logarithmic print density space, using Kodak's original specification (the specification used prior to ComposerLite 3.0).

    None outputs the file in linear space.

    VistaVision Images Specify whether you want the image to be rotated to the vertical plane. Select one of the following from the pull-down menu:

    Rotate on output rotates the image so that the base of the image is vertical.

    Do not rotate on output does not rotate the image.

    Do not rotate on output, but set VistaVision tag does not rotate the image output, but sets the header information in the file to indicate that the image is to be treated as though it had been rotated. This is useful for processing VistaVision images which were not rotated on input.

    Red/Green/Blue Offset The Cineon image format accommodates a much wider range of film exposure than is accessible using conventional computer graphics techniques. Up to 1400% of full white can be represented, whereas ComposerLite allows only 100% full white as the maximum. When writing Cineon images, you may need to adjust the exposure to expand the range.

    The offset is a positive or negative integer value in print density units. You specify offsets for the red, green, and blue color components independently. A value of 90 units is roughly equivalent to one stop. For example, to bring values down by two stops, specify an offset value of +180.

    Reference Black Specify the pixel value to be considered true black. The default is 95. This option applies only when Color Correction is set to Photometric. If dealing with 8-bit Cineon files, use a value of 23 as a starting point. You can use this value to adjust over- or under-exposed images. The color offsets (Red Offset, Green Offset, and Blue Offset) are applied to the pixels before Reference Black is applied. To determine the correct value for Reference Black, see "Specifying the output file" on page 358.

    Reference White Specify the pixel value to be considered standard white (the intensity recorded from a 90% card illuminated under standard conditions). The default is 685. This option applies only when Color Correction is set to Photometric. If dealing with 8-bit Cineon files, use a value of 171 as a starting point. You can use this value to adjust over- or under-exposed images. The color offsets (Red Offset, Green Offset, and Blue Offset) are applied to the pixels before Reference White is applied. See "Specifying the output file" on page 358.

    Film Gamma Specify the gamma for the film. This is usually 0.6 for negative films. This option applies only when Color Correction is set to Photometric.
    Soft Clip Specify a value for clamping pixels to Reference White. Soft clip non-linearly compresses highlight information. By adjusting Soft Clip, you define a smooth clamping function, which attenuates pixels that are the specified number of units below Reference White to four times the specified number units above Reference White. This option applies only when Color Correction is set to Photometric. By default (when Soft Clip is zero), pixels with values above Reference White are clamped to Reference White.

    Use Soft Clip carefully, and only if there is important highlight information above Reference White. To determine if pixels occur above Reference White, see "Tips for Reference Black, Reference White, and Soft Clip."

    Tips for Reference Black, Reference White, and Soft Clip

    1. Set Color Correction to Photometric. This converts the image data from linear space to logarithmic when the file is written.
    2. Adjust the Red, Green, and Blue Offsets to affect over- or under-exposure. A value of 90 is equivalent to one stop. The offsets also let you adjust the color balance of each channel.
    3. If there still is an incorrect dynamic range, adjust Reference Black and Reference White. We recommend using an output gamma of 1.0 when writing Kodak Cineon files.

    Additional options MPEG-1 files

    You can read MPEG-1 files using either IRIX 5.3 or IRIX 6.2. However, you can output them only with IRIX 6.2.

      Orientation Select Top to bottom or Bottom to top.
      Bit Rate Specify how many kilobits per second to compress to.
      I Frame Distance Select the number of frames between I frames.
      Motion Vector X, Y Select the maximum search range in pixels for P frame motion vectors. Higher values may provide better quality at the expense of greater computation time.

    Additional options for PICT Version 2 files

      Matte Select whether or not matte information is included in the file.
      Mode Specify whether the file should contain RGB information or Color palette and indexes.

    Additional options for Pixar files

    Pixar files do not explicitly store gamma. However, ComposerLite stores gamma in the comment section of the header. This gamma can be written and read only by Alias|Wavefront applications.

    On output, you can store the gamma used in creating the file by selecting Gamma. The default is Do not output gamma.

    Additional options for PostScript files

      Contents Specify whether you want to create Standard PostScript or you want it to Include bounding box information.
      Orientation Specify whether you want Portrait or Landscape.
      DPI Resolution Specify the dots per inch to use when writing a PostScript image file. This should be set to the dots-per-inch value that your output device supports.
      Offset X (Inches) Use this to shift the image from the left of the page. For example, if your printer prints only to within a quarter inch of the edge of the page, you can shift the image into the printable part of the page.
      Offset Y (Inches) Measures the image offset from the bottom of the page.

    Additional options for QuickTime Movie files

      Compression Specify the format to store a QuickTime file. Select one of the following: Apple Animation is best suited for animations with large areas of similar colors. Apple animation degrades the color somewhat.

      Apple Cinepak compresses your movie using Cinepak compression. This is available only if you have purchased a license from Silicon Graphics.

      Apple None (uncompressed) stores the image sequence without compression. Uncompressed files tend to be very large but do not lose color quality as occurs with Apple video and Apple animation.

      Apple Photo (JPEG) compresses your movie using JPEG compression.

      Apple Video is best suited for video images. Apple video degrades the color somewhat. Use an image resolution that is a multiple of four pixels in both height and width-otherwise the image is padded with black.

      Quality Specify a value from 0 to 100. This controls the degree of compression performed on the image. A value of 100 creates high-quality images with very little compression. A value of 0 creates low-quality images with very high compression. The default is 75, giving reasonably high-quality images while still affording a marked reduction in image size.

      JPEG is a lossy compression method. Even using the highest quality level, images you write differ slightly when they are read back. Quality values below 20 are optional under the JPEG standard and may not be supported by all JPEG implementations.

      Quality has an effect with Apple Animation, Apple Photo (JPEG), Apple Video, and Apple Cinepak. It has no effect with Apple None (uncompressed).

    Additional options for Silicon Graphics files

      Bits per Component Specify a color resolution of 8 or 16 bits. (All compositing is performed using 16 bits per component.)
      Matte Select whether or not matte information is included in the file.
      Compression Select Raw encoding or Run-length encoding.

    Additional options for Silicon Graphics Movie files

      Compression Specify one of the following formats to store a Silicon Graphics Movie file. Uncompressed stores the image sequence without compression. Uncompressed files tend to be very large but do not lose color quality as occurs with MVC1, MVC2, and JPEG.

      MVC1 (color cell) is best suited for video images. An MVC1 file has some color degradation, but has good compression. It is faster to create than an MVC2 file, but plays back slower.

      MVC2 (fast color cell) is best suited for video images. An MVC2 file is similar to MVC1-some color degradation occurs. An MVC2 file takes longer to generate than an MVC1 file, but the file is smaller and the playback time is faster.

      Run-length encoding is ideal for animations with large areas of similar colors. Run-length encoding suffers no color degradation.

      JPEG stores the image sequence using JPEG compression. JPEG encoding degrades the color somewhat. JPEG encoding must be specified when writing Cosmo-playable files.

      Quality Specify a value from 0 to 100. This controls the degree of compression performed on the image. A value of 100 creates high-quality images with very little compression. A value of 0 creates low-quality images with very high compression. The default is 75, giving reasonably high-quality images while still affording a marked reduction in image size.

      JPEG is a lossy compression method. Even using the highest quality level, images you write differ slightly when they are read back. Quality values below 20 are optional under the JPEG standard and may not be supported by all JPEG implementations.

      Quality has an effect only when Compression is set to JPEG.

      Orientation Specify the storage direction of the image. Select one of the following: Top to bottom stores each image in the file starting at the top-most scanline. Orientation must be Top to bottom when writing Cosmo-playable files.

      Bottom to top stores each image in the file starting at the bottom-most scanline.

      Interlacing Specify if each image in the file is stored as a complete frame or as two separate fields. Select one of the following: Non-interlaced stores each image as a single frame, with scanlines stored sequentially.

      Even field dominance stores the scanlines of the even field first, followed by the scanlines of the odd field. Use for PAL video.

      Odd field dominance stores the scanlines of the odd field first, followed by the scanlines of the even field. Use for NTSC video.

    You can generate Cosmo-compatible SGI Movie files that can be played using dm_play. For NTSC, use an output resolution of 640 by 496; for PAL, use a resolution of 768 by 576. You can use other resolutions if the height is a multiple of 16 pixels and the width a multiple of 8 pixels. For the standard NTSC video resolution (486 scanlines), the top 10 scanlines are stored by Cosmo but not displayed on a video monitor.

    Set Compression to JPEG, Orientation to Top to bottom, and Interlacing to Odd field dominance for NTSC and Even field dominance for PAL.

    Additional options for Sony Playstation files

      Mode Select one of the following from the pull-down menu: 24-bit RGB specifies 8 bits per channel of red, green, and blue with no matte.

      15-bit RGB specifies 5 bits per channel of red, green, and blue plus a one-bit matte channel.

      256-entry color palette and indexes specifies that the file contains a palette of 256 colors and pixels of 8-bit indexes. Each index is an offset into the palette for the color that represents the pixel. Each palette entry contains 5 bits each of red, green, and blue with a one-bit matte value.

      16-entry color palette and indexes specifies that the file contains a palette of 16 colors and pixels of 4-bit indexes. Each index is an offset into the palette for the color that represents the pixel. Each palette entry contains 5 bits each of red, green, and blue with a one-bit matte value.

      CLUT Texture Offset X Specify the horizontal offset of the color look-up table in the video RAM. This value is only used when Mode stipulates a palette be stored with the file.
      CLUT Texture Offset Y Specify the vertical offset of the color look-up table in the video RAM. This value is only used when Mode stipulates a palette be stored with the file.
      Pixel Texture Offset X Specify the horizontal offset of the image in the video RAM.
      Pixel Texture Offset Y Specify the vertical offset of the image in the video RAM.

    Additional options for TIFF6.0

      Bits per Component Select 8 or 16.
      Compression Select Uncompressed to disable compression. Select Packbit to enable Packbit compression.

    Additional options for Wavefront files

      Bits per Component Specify a color resolution for storing the final images, from 1 to 16 bits per component. (Internally, all compositing is performed using 16 bits per component.)

        Output image file formats

        File format Format
        Code
        Default
        Extension
        Bits per component Matte Z-depth
        Alias als None 8 bits1 yes2 yesb
        Aurora aurora .im 8 bitsa yes no
        Avid OMF3 omf None 8 bitsa no no
        Explore tdi None 8 or 12 bitsa,h yes yes
        GIF gif .gif indexeda no no
        IFF-ILBM ilbm .lbm 1- to 8-bit indexeda optional no
        JPEG jpg .jpg 8 bitsa no no
        Kodak Cineon cin .cin 10 bits no no
        MPEG-1 mpeg1 None 8 bitsa, c no no
        PICT Version 2 pict .pict 8-bit indexed or 8-bit colora optional no
        Pixar pxr .pic 8 bits4 yes no
        PostScript eps .eps 8 bitsa yes no
        Quantel NTSC qtl .qtl 8 bits5 no no
        Quantel NTSC & Matte qtm .qtm 8 bitse yesb no
        Quantel PAL qnt .qnt 8 bitse no no
        Quantel PAL & Matte qnm .qnm 8 bitse yesb no
        QuickTime Moviec qt .mov 8 bitsa no no
        Sega sega .pix 8 bitsa yes no
        Silicon Graphics sgi .rgb 8 or 16 bitsa,h optional6 no
        Silicon Graphics Moviec sgimv .mv 8 bitsa no no
        Softimage si .pic 8 bitsa,h yes no
        Sony Playstation sony .tim indexed or 5-bits or 8-bitsa no no
        Targa tga .tga 8 bitsa,7 yes no
        TIFF class R tif .tif 8 or 16 bitsa yes no
        Vista vst .vst 8 or 16 bitsa yes no
        Wavefront (image) rla .rla 1 to 16 bits8 yes yes
        1 These file formats do not contain gamma values. When reading them, the default gamma is taken from the image configuration (.imfrc) file.

        2 Stored in a separate file.

        3 Not available for the FileOut event.

        4 When creates Pixar files, the gamma value is saved in the file. However, this gamma value is recognized only by other Alias|Wavefront applications.

        5 When reading Quantel files, a gamma of 2.2 is assumed.

        6 Many third-party applications do not accept SGI image files containing matte. By default, does not output matte with SGI files.

        7 Type 2 and Type 10, with 24 and 32 bits per pixel, files can be read; only 32-bit images can be written.

        8 These file formats accept one-channel images.

    Using tiling

    Tiling can greatly improve the efficiency of ComposerLite when using complex scripts. Without tiling, ComposerLite composites one image at a time. When you are compositing many images or very large images, a large amount of memory is required. The compositing process can be inefficient due to swapping to virtual memory.

    With tiling, ComposerLite composites sections of an image, called tiles, instead of the entire image. This reduces the amount of swapping and reduces execution times for complex scripts.

    The amount of improvement depends on your execution environment, such as memory and disk, and the specific operators in your script. If your computer has a very large amount of RAM, or if you are using events that dramatically alter the position of an image, such as Twirl, Warp, or Rotate, you may not see much benefit from tiling. However, simpler events, such as Fade, Over, Atop, and Crop, may benefit greatly by tiling.

    When you use ComposerLite interactively, we do not recommend you use tiling unless you are testing large images at full resolution.

    When tiling, intermediate images created by ComposerLite are not implicitly saved for later use. See the discussion on keeping intermediate images under the -keep option on page 368.

    The optimal tile size is affected by:

    1. the image resolution
    2. the types of events in the composition
    3. the amount of RAM
    4. the disk speed As a starting point, we recommend that you try a tile size of no more than 20% of your workstation's RAM. For example, if your machine has 48 megabytes of RAM, start with a tile size of 10 megabytes.
    5. The best way to determine the optimal tile size is to run gr_osview and see how much swapping is occurring and to time your frames. The goal is to decrease swapping and execution time. If swapping is occurring, try a smaller tile size.

    When multiprocessing, you do not need to adjust your tile size based on the number of CPUs.





    aliasdocs@aw.sgi.com

    Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.