1- // Copyright 2021 Google LLC
1+ // Copyright 2022 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -60,12 +60,16 @@ message Job {
6060 // Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
6161 // `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
6262 // URI of the media. Input files must be at least 5 seconds in duration and
63- // stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
63+ // stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See
64+ // [Supported input and output
65+ // formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
6466 string input_uri = 2 [(google.api.field_behavior ) = INPUT_ONLY ];
6567
6668 // Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
6769 // `JobTemplate.config.output.uri` when using template.
68- // URI for the output file(s). For example, `gs://my-bucket/outputs/`.
70+ // URI for the output file(s). For example, `gs://my-bucket/outputs/`. See
71+ // [Supported input and output
72+ // formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
6973 string output_uri = 3 [(google.api.field_behavior ) = INPUT_ONLY ];
7074
7175 // Specify the `job_config` for the transcoding job. If you don't specify the
@@ -104,6 +108,10 @@ message Job {
104108 // a value between 1 and 90. The default is 30.
105109 int32 ttl_after_completion_days = 15 ;
106110
111+ // The labels associated with this job. You can use these to organize and
112+ // group your jobs.
113+ map <string , string > labels = 16 ;
114+
107115 // Output only. An error object that describes the reason for the failure.
108116 // This property is always present when `state` is `FAILED`.
109117 google.rpc.Status error = 17 [(google.api.field_behavior ) = OUTPUT_ONLY ];
@@ -123,6 +131,10 @@ message JobTemplate {
123131
124132 // The configuration for this template.
125133 JobConfig config = 2 ;
134+
135+ // The labels associated with this job template. You can use these to organize
136+ // and group your job templates.
137+ map <string , string > labels = 3 ;
126138}
127139
128140// Job configuration
@@ -154,6 +166,7 @@ message JobConfig {
154166 PubsubDestination pubsub_destination = 8 ;
155167
156168 // List of output sprite sheets.
169+ // Spritesheets require at least one VideoStream in the Jobconfig.
157170 repeated SpriteSheet sprite_sheets = 9 ;
158171
159172 // List of overlays on the output video, in descending Z-order.
@@ -168,7 +181,9 @@ message Input {
168181
169182 // URI of the media. Input files must be at least 5 seconds in duration and
170183 // stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
171- // If empty, the value will be populated from `Job.input_uri`.
184+ // If empty, the value is populated from `Job.input_uri`. See
185+ // [Supported input and output
186+ // formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
172187 string uri = 2 ;
173188
174189 // Preprocessing configurations.
@@ -178,7 +193,9 @@ message Input {
178193// Location of output file(s) in a Cloud Storage bucket.
179194message Output {
180195 // URI for the output file(s). For example, `gs://my-bucket/outputs/`.
181- // If empty the value is populated from `Job.output_uri`.
196+ // If empty, the value is populated from `Job.output_uri`. See
197+ // [Supported input and output
198+ // formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
182199 string uri = 1 ;
183200}
184201
@@ -250,6 +267,10 @@ message MuxStream {
250267 // - `fmp4`- the corresponding file extension is `.m4s`
251268 // - `mp4`
252269 // - `vtt`
270+ //
271+ // See also:
272+ // [Supported input and output
273+ // formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)
253274 string container = 3 ;
254275
255276 // List of `ElementaryStream.key`s multiplexed in this stream.
@@ -400,6 +421,18 @@ message Overlay {
400421 google.protobuf.Duration start_time_offset = 2 ;
401422 }
402423
424+ // Fade type for the overlay: `FADE_IN` or `FADE_OUT`.
425+ enum FadeType {
426+ // The fade type is not specified.
427+ FADE_TYPE_UNSPECIFIED = 0 ;
428+
429+ // Fade the overlay object into view.
430+ FADE_IN = 1 ;
431+
432+ // Fade the overlay object out of view.
433+ FADE_OUT = 2 ;
434+ }
435+
403436 // Display overlay object with fade animation.
404437 message AnimationFade {
405438 // Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
@@ -443,18 +476,6 @@ message Overlay {
443476 }
444477 }
445478
446- // Fade type for the overlay: `FADE_IN` or `FADE_OUT`.
447- enum FadeType {
448- // The fade type is not specified.
449- FADE_TYPE_UNSPECIFIED = 0 ;
450-
451- // Fade the overlay object into view.
452- FADE_IN = 1 ;
453-
454- // Fade the overlay object out of view.
455- FADE_OUT = 2 ;
456- }
457-
458479 // Image overlay.
459480 Image image = 1 ;
460481
@@ -466,6 +487,8 @@ message Overlay {
466487// Preprocessing configurations.
467488message PreprocessingConfig {
468489 // Color preprocessing configuration.
490+ //
491+ // **Note:** This configuration is not supported.
469492 message Color {
470493 // Control color saturation of the video. Enter a value between -1 and 1,
471494 // where -1 is fully desaturated and 1 is maximum saturation. 0 is no
@@ -484,6 +507,8 @@ message PreprocessingConfig {
484507 }
485508
486509 // Denoise preprocessing configuration.
510+ //
511+ // **Note:** This configuration is not supported.
487512 message Denoise {
488513 // Set strength of the denoise. Enter a value between 0 and 1. The higher
489514 // the value, the smoother the image. 0 is no denoising. The default is 0.
@@ -499,6 +524,8 @@ message PreprocessingConfig {
499524 }
500525
501526 // Deblock preprocessing configuration.
527+ //
528+ // **Note:** This configuration is not supported.
502529 message Deblock {
503530 // Set strength of the deblocker. Enter a value between 0 and 1. The higher
504531 // the value, the stronger the block removal. 0 is no deblocking. The
@@ -525,9 +552,13 @@ message PreprocessingConfig {
525552 double lufs = 1 ;
526553
527554 // Enable boosting high frequency components. The default is `false`.
555+ //
556+ // **Note:** This field is not supported.
528557 bool high_boost = 2 ;
529558
530559 // Enable boosting low frequency components. The default is `false`.
560+ //
561+ // **Note:** This field is not supported.
531562 bool low_boost = 3 ;
532563 }
533564
@@ -906,11 +937,12 @@ message VideoStream {
906937 // Supported rate control modes:
907938 //
908939 // - `vbr` - variable bitrate
909- // - `crf` - constant rate factor
910940 string rate_control_mode = 6 ;
911941
912942 // Target CRF level. Must be between 10 and 36, where 10 is the highest
913943 // quality and 36 is the most efficient compression. The default is 21.
944+ //
945+ // **Note:** This field is not supported.
914946 int32 crf_level = 7 ;
915947
916948 // GOP mode can be either by frame count or duration.
0 commit comments