Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class JobConfig.
Job configuration
Generated from protobuf message google.cloud.video.transcoder.v1.JobConfig
Namespace
Google \ Cloud \ Video \ Transcoder \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ inputs |
array<Google\Cloud\Video\Transcoder\V1\Input>
List of input assets stored in Cloud Storage. |
↳ edit_list |
array<Google\Cloud\Video\Transcoder\V1\EditAtom>
List of |
↳ elementary_streams |
array<Google\Cloud\Video\Transcoder\V1\ElementaryStream>
List of elementary streams. |
↳ mux_streams |
array<Google\Cloud\Video\Transcoder\V1\MuxStream>
List of multiplexing settings for output streams. |
↳ manifests |
array<Google\Cloud\Video\Transcoder\V1\Manifest>
List of output manifests. |
↳ output |
Google\Cloud\Video\Transcoder\V1\Output
Output configuration. |
↳ ad_breaks |
array<Google\Cloud\Video\Transcoder\V1\AdBreak>
List of ad breaks. Specifies where to insert ad break tags in the output manifests. |
↳ pubsub_destination |
Google\Cloud\Video\Transcoder\V1\PubsubDestination
Destination on Pub/Sub. |
↳ sprite_sheets |
array<Google\Cloud\Video\Transcoder\V1\SpriteSheet>
List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig. |
↳ overlays |
array<Google\Cloud\Video\Transcoder\V1\Overlay>
List of overlays on the output video, in descending Z-order. |
↳ encryptions |
array<Google\Cloud\Video\Transcoder\V1\Encryption>
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 |
getInputs
List of input assets stored in Cloud Storage.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setInputs
List of input assets stored in Cloud Storage.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Video\Transcoder\V1\Input>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEditList
List of Edit atoms. Defines the ultimate timeline of the resulting
file or manifest.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setEditList
List of Edit atoms. Defines the ultimate timeline of the resulting
file or manifest.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Video\Transcoder\V1\EditAtom>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getElementaryStreams
List of elementary streams.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setElementaryStreams
List of elementary streams.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Video\Transcoder\V1\ElementaryStream>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMuxStreams
List of multiplexing settings for output streams.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setMuxStreams
List of multiplexing settings for output streams.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Video\Transcoder\V1\MuxStream>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getManifests
List of output manifests.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setManifests
List of output manifests.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Video\Transcoder\V1\Manifest>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOutput
Output configuration.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Video\Transcoder\V1\Output|null |
|
hasOutput
clearOutput
setOutput
Output configuration.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Video\Transcoder\V1\Output
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAdBreaks
List of ad breaks. Specifies where to insert ad break tags in the output manifests.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setAdBreaks
List of ad breaks. Specifies where to insert ad break tags in the output manifests.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Video\Transcoder\V1\AdBreak>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPubsubDestination
Destination on Pub/Sub.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Video\Transcoder\V1\PubsubDestination|null |
|
hasPubsubDestination
clearPubsubDestination
setPubsubDestination
Destination on Pub/Sub.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Video\Transcoder\V1\PubsubDestination
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSpriteSheets
List of output sprite sheets.
Spritesheets require at least one VideoStream in the Jobconfig.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setSpriteSheets
List of output sprite sheets.
Spritesheets require at least one VideoStream in the Jobconfig.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Video\Transcoder\V1\SpriteSheet>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOverlays
List of overlays on the output video, in descending Z-order.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setOverlays
List of overlays on the output video, in descending Z-order.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Video\Transcoder\V1\Overlay>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEncryptions
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.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setEncryptions
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.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Video\Transcoder\V1\Encryption>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|