Package transcoder_v1beta1.types (0.4.1)

API documentation for transcoder_v1beta1.types package.

Classes

AdBreak

Ad break. .. attribute:: start_time_offset

Start time in seconds for the ad break, relative to the output file timeline. The default is 0s.

:type: google.protobuf.duration_pb2.Duration

AudioStream

Audio stream resource. .. attribute:: codec

The codec for this audio stream. The default is "aac".

Supported audio codecs:

  • 'aac'
  • 'aac-he'
  • 'aac-he-v2'
  • 'mp3'
  • 'ac3'
  • 'eac3'

    :type: str

CreateJobRequest

Request message for TranscoderService.CreateJob. .. attribute:: parent

Required. The parent location to create and process this job. Format: projects/{project}/locations/{location}

:type: str

CreateJobTemplateRequest

Request message for TranscoderService.CreateJobTemplate. .. attribute:: parent

Required. The parent location to create this job template. Format: projects/{project}/locations/{location}

:type: str

DeleteJobRequest

Request message for TranscoderService.DeleteJob. .. attribute:: name

Required. The name of the job to delete. Format: projects/{project}/locations/{location}/jobs/{job}

:type: str

DeleteJobTemplateRequest

Request message for TranscoderService.DeleteJobTemplate. .. attribute:: name

Required. The name of the job template to delete. projects/{project}/locations/{location}/jobTemplates/{job_template}

:type: str

EditAtom

Edit atom. .. attribute:: key

A unique key for this atom. Must be specified when using advanced mapping.

:type: str

ElementaryStream

Encoding of an input file such as an audio, video, or text track. Elementary streams must be packaged before mapping and sharing between different output formats.

Encryption

Encryption settings. .. attribute:: key

Required. 128 bit encryption key represented as lowercase hexadecimal digits.

:type: str

FailureDetail

Additional information about the reasons for the failure. .. attribute:: description

A description of the failure.

:type: str

GetJobRequest

Request message for TranscoderService.GetJob. .. attribute:: name

Required. The name of the job to retrieve. Format: projects/{project}/locations/{location}/jobs/{job}

:type: str

GetJobTemplateRequest

Request message for TranscoderService.GetJobTemplate. .. attribute:: name

Required. The name of the job template to retrieve. Format: projects/{project}/locations/{location}/jobTemplates/{job_template}

:type: str

Input

Input asset. .. attribute:: key

A unique key for this input. Must be specified when using advanced mapping and edit lists.

:type: str

Job

Transcoding job resource. .. attribute:: name

The resource name of the job. Format: projects/{project}/locations/{location}/jobs/{job}

:type: str

JobConfig

Job configuration .. attribute:: inputs

List of input assets stored in Cloud Storage.

:type: Sequence[google.cloud.video.transcoder_v1beta1.types.Input]

JobTemplate

Transcoding job template resource. .. attribute:: name

The resource name of the job template. Format: projects/{project}/locations/{location}/jobTemplates/{job_template}

:type: str

ListJobTemplatesRequest

Request message for TranscoderService.ListJobTemplates. .. attribute:: parent

Required. The parent location from which to retrieve the collection of job templates. Format: projects/{project}/locations/{location}

:type: str

ListJobTemplatesResponse

Response message for TranscoderService.ListJobTemplates. .. attribute:: job_templates

List of job templates in the specified region.

:type: Sequence[google.cloud.video.transcoder_v1beta1.types.JobTemplate]

ListJobsRequest

Request message for TranscoderService.ListJobs. The parent location from which to retrieve the collection of jobs.

ListJobsResponse

Response message for TranscoderService.ListJobs. .. attribute:: jobs

List of jobs in the specified region.

:type: Sequence[google.cloud.video.transcoder_v1beta1.types.Job]

Manifest

Manifest configuration. .. attribute:: file_name

The name of the generated file. The default is "manifest" with the extension suffix corresponding to the Manifest.type.

:type: str

MuxStream

Multiplexing settings for output stream. .. attribute:: key

A unique key for this multiplexed stream. HLS media manifests will be named MuxStream.key with the ".m3u8" extension suffix.

:type: str

Output

Location of output file(s) in a Cloud Storage bucket. .. attribute:: uri

URI for the output file(s). For example, gs://my-bucket/outputs/. If empty the value is populated from Job.output_uri.

:type: str

Overlay

Overlay configuration. .. attribute:: image

Image overlay.

:type: google.cloud.video.transcoder_v1beta1.types.Overlay.Image

PreprocessingConfig

Preprocessing configurations. .. attribute:: color

Color preprocessing configuration.

:type: google.cloud.video.transcoder_v1beta1.types.PreprocessingConfig.Color

Progress

Estimated fractional progress for each step, from 0 to 1. .. attribute:: analyzed

Estimated fractional progress for analyzing step.

:type: float

PubsubDestination

A Pub/Sub destination. .. attribute:: topic

The name of the Pub/Sub topic to publish job completion notification to. For example: projects/{project}/topics/{topic}.

:type: str

SegmentSettings

Segment settings for "ts", "fmp4" and "vtt". .. attribute:: segment_duration

Duration of the segments in seconds. The default is "6.0s".

:type: google.protobuf.duration_pb2.Duration

SpriteSheet

Sprite sheet configuration.

TextStream

Encoding of a text stream. For example, closed captions or subtitles.

VideoStream

Video stream resource. .. attribute:: codec

Codec type. The default is "h264".

Supported codecs:

  • 'h264'
  • 'h265'
  • 'vp9'

    :type: str