---
title: Getting Started with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Infrastructure > Datadog Resource Catalog
---

# gcp_transcoder_job_template{% #gcp_transcoder_job_template %}

## `ancestors`{% #ancestors %}

**Type**: `UNORDERED_LIST_STRING`

## `config`{% #config %}

**Type**: `STRUCT`**Provider name**: `config`**Description**: The configuration for this template.

- `ad_breaks`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `adBreaks`**Description**: List of ad breaks. Specifies where to insert ad break tags in the output manifests.
  - `start_time_offset`**Type**: `STRING`**Provider name**: `startTimeOffset`**Description**: Start time in seconds for the ad break, relative to the output file timeline. The default is `0s`.
- `edit_list`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `editList`**Description**: List of edit atoms. Defines the ultimate timeline of the resulting file or manifest.
  - `end_time_offset`**Type**: `STRING`**Provider name**: `endTimeOffset`**Description**: End time in seconds for the atom, relative to the input file timeline. When `end_time_offset` is not specified, the `inputs` are used until the end of the atom.
  - `inputs`**Type**: `UNORDERED_LIST_STRING`**Provider name**: `inputs`**Description**: List of Input.key values identifying files that should be used in this atom. The listed `inputs` must have the same timeline.
  - `key`**Type**: `STRING`**Provider name**: `key`**Description**: A unique key for this atom. Must be specified when using advanced mapping.
  - `start_time_offset`**Type**: `STRING`**Provider name**: `startTimeOffset`**Description**: Start time in seconds for the atom, relative to the input file timeline. The default is `0s`.
- `elementary_streams`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `elementaryStreams`**Description**: List of elementary streams.
  - `audio_stream`**Type**: `STRUCT`**Provider name**: `audioStream`**Description**: Encoding of an audio stream.
    - `bitrate_bps`**Type**: `INT32`**Provider name**: `bitrateBps`**Description**: Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
    - `channel_count`**Type**: `INT32`**Provider name**: `channelCount`**Description**: Number of audio channels. Must be between 1 and 6. The default is 2.
    - `channel_layout`**Type**: `UNORDERED_LIST_STRING`**Provider name**: `channelLayout`**Description**: A list of channel names specifying layout of the audio channels. This only affects the metadata embedded in the container headers, if supported by the specified format. The default is `["fl", "fr"]`. Supported channel names: - `fl` - Front left channel - `fr` - Front right channel - `sl` - Side left channel - `sr` - Side right channel - `fc` - Front center channel - `lfe` - Low frequency
    - `codec`**Type**: `STRING`**Provider name**: `codec`**Description**: The codec for this audio stream. The default is `aac`. Supported audio codecs: - `aac` - `aac-he` - `aac-he-v2` - `mp3` - `ac3` - `eac3` - `vorbis`
    - `gcp_display_name`**Type**: `STRING`**Provider name**: `displayName`**Description**: The name for this particular audio stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.
    - `language_code`**Type**: `STRING`**Provider name**: `languageCode`**Description**: The BCP-47 language code, such as `en-US` or `sr-Latn`. For more information, see [https://www.unicode.org/reports/tr35/#Unicode_locale_identifier](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier). Not supported in MP4 files.
    - `mapping`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `mapping`**Description**: The mapping for the JobConfig.edit_list atoms with audio EditAtom.inputs.
      - `atom_key`**Type**: `STRING`**Provider name**: `atomKey`**Description**: Required. The EditAtom.key that references the atom with audio inputs in the JobConfig.edit_list.
      - `gain_db`**Type**: `DOUBLE`**Provider name**: `gainDb`**Description**: Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.
      - `input_channel`**Type**: `INT32`**Provider name**: `inputChannel`**Description**: Required. The zero-based index of the channel in the input audio stream.
      - `input_key`**Type**: `STRING`**Provider name**: `inputKey`**Description**: Required. The Input.key that identifies the input file.
      - `input_track`**Type**: `INT32`**Provider name**: `inputTrack`**Description**: Required. The zero-based index of the track in the input file.
      - `output_channel`**Type**: `INT32`**Provider name**: `outputChannel`**Description**: Required. The zero-based index of the channel in the output audio stream.
    - `sample_rate_hertz`**Type**: `INT32`**Provider name**: `sampleRateHertz`**Description**: The audio sample rate in Hertz. The default is 48000 Hertz.
  - `key`**Type**: `STRING`**Provider name**: `key`**Description**: A unique key for this elementary stream.
  - `text_stream`**Type**: `STRUCT`**Provider name**: `textStream`**Description**: Encoding of a text stream. For example, closed captions or subtitles.
    - `codec`**Type**: `STRING`**Provider name**: `codec`**Description**: The codec for this text stream. The default is `webvtt`. Supported text codecs: - `srt` - `ttml` - `cea608` - `cea708` - `webvtt`
    - `gcp_display_name`**Type**: `STRING`**Provider name**: `displayName`**Description**: The name for this particular text stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.
    - `language_code`**Type**: `STRING`**Provider name**: `languageCode`**Description**: The BCP-47 language code, such as `en-US` or `sr-Latn`. For more information, see [https://www.unicode.org/reports/tr35/#Unicode_locale_identifier](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier). Not supported in MP4 files.
    - `mapping`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `mapping`**Description**: The mapping for the JobConfig.edit_list atoms with text EditAtom.inputs.
      - `atom_key`**Type**: `STRING`**Provider name**: `atomKey`**Description**: Required. The EditAtom.key that references atom with text inputs in the JobConfig.edit_list.
      - `input_key`**Type**: `STRING`**Provider name**: `inputKey`**Description**: Required. The Input.key that identifies the input file.
      - `input_track`**Type**: `INT32`**Provider name**: `inputTrack`**Description**: Required. The zero-based index of the track in the input file.
  - `video_stream`**Type**: `STRUCT`**Provider name**: `videoStream`**Description**: Encoding of a video stream.
    - `h264`**Type**: `STRUCT`**Provider name**: `h264`**Description**: H264 codec settings.
      - `allow_open_gop`**Type**: `BOOLEAN`**Provider name**: `allowOpenGop`**Description**: Specifies whether an open Group of Pictures (GOP) structure should be allowed or not. The default is `false`.

      - `aq_strength`**Type**: `DOUBLE`**Provider name**: `aqStrength`**Description**: Specify the intensity of the adaptive quantizer (AQ). Must be between 0 and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A higher value equals a lower bitrate but smoother image. The default is 0.

      - `b_frame_count`**Type**: `INT32`**Provider name**: `bFrameCount`**Description**: The number of consecutive B-frames. Must be greater than or equal to zero. Must be less than H264CodecSettings.gop_frame_count if set. The default is 0.

      - `b_pyramid`**Type**: `BOOLEAN`**Provider name**: `bPyramid`**Description**: Allow B-pyramid for reference frame selection. This may not be supported on all decoders. The default is `false`.

      - `bitrate_bps`**Type**: `INT32`**Provider name**: `bitrateBps`**Description**: Required. The video bitrate in bits per second. The minimum value is 1,000. The maximum value is 800,000,000.

      - `crf_level`**Type**: `INT32`**Provider name**: `crfLevel`**Description**: Target CRF level. Must be between 10 and 36, where 10 is the highest quality and 36 is the most efficient compression. The default is 21.

      - `enable_two_pass`**Type**: `BOOLEAN`**Provider name**: `enableTwoPass`**Description**: Use two-pass encoding strategy to achieve better video quality. H264CodecSettings.rate_control_mode must be `vbr`. The default is `false`.

      - `entropy_coder`**Type**: `STRING`**Provider name**: `entropyCoder`**Description**: The entropy coder to use. The default is `cabac`. Supported entropy coders: - `cavlc` - `cabac`

      - `frame_rate`**Type**: `DOUBLE`**Provider name**: `frameRate`**Description**: Required. The target video frame rate in frames per second (FPS). Must be less than or equal to 120.

      - `frame_rate_conversion_strategy`**Type**: `STRING`**Provider name**: `frameRateConversionStrategy`**Description**: Optional. Frame rate conversion strategy for desired frame rate. The default is `DOWNSAMPLE`.**Possible values**:

        - `FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED` - Unspecified frame rate conversion strategy.
        - `DOWNSAMPLE` - Selectively retain frames to reduce the output frame rate. Every *n* th frame is kept, where `n = ceil(input frame rate / target frame rate)`. When *n* = 1 (that is, the target frame rate is greater than the input frame rate), the output frame rate matches the input frame rate. When *n* > 1, frames are dropped and the output frame rate is equal to `(input frame rate / n)`. For more information, see [Calculate frame rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate).
        - `DROP_DUPLICATE` - Drop or duplicate frames to match the specified frame rate.

      - `gop_duration`**Type**: `STRING`**Provider name**: `gopDuration`**Description**: Select the GOP size based on the specified duration. The default is `3s`. Note that `gopDuration` must be less than or equal to `segmentDuration`, and `segmentDuration` must be divisible by `gopDuration`.

      - `gop_frame_count`**Type**: `INT32`**Provider name**: `gopFrameCount`**Description**: Select the GOP size based on the specified frame count. Must be greater than zero.

      - `height_pixels`**Type**: `INT32`**Provider name**: `heightPixels`**Description**: The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the height, in pixels, per the horizontal ASR. The API calculates the width per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.

      - `hlg`**Type**: `STRUCT`**Provider name**: `hlg`**Description**: Optional. HLG color format setting for H264.

      - `pixel_format`**Type**: `STRING`**Provider name**: `pixelFormat`**Description**: Pixel format to use. The default is `yuv420p`. Supported pixel formats: - `yuv420p` pixel format - `yuv422p` pixel format - `yuv444p` pixel format - `yuv420p10` 10-bit HDR pixel format - `yuv422p10` 10-bit HDR pixel format - `yuv444p10` 10-bit HDR pixel format - `yuv420p12` 12-bit HDR pixel format - `yuv422p12` 12-bit HDR pixel format - `yuv444p12` 12-bit HDR pixel format

      - `preset`**Type**: `STRING`**Provider name**: `preset`**Description**: Enforces the specified codec preset. The default is `veryfast`. The available options are [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset). Note that certain values for this field may cause the transcoder to override other fields you set in the `H264CodecSettings` message.

      - `profile`**Type**: `STRING`**Provider name**: `profile`**Description**: Enforces the specified codec profile. The following profiles are supported: * `baseline` * `main` * `high` (default) The available options are [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). Note that certain values for this field may cause the transcoder to override other fields you set in the `H264CodecSettings` message.

      - `rate_control_mode`**Type**: `STRING`**Provider name**: `rateControlMode`**Description**: Specify the mode. The default is `vbr`. Supported rate control modes: - `vbr` - variable bitrate - `crf` - constant rate factor

      - `sdr`**Type**: `STRUCT`**Provider name**: `sdr`**Description**: Optional. SDR color format setting for H264.

      - `tune`**Type**: `STRING`**Provider name**: `tune`**Description**: Enforces the specified codec tune. The available options are [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). Note that certain values for this field may cause the transcoder to override other fields you set in the `H264CodecSettings` message.

      - `vbv_fullness_bits`**Type**: `INT32`**Provider name**: `vbvFullnessBits`**Description**: Initial fullness of the Video Buffering Verifier (VBV) buffer in bits. Must be greater than zero. The default is equal to 90% of H264CodecSettings.vbv_size_bits.

      - `vbv_size_bits`**Type**: `INT32`**Provider name**: `vbvSizeBits`**Description**: Size of the Video Buffering Verifier (VBV) buffer in bits. Must be greater than zero. The default is equal to H264CodecSettings.bitrate_bps.

      - `width_pixels`**Type**: `INT32`**Provider name**: `widthPixels`**Description**: The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the width, in pixels, per the horizontal ASR. The API calculates the height per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.
    - `h265`**Type**: `STRUCT`**Provider name**: `h265`**Description**: H265 codec settings.
      - `allow_open_gop`**Type**: `BOOLEAN`**Provider name**: `allowOpenGop`**Description**: Specifies whether an open Group of Pictures (GOP) structure should be allowed or not. The default is `false`.

      - `aq_strength`**Type**: `DOUBLE`**Provider name**: `aqStrength`**Description**: Specify the intensity of the adaptive quantizer (AQ). Must be between 0 and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A higher value equals a lower bitrate but smoother image. The default is 0.

      - `b_frame_count`**Type**: `INT32`**Provider name**: `bFrameCount`**Description**: The number of consecutive B-frames. Must be greater than or equal to zero. Must be less than H265CodecSettings.gop_frame_count if set. The default is 0.

      - `b_pyramid`**Type**: `BOOLEAN`**Provider name**: `bPyramid`**Description**: Allow B-pyramid for reference frame selection. This may not be supported on all decoders. The default is `false`.

      - `bitrate_bps`**Type**: `INT32`**Provider name**: `bitrateBps`**Description**: Required. The video bitrate in bits per second. The minimum value is 1,000. The maximum value is 800,000,000.

      - `crf_level`**Type**: `INT32`**Provider name**: `crfLevel`**Description**: Target CRF level. Must be between 10 and 36, where 10 is the highest quality and 36 is the most efficient compression. The default is 21.

      - `enable_two_pass`**Type**: `BOOLEAN`**Provider name**: `enableTwoPass`**Description**: Use two-pass encoding strategy to achieve better video quality. H265CodecSettings.rate_control_mode must be `vbr`. The default is `false`.

      - `frame_rate`**Type**: `DOUBLE`**Provider name**: `frameRate`**Description**: Required. The target video frame rate in frames per second (FPS). Must be less than or equal to 120.

      - `frame_rate_conversion_strategy`**Type**: `STRING`**Provider name**: `frameRateConversionStrategy`**Description**: Optional. Frame rate conversion strategy for desired frame rate. The default is `DOWNSAMPLE`.**Possible values**:

        - `FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED` - Unspecified frame rate conversion strategy.
        - `DOWNSAMPLE` - Selectively retain frames to reduce the output frame rate. Every *n* th frame is kept, where `n = ceil(input frame rate / target frame rate)`. When *n* = 1 (that is, the target frame rate is greater than the input frame rate), the output frame rate matches the input frame rate. When *n* > 1, frames are dropped and the output frame rate is equal to `(input frame rate / n)`. For more information, see [Calculate frame rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate).
        - `DROP_DUPLICATE` - Drop or duplicate frames to match the specified frame rate.

      - `gop_duration`**Type**: `STRING`**Provider name**: `gopDuration`**Description**: Select the GOP size based on the specified duration. The default is `3s`. Note that `gopDuration` must be less than or equal to `segmentDuration`, and `segmentDuration` must be divisible by `gopDuration`.

      - `gop_frame_count`**Type**: `INT32`**Provider name**: `gopFrameCount`**Description**: Select the GOP size based on the specified frame count. Must be greater than zero.

      - `hdr10`**Type**: `STRUCT`**Provider name**: `hdr10`**Description**: Optional. HDR10 color format setting for H265.

      - `height_pixels`**Type**: `INT32`**Provider name**: `heightPixels`**Description**: The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the height, in pixels, per the horizontal ASR. The API calculates the width per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.

      - `hlg`**Type**: `STRUCT`**Provider name**: `hlg`**Description**: Optional. HLG color format setting for H265.

      - `pixel_format`**Type**: `STRING`**Provider name**: `pixelFormat`**Description**: Pixel format to use. The default is `yuv420p`. Supported pixel formats: - `yuv420p` pixel format - `yuv422p` pixel format - `yuv444p` pixel format - `yuv420p10` 10-bit HDR pixel format - `yuv422p10` 10-bit HDR pixel format - `yuv444p10` 10-bit HDR pixel format - `yuv420p12` 12-bit HDR pixel format - `yuv422p12` 12-bit HDR pixel format - `yuv444p12` 12-bit HDR pixel format

      - `preset`**Type**: `STRING`**Provider name**: `preset`**Description**: Enforces the specified codec preset. The default is `veryfast`. The available options are [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265). Note that certain values for this field may cause the transcoder to override other fields you set in the `H265CodecSettings` message.

      - `profile`**Type**: `STRING`**Provider name**: `profile`**Description**: Enforces the specified codec profile. The following profiles are supported: * 8-bit profiles * `main` (default) * `main-intra` * `mainstillpicture` * 10-bit profiles * `main10` (default) * `main10-intra` * `main422-10` * `main422-10-intra` * `main444-10` * `main444-10-intra` * 12-bit profiles * `main12` (default) * `main12-intra` * `main422-12` * `main422-12-intra` * `main444-12` * `main444-12-intra` The available options are [FFmpeg-compatible](https://x265.readthedocs.io/). Note that certain values for this field may cause the transcoder to override other fields you set in the `H265CodecSettings` message.

      - `rate_control_mode`**Type**: `STRING`**Provider name**: `rateControlMode`**Description**: Specify the mode. The default is `vbr`. Supported rate control modes: - `vbr` - variable bitrate - `crf` - constant rate factor

      - `sdr`**Type**: `STRUCT`**Provider name**: `sdr`**Description**: Optional. SDR color format setting for H265.

      - `tune`**Type**: `STRING`**Provider name**: `tune`**Description**: Enforces the specified codec tune. The available options are [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265). Note that certain values for this field may cause the transcoder to override other fields you set in the `H265CodecSettings` message.

      - `vbv_fullness_bits`**Type**: `INT32`**Provider name**: `vbvFullnessBits`**Description**: Initial fullness of the Video Buffering Verifier (VBV) buffer in bits. Must be greater than zero. The default is equal to 90% of H265CodecSettings.vbv_size_bits.

      - `vbv_size_bits`**Type**: `INT32`**Provider name**: `vbvSizeBits`**Description**: Size of the Video Buffering Verifier (VBV) buffer in bits. Must be greater than zero. The default is equal to `VideoStream.bitrate_bps`.

      - `width_pixels`**Type**: `INT32`**Provider name**: `widthPixels`**Description**: The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the width, in pixels, per the horizontal ASR. The API calculates the height per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.
    - `vp9`**Type**: `STRUCT`**Provider name**: `vp9`**Description**: VP9 codec settings.
      - `bitrate_bps`**Type**: `INT32`**Provider name**: `bitrateBps`**Description**: Required. The video bitrate in bits per second. The minimum value is 1,000. The maximum value is 480,000,000.

      - `crf_level`**Type**: `INT32`**Provider name**: `crfLevel`**Description**: Target CRF level. Must be between 10 and 36, where 10 is the highest quality and 36 is the most efficient compression. The default is 21. **Note:** This field is not supported.

      - `frame_rate`**Type**: `DOUBLE`**Provider name**: `frameRate`**Description**: Required. The target video frame rate in frames per second (FPS). Must be less than or equal to 120.

      - `frame_rate_conversion_strategy`**Type**: `STRING`**Provider name**: `frameRateConversionStrategy`**Description**: Optional. Frame rate conversion strategy for desired frame rate. The default is `DOWNSAMPLE`.**Possible values**:

        - `FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED` - Unspecified frame rate conversion strategy.
        - `DOWNSAMPLE` - Selectively retain frames to reduce the output frame rate. Every *n* th frame is kept, where `n = ceil(input frame rate / target frame rate)`. When *n* = 1 (that is, the target frame rate is greater than the input frame rate), the output frame rate matches the input frame rate. When *n* > 1, frames are dropped and the output frame rate is equal to `(input frame rate / n)`. For more information, see [Calculate frame rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate).
        - `DROP_DUPLICATE` - Drop or duplicate frames to match the specified frame rate.

      - `gop_duration`**Type**: `STRING`**Provider name**: `gopDuration`**Description**: Select the GOP size based on the specified duration. The default is `3s`. Note that `gopDuration` must be less than or equal to `segmentDuration`, and `segmentDuration` must be divisible by `gopDuration`.

      - `gop_frame_count`**Type**: `INT32`**Provider name**: `gopFrameCount`**Description**: Select the GOP size based on the specified frame count. Must be greater than zero.

      - `height_pixels`**Type**: `INT32`**Provider name**: `heightPixels`**Description**: The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the height, in pixels, per the horizontal ASR. The API calculates the width per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.

      - `hlg`**Type**: `STRUCT`**Provider name**: `hlg`**Description**: Optional. HLG color format setting for VP9.

      - `pixel_format`**Type**: `STRING`**Provider name**: `pixelFormat`**Description**: Pixel format to use. The default is `yuv420p`. Supported pixel formats: - `yuv420p` pixel format - `yuv422p` pixel format - `yuv444p` pixel format - `yuv420p10` 10-bit HDR pixel format - `yuv422p10` 10-bit HDR pixel format - `yuv444p10` 10-bit HDR pixel format - `yuv420p12` 12-bit HDR pixel format - `yuv422p12` 12-bit HDR pixel format - `yuv444p12` 12-bit HDR pixel format

      - `profile`**Type**: `STRING`**Provider name**: `profile`**Description**: Enforces the specified codec profile. The following profiles are supported: * `profile0` (default) * `profile1` * `profile2` * `profile3` The available options are [WebM-compatible](https://www.webmproject.org/vp9/profiles/). Note that certain values for this field may cause the transcoder to override other fields you set in the `Vp9CodecSettings` message.

      - `rate_control_mode`**Type**: `STRING`**Provider name**: `rateControlMode`**Description**: Specify the mode. The default is `vbr`. Supported rate control modes: - `vbr` - variable bitrate

      - `sdr`**Type**: `STRUCT`**Provider name**: `sdr`**Description**: Optional. SDR color format setting for VP9.

      - `width_pixels`**Type**: `INT32`**Provider name**: `widthPixels`**Description**: The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the width, in pixels, per the horizontal ASR. The API calculates the height per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.
- `encryptions`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `encryptions`**Description**: List of encryption configurations for the content. Each configuration has an ID. Specify this ID in the MuxStream.encryption_id field to indicate the configuration to use for that `MuxStream` output.
  - `aes128`**Type**: `STRUCT`**Provider name**: `aes128`**Description**: Configuration for AES-128 encryption.

  - `drm_systems`**Type**: `STRUCT`**Provider name**: `drmSystems`**Description**: Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.

    - `clearkey`**Type**: `STRUCT`**Provider name**: `clearkey`**Description**: Clearkey configuration.

    - `fairplay`**Type**: `STRUCT`**Provider name**: `fairplay`**Description**: Fairplay configuration.

    - `playready`**Type**: `STRUCT`**Provider name**: `playready`**Description**: Playready configuration.

    - `widevine`**Type**: `STRUCT`**Provider name**: `widevine`**Description**: Widevine configuration.

  - `id`**Type**: `STRING`**Provider name**: `id`**Description**: Required. Identifier for this set of encryption options.

  - `mpeg_cenc`**Type**: `STRUCT`**Provider name**: `mpegCenc`**Description**: Configuration for MPEG Common Encryption (MPEG-CENC).

    - `scheme`**Type**: `STRING`**Provider name**: `scheme`**Description**: Required. Specify the encryption scheme. Supported encryption schemes: - `cenc` - `cbcs`

  - `sample_aes`**Type**: `STRUCT`**Provider name**: `sampleAes`**Description**: Configuration for SAMPLE-AES encryption.

  - `secret_manager_key_source`**Type**: `STRUCT`**Provider name**: `secretManagerKeySource`**Description**: Keys are stored in Google Secret Manager.

    - `secret_version`**Type**: `STRING`**Provider name**: `secretVersion`**Description**: Required. The name of the Secret Version containing the encryption key in the following format: `projects/{project}/secrets/{secret_id}/versions/{version_number}` Note that only numbered versions are supported. Aliases like "latest" are not supported.
- `inputs`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `inputs`**Description**: List of input assets stored in Cloud Storage.
  - `attributes`**Type**: `STRUCT`**Provider name**: `attributes`**Description**: Optional. Input Attributes.
    - `track_definitions`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `trackDefinitions`**Description**: Optional. A list of track definitions for the input asset.
      - `detect_languages`**Type**: `BOOLEAN`**Provider name**: `detectLanguages`**Description**: Optional. Whether to automatically detect the languages present in the track. If true, the system will attempt to identify all the languages present in the track and populate the languages field.
      - `detected_languages`**Type**: `UNORDERED_LIST_STRING`**Provider name**: `detectedLanguages`**Description**: Output only. A list of languages detected in the input asset, represented by a BCP 47 language code, such as "en-US" or "sr-Latn". For more information, see [https://www.unicode.org/reports/tr35/#Unicode_locale_identifier](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier). This field is only populated if the detect_languages field is set to true.
      - `input_track`**Type**: `INT32`**Provider name**: `inputTrack`**Description**: The input track.
      - `languages`**Type**: `UNORDERED_LIST_STRING`**Provider name**: `languages`**Description**: Optional. A list of languages spoken in the input asset, represented by a BCP 47 language code, such as "en-US" or "sr-Latn". For more information, see [https://www.unicode.org/reports/tr35/#Unicode_locale_identifier](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier).
  - `key`**Type**: `STRING`**Provider name**: `key`**Description**: A unique key for this input. Must be specified when using advanced mapping and edit lists.
  - `preprocessing_config`**Type**: `STRUCT`**Provider name**: `preprocessingConfig`**Description**: Preprocessing configurations.
    - `audio`**Type**: `STRUCT`**Provider name**: `audio`**Description**: Audio preprocessing configuration.
      - `high_boost`**Type**: `BOOLEAN`**Provider name**: `highBoost`**Description**: Enable boosting high frequency components. The default is `false`. **Note:** This field is not supported.
      - `low_boost`**Type**: `BOOLEAN`**Provider name**: `lowBoost`**Description**: Enable boosting low frequency components. The default is `false`. **Note:** This field is not supported.
      - `lufs`**Type**: `DOUBLE`**Provider name**: `lufs`**Description**: Specify audio loudness normalization in loudness units relative to full scale (LUFS). Enter a value between -24 and 0 (the default), where: * -24 is the Advanced Television Systems Committee (ATSC A/85) standard * -23 is the EU R128 broadcast standard * -19 is the prior standard for online mono audio * -18 is the ReplayGain standard * -16 is the prior standard for stereo audio * -14 is the new online audio standard recommended by Spotify, as well as Amazon Echo * 0 disables normalization
    - `color`**Type**: `STRUCT`**Provider name**: `color`**Description**: Color preprocessing configuration.
      - `brightness`**Type**: `DOUBLE`**Provider name**: `brightness`**Description**: Control brightness of the video. Enter a value between -1 and 1, where -1 is minimum brightness and 1 is maximum brightness. 0 is no change. The default is 0.
      - `contrast`**Type**: `DOUBLE`**Provider name**: `contrast`**Description**: Control black and white contrast of the video. Enter a value between -1 and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no change. The default is 0.
      - `saturation`**Type**: `DOUBLE`**Provider name**: `saturation`**Description**: Control color saturation of the video. Enter a value between -1 and 1, where -1 is fully desaturated and 1 is maximum saturation. 0 is no change. The default is 0.
    - `crop`**Type**: `STRUCT`**Provider name**: `crop`**Description**: Specify the video cropping configuration.
      - `bottom_pixels`**Type**: `INT32`**Provider name**: `bottomPixels`**Description**: The number of pixels to crop from the bottom. The default is 0.
      - `left_pixels`**Type**: `INT32`**Provider name**: `leftPixels`**Description**: The number of pixels to crop from the left. The default is 0.
      - `right_pixels`**Type**: `INT32`**Provider name**: `rightPixels`**Description**: The number of pixels to crop from the right. The default is 0.
      - `top_pixels`**Type**: `INT32`**Provider name**: `topPixels`**Description**: The number of pixels to crop from the top. The default is 0.
    - `deblock`**Type**: `STRUCT`**Provider name**: `deblock`**Description**: Deblock preprocessing configuration.
      - `enabled`**Type**: `BOOLEAN`**Provider name**: `enabled`**Description**: Enable deblocker. The default is `false`.
      - `strength`**Type**: `DOUBLE`**Provider name**: `strength`**Description**: Set strength of the deblocker. Enter a value between 0 and 1. The higher the value, the stronger the block removal. 0 is no deblocking. The default is 0.
    - `deinterlace`**Type**: `STRUCT`**Provider name**: `deinterlace`**Description**: Specify the video deinterlace configuration.
      - `bwdif`**Type**: `STRUCT`**Provider name**: `bwdif`**Description**: Specifies the Bob Weaver Deinterlacing Filter Configuration.
        - `deinterlace_all_frames`**Type**: `BOOLEAN`**Provider name**: `deinterlaceAllFrames`**Description**: Deinterlace all frames rather than just the frames identified as interlaced. The default is `false`.
        - `mode`**Type**: `STRING`**Provider name**: `mode`**Description**: Specifies the deinterlacing mode to adopt. The default is `send_frame`. Supported values: - `send_frame`: Output one frame for each frame - `send_field`: Output one frame for each field
        - `parity`**Type**: `STRING`**Provider name**: `parity`**Description**: The picture field parity assumed for the input interlaced video. The default is `auto`. Supported values: - `tff`: Assume the top field is first - `bff`: Assume the bottom field is first - `auto`: Enable automatic detection of field parity
      - `yadif`**Type**: `STRUCT`**Provider name**: `yadif`**Description**: Specifies the Yet Another Deinterlacing Filter Configuration.
        - `deinterlace_all_frames`**Type**: `BOOLEAN`**Provider name**: `deinterlaceAllFrames`**Description**: Deinterlace all frames rather than just the frames identified as interlaced. The default is `false`.
        - `disable_spatial_interlacing`**Type**: `BOOLEAN`**Provider name**: `disableSpatialInterlacing`**Description**: Disable spacial interlacing. The default is `false`.
        - `mode`**Type**: `STRING`**Provider name**: `mode`**Description**: Specifies the deinterlacing mode to adopt. The default is `send_frame`. Supported values: - `send_frame`: Output one frame for each frame - `send_field`: Output one frame for each field
        - `parity`**Type**: `STRING`**Provider name**: `parity`**Description**: The picture field parity assumed for the input interlaced video. The default is `auto`. Supported values: - `tff`: Assume the top field is first - `bff`: Assume the bottom field is first - `auto`: Enable automatic detection of field parity
    - `denoise`**Type**: `STRUCT`**Provider name**: `denoise`**Description**: Denoise preprocessing configuration.
      - `strength`**Type**: `DOUBLE`**Provider name**: `strength`**Description**: Set strength of the denoise. Enter a value between 0 and 1. The higher the value, the smoother the image. 0 is no denoising. The default is 0.
      - `tune`**Type**: `STRING`**Provider name**: `tune`**Description**: Set the denoiser mode. The default is `standard`. Supported denoiser modes: - `standard` - `grain`
    - `pad`**Type**: `STRUCT`**Provider name**: `pad`**Description**: Specify the video pad filter configuration.
      - `bottom_pixels`**Type**: `INT32`**Provider name**: `bottomPixels`**Description**: The number of pixels to add to the bottom. The default is 0.
      - `left_pixels`**Type**: `INT32`**Provider name**: `leftPixels`**Description**: The number of pixels to add to the left. The default is 0.
      - `right_pixels`**Type**: `INT32`**Provider name**: `rightPixels`**Description**: The number of pixels to add to the right. The default is 0.
      - `top_pixels`**Type**: `INT32`**Provider name**: `topPixels`**Description**: The number of pixels to add to the top. The default is 0.
  - `uri`**Type**: `STRING`**Provider name**: `uri`**Description**: URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). If empty, the value is populated from Job.input_uri. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
- `manifests`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `manifests`**Description**: List of output manifests.
  - `dash`**Type**: `STRUCT`**Provider name**: `dash`**Description**: `DASH` manifest configuration.
    - `segment_reference_scheme`**Type**: `STRING`**Provider name**: `segmentReferenceScheme`**Description**: The segment reference scheme for a `DASH` manifest. The default is `SEGMENT_LIST`.**Possible values**:
      - `SEGMENT_REFERENCE_SCHEME_UNSPECIFIED` - The segment reference scheme is not specified.
      - `SEGMENT_LIST` - Explicitly lists the URLs of media files for each segment. For example, if SegmentSettings.individual_segments is `true`, then the manifest contains fields similar to the following: `xml ...`
      - `SEGMENT_TEMPLATE_NUMBER` - SegmentSettings.individual_segments must be set to `true` to use this segment reference scheme. Uses the DASH specification `` tag to determine the URLs of media files for each segment. For example: `xml ...`
  - `file_name`**Type**: `STRING`**Provider name**: `fileName`**Description**: The name of the generated file. The default is `manifest` with the extension suffix corresponding to the Manifest.type.
  - `mux_streams`**Type**: `UNORDERED_LIST_STRING`**Provider name**: `muxStreams`**Description**: Required. List of user supplied MuxStream.key values that should appear in this manifest. When Manifest.type is `HLS`, a media manifest with name MuxStream.key and `.m3u8` extension is generated for each element in this list.
  - `type`**Type**: `STRING`**Provider name**: `type`**Description**: Required. Type of the manifest.**Possible values**:
    - `MANIFEST_TYPE_UNSPECIFIED` - The manifest type is not specified.
    - `HLS` - Create an HLS manifest. The corresponding file extension is `.m3u8`.
    - `DASH` - Create an MPEG-DASH manifest. The corresponding file extension is `.mpd`.
- `mux_streams`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `muxStreams`**Description**: List of multiplexing settings for output streams.
  - `container`**Type**: `STRING`**Provider name**: `container`**Description**: The container format. The default is `mp4` Supported streaming formats: - `ts` - `fmp4`- the corresponding file extension is `.m4s` Supported standalone file formats: - `mp4` - `mp3` - `ogg` - `vtt` See also: [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)
  - `elementary_streams`**Type**: `UNORDERED_LIST_STRING`**Provider name**: `elementaryStreams`**Description**: List of ElementaryStream.key values multiplexed in this stream.
  - `encryption_id`**Type**: `STRING`**Provider name**: `encryptionId`**Description**: Identifier of the encryption configuration to use. If omitted, output will be unencrypted.
  - `file_name`**Type**: `STRING`**Provider name**: `fileName`**Description**: The name of the generated file. The default is MuxStream.key with the extension suffix corresponding to the MuxStream.container. Individual segments also have an incremental 10-digit zero-padded suffix starting from 0 before the extension, such as `mux_stream0000000123.ts`.
  - `fmp4`**Type**: `STRUCT`**Provider name**: `fmp4`**Description**: Optional. `fmp4` container configuration.
    - `codec_tag`**Type**: `STRING`**Provider name**: `codecTag`**Description**: Optional. Specify the codec tag string that will be used in the media bitstream. When not specified, the codec appropriate value is used. Supported H265 codec tags: - `hvc1` (default) - `hev1`
  - `key`**Type**: `STRING`**Provider name**: `key`**Description**: A unique key for this multiplexed stream.
  - `segment_settings`**Type**: `STRUCT`**Provider name**: `segmentSettings`**Description**: Segment settings for `ts`, `fmp4` and `vtt`.
    - `individual_segments`**Type**: `BOOLEAN`**Provider name**: `individualSegments`**Description**: Required. Create an individual segment file. The default is `false`.
    - `segment_duration`**Type**: `STRING`**Provider name**: `segmentDuration`**Description**: Duration of the segments in seconds. The default is `6.0s`. Note that `segmentDuration` must be greater than or equal to `gopDuration`, and `segmentDuration` must be divisible by `gopDuration`.
- `output`**Type**: `STRUCT`**Provider name**: `output`**Description**: Output configuration.
  - `uri`**Type**: `STRING`**Provider name**: `uri`**Description**: URI for the output file(s). For example, `gs://my-bucket/outputs/`. Must be a directory and not a top-level bucket. If empty, the value is populated from Job.output_uri. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
- `overlays`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `overlays`**Description**: List of overlays on the output video, in descending Z-order.
  - `animations`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `animations`**Description**: List of animations. The list should be chronological, without any time overlap.
    - `animation_end`**Type**: `STRUCT`**Provider name**: `animationEnd`**Description**: End previous animation.
      - `start_time_offset`**Type**: `STRING`**Provider name**: `startTimeOffset`**Description**: The time to end overlay object, in seconds. Default: 0
    - `animation_fade`**Type**: `STRUCT`**Provider name**: `animationFade`**Description**: Display overlay object with fade animation.
      - `end_time_offset`**Type**: `STRING`**Provider name**: `endTimeOffset`**Description**: The time to end the fade animation, in seconds. Default: `start_time_offset` + 1s
      - `fade_type`**Type**: `STRING`**Provider name**: `fadeType`**Description**: Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.**Possible values**:
        - `FADE_TYPE_UNSPECIFIED` - The fade type is not specified.
        - `FADE_IN` - Fade the overlay object into view.
        - `FADE_OUT` - Fade the overlay object out of view.
      - `start_time_offset`**Type**: `STRING`**Provider name**: `startTimeOffset`**Description**: The time to start the fade animation, in seconds. Default: 0
      - `xy`**Type**: `STRUCT`**Provider name**: `xy`**Description**: Normalized coordinates based on output video resolution. Valid values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video.
        - `x`**Type**: `DOUBLE`**Provider name**: `x`**Description**: Normalized x coordinate.
        - `y`**Type**: `DOUBLE`**Provider name**: `y`**Description**: Normalized y coordinate.
    - `animation_static`**Type**: `STRUCT`**Provider name**: `animationStatic`**Description**: Display static overlay object.
      - `start_time_offset`**Type**: `STRING`**Provider name**: `startTimeOffset`**Description**: The time to start displaying the overlay object, in seconds. Default: 0
      - `xy`**Type**: `STRUCT`**Provider name**: `xy`**Description**: Normalized coordinates based on output video resolution. Valid values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video.
        - `x`**Type**: `DOUBLE`**Provider name**: `x`**Description**: Normalized x coordinate.
        - `y`**Type**: `DOUBLE`**Provider name**: `y`**Description**: Normalized y coordinate.
  - `image`**Type**: `STRUCT`**Provider name**: `image`**Description**: Image overlay.
    - `alpha`**Type**: `DOUBLE`**Provider name**: `alpha`**Description**: Target image opacity. Valid values are from `1.0` (solid, default) to `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
    - `resolution`**Type**: `STRUCT`**Provider name**: `resolution`**Description**: Normalized image resolution, based on output video resolution. Valid values: `0.0`–`1.0`. To respect the original image aspect ratio, set either `x` or `y` to `0.0`. To use the original image resolution, set both `x` and `y` to `0.0`.
      - `x`**Type**: `DOUBLE`**Provider name**: `x`**Description**: Normalized x coordinate.
      - `y`**Type**: `DOUBLE`**Provider name**: `y`**Description**: Normalized y coordinate.
    - `uri`**Type**: `STRING`**Provider name**: `uri`**Description**: Required. URI of the image in Cloud Storage. For example, `gs://bucket/inputs/image.png`. Only PNG and JPEG images are supported.
- `pubsub_destination`**Type**: `STRUCT`**Provider name**: `pubsubDestination`**Description**: Destination on Pub/Sub.
  - `topic`**Type**: `STRING`**Provider name**: `topic`**Description**: The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`.
- `sprite_sheets`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `spriteSheets`**Description**: List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.
  - `column_count`**Type**: `INT32`**Provider name**: `columnCount`**Description**: The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.
  - `end_time_offset`**Type**: `STRING`**Provider name**: `endTimeOffset`**Description**: End time in seconds, relative to the output file timeline. When `end_time_offset` is not specified, the sprites are generated until the end of the output file.
  - `file_prefix`**Type**: `STRING`**Provider name**: `filePrefix`**Description**: Required. File name prefix for the generated sprite sheets. Each sprite sheet has an incremental 10-digit zero-padded suffix starting from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
  - `format`**Type**: `STRING`**Provider name**: `format`**Description**: Format type. The default is `jpeg`. Supported formats: - `jpeg`
  - `interval`**Type**: `STRING`**Provider name**: `interval`**Description**: Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
  - `quality`**Type**: `INT32`**Provider name**: `quality`**Description**: The quality of the generated sprite sheet. Enter a value between 1 and 100, where 1 is the lowest quality and 100 is the highest quality. The default is 100. A high quality value corresponds to a low image data compression ratio.
  - `row_count`**Type**: `INT32`**Provider name**: `rowCount`**Description**: The maximum number of rows per sprite sheet. When the sprite sheet is full, a new sprite sheet is created. The default is 0, which indicates no maximum limit.
  - `sprite_height_pixels`**Type**: `INT32`**Provider name**: `spriteHeightPixels`**Description**: Required. The height of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_height_pixels field or the SpriteSheet.sprite_width_pixels field, but not both (the API will automatically calculate the missing field). For portrait videos that contain horizontal ASR and rotation metadata, provide the height, in pixels, per the horizontal ASR. The API calculates the width per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.
  - `sprite_width_pixels`**Type**: `INT32`**Provider name**: `spriteWidthPixels`**Description**: Required. The width of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_width_pixels field or the SpriteSheet.sprite_height_pixels field, but not both (the API will automatically calculate the missing field). For portrait videos that contain horizontal ASR and rotation metadata, provide the width, in pixels, per the horizontal ASR. The API calculates the height per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.
  - `start_time_offset`**Type**: `STRING`**Provider name**: `startTimeOffset`**Description**: Start time in seconds, relative to the output file timeline. Determines the first sprite to pick. The default is `0s`.
  - `total_count`**Type**: `INT32`**Provider name**: `totalCount`**Description**: Total number of sprites. Create the specified number of sprites distributed evenly across the timeline of the output media. The default is 100.

## `labels`{% #labels %}

**Type**: `UNORDERED_LIST_STRING`

## `name`{% #name %}

**Type**: `STRING`**Provider name**: `name`**Description**: The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`

## `organization_id`{% #organization_id %}

**Type**: `STRING`

## `parent`{% #parent %}

**Type**: `STRING`

## `project_id`{% #project_id %}

**Type**: `STRING`

## `project_number`{% #project_number %}

**Type**: `STRING`

## `region_id`{% #region_id %}

**Type**: `STRING`

## `resource_name`{% #resource_name %}

**Type**: `STRING`

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`

## `zone_id`{% #zone_id %}

**Type**: `STRING`
