google-cloud-video-transcoder 1.16.0__tar.gz → 1.18.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. {google_cloud_video_transcoder-1.16.0/google_cloud_video_transcoder.egg-info → google_cloud_video_transcoder-1.18.0}/PKG-INFO +5 -2
  2. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/README.rst +1 -1
  3. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder/__init__.py +4 -0
  4. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder/gapic_version.py +1 -1
  5. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/__init__.py +4 -0
  6. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/gapic_version.py +1 -1
  7. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/services/transcoder_service/transports/base.py +3 -2
  8. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/services/transcoder_service/transports/grpc.py +5 -3
  9. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/services/transcoder_service/transports/grpc_asyncio.py +5 -3
  10. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/services/transcoder_service/transports/rest.py +3 -2
  11. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/types/__init__.py +4 -0
  12. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/types/resources.py +184 -109
  13. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0/google_cloud_video_transcoder.egg-info}/PKG-INFO +5 -2
  14. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google_cloud_video_transcoder.egg-info/requires.txt +4 -0
  15. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/setup.py +3 -0
  16. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/tests/unit/gapic/transcoder_v1/test_transcoder_service.py +26 -0
  17. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/LICENSE +0 -0
  18. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/MANIFEST.in +0 -0
  19. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder/py.typed +0 -0
  20. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/gapic_metadata.json +0 -0
  21. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/py.typed +0 -0
  22. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/services/__init__.py +0 -0
  23. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/services/transcoder_service/__init__.py +0 -0
  24. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/services/transcoder_service/async_client.py +0 -0
  25. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/services/transcoder_service/client.py +0 -0
  26. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/services/transcoder_service/pagers.py +0 -0
  27. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/services/transcoder_service/transports/__init__.py +0 -0
  28. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/services/transcoder_service/transports/rest_base.py +0 -0
  29. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google/cloud/video/transcoder_v1/types/services.py +0 -0
  30. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google_cloud_video_transcoder.egg-info/SOURCES.txt +0 -0
  31. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google_cloud_video_transcoder.egg-info/dependency_links.txt +0 -0
  32. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google_cloud_video_transcoder.egg-info/not-zip-safe +0 -0
  33. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/google_cloud_video_transcoder.egg-info/top_level.txt +0 -0
  34. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/setup.cfg +0 -0
  35. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/tests/__init__.py +0 -0
  36. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/tests/unit/__init__.py +0 -0
  37. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/tests/unit/gapic/__init__.py +0 -0
  38. {google_cloud_video_transcoder-1.16.0 → google_cloud_video_transcoder-1.18.0}/tests/unit/gapic/transcoder_v1/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-video-transcoder
3
- Version: 1.16.0
3
+ Version: 1.18.0
4
4
  Summary: Google Cloud Video Transcoder API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-video-transcoder
6
6
  Author: Google LLC
@@ -19,12 +19,15 @@ Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
22
23
  Classifier: Operating System :: OS Independent
23
24
  Classifier: Topic :: Internet
24
25
  Requires-Python: >=3.7
25
26
  License-File: LICENSE
26
27
  Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0,>=1.34.1
27
28
  Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
29
+ Requires-Dist: grpcio<2.0.0,>=1.33.2
30
+ Requires-Dist: grpcio<2.0.0,>=1.75.1; python_version >= "3.14"
28
31
  Requires-Dist: proto-plus<2.0.0,>=1.22.3
29
32
  Requires-Dist: proto-plus<2.0.0,>=1.25.0; python_version >= "3.13"
30
33
  Requires-Dist: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.20.2
@@ -103,7 +106,7 @@ Supported Python Versions
103
106
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
104
107
  Python.
105
108
 
106
- Python >= 3.7
109
+ Python >= 3.7, including 3.14
107
110
 
108
111
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
109
112
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
@@ -61,7 +61,7 @@ Supported Python Versions
61
61
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
62
62
  Python.
63
63
 
64
- Python >= 3.7
64
+ Python >= 3.7, including 3.14
65
65
 
66
66
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
67
67
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
@@ -31,6 +31,7 @@ from google.cloud.video.transcoder_v1.types.resources import (
31
31
  ElementaryStream,
32
32
  Encryption,
33
33
  Input,
34
+ InputAttributes,
34
35
  Job,
35
36
  JobConfig,
36
37
  JobTemplate,
@@ -43,6 +44,7 @@ from google.cloud.video.transcoder_v1.types.resources import (
43
44
  SegmentSettings,
44
45
  SpriteSheet,
45
46
  TextStream,
47
+ TrackDefinition,
46
48
  VideoStream,
47
49
  )
48
50
  from google.cloud.video.transcoder_v1.types.services import (
@@ -67,6 +69,7 @@ __all__ = (
67
69
  "ElementaryStream",
68
70
  "Encryption",
69
71
  "Input",
72
+ "InputAttributes",
70
73
  "Job",
71
74
  "JobConfig",
72
75
  "JobTemplate",
@@ -79,6 +82,7 @@ __all__ = (
79
82
  "SegmentSettings",
80
83
  "SpriteSheet",
81
84
  "TextStream",
85
+ "TrackDefinition",
82
86
  "VideoStream",
83
87
  "CreateJobRequest",
84
88
  "CreateJobTemplateRequest",
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "1.16.0" # {x-release-please-version}
16
+ __version__ = "1.18.0" # {x-release-please-version}
@@ -29,6 +29,7 @@ from .types.resources import (
29
29
  ElementaryStream,
30
30
  Encryption,
31
31
  Input,
32
+ InputAttributes,
32
33
  Job,
33
34
  JobConfig,
34
35
  JobTemplate,
@@ -41,6 +42,7 @@ from .types.resources import (
41
42
  SegmentSettings,
42
43
  SpriteSheet,
43
44
  TextStream,
45
+ TrackDefinition,
44
46
  VideoStream,
45
47
  )
46
48
  from .types.services import (
@@ -70,6 +72,7 @@ __all__ = (
70
72
  "GetJobRequest",
71
73
  "GetJobTemplateRequest",
72
74
  "Input",
75
+ "InputAttributes",
73
76
  "Job",
74
77
  "JobConfig",
75
78
  "JobTemplate",
@@ -86,6 +89,7 @@ __all__ = (
86
89
  "SegmentSettings",
87
90
  "SpriteSheet",
88
91
  "TextStream",
92
+ "TrackDefinition",
89
93
  "TranscoderServiceClient",
90
94
  "VideoStream",
91
95
  )
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "1.16.0" # {x-release-please-version}
16
+ __version__ = "1.18.0" # {x-release-please-version}
@@ -67,9 +67,10 @@ class TranscoderServiceTransport(abc.ABC):
67
67
  credentials identify the application to the service; if none
68
68
  are specified, the client will attempt to ascertain the
69
69
  credentials from the environment.
70
- credentials_file (Optional[str]): A file with credentials that can
70
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
71
71
  be loaded with :func:`google.auth.load_credentials_from_file`.
72
- This argument is mutually exclusive with credentials.
72
+ This argument is mutually exclusive with credentials. This argument will be
73
+ removed in the next major version of this library.
73
74
  scopes (Optional[Sequence[str]]): A list of scopes.
74
75
  quota_project_id (Optional[str]): An optional project to use for billing
75
76
  and quota.
@@ -157,9 +157,10 @@ class TranscoderServiceGrpcTransport(TranscoderServiceTransport):
157
157
  are specified, the client will attempt to ascertain the
158
158
  credentials from the environment.
159
159
  This argument is ignored if a ``channel`` instance is provided.
160
- credentials_file (Optional[str]): A file with credentials that can
160
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
161
161
  be loaded with :func:`google.auth.load_credentials_from_file`.
162
162
  This argument is ignored if a ``channel`` instance is provided.
163
+ This argument will be removed in the next major version of this library.
163
164
  scopes (Optional(Sequence[str])): A list of scopes. This argument is
164
165
  ignored if a ``channel`` instance is provided.
165
166
  channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]):
@@ -292,9 +293,10 @@ class TranscoderServiceGrpcTransport(TranscoderServiceTransport):
292
293
  credentials identify this application to the service. If
293
294
  none are specified, the client will attempt to ascertain
294
295
  the credentials from the environment.
295
- credentials_file (Optional[str]): A file with credentials that can
296
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
296
297
  be loaded with :func:`google.auth.load_credentials_from_file`.
297
- This argument is mutually exclusive with credentials.
298
+ This argument is mutually exclusive with credentials. This argument will be
299
+ removed in the next major version of this library.
298
300
  scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
299
301
  service. These are only used when credentials are not specified and
300
302
  are passed to :func:`google.auth.default`.
@@ -154,8 +154,9 @@ class TranscoderServiceGrpcAsyncIOTransport(TranscoderServiceTransport):
154
154
  credentials identify this application to the service. If
155
155
  none are specified, the client will attempt to ascertain
156
156
  the credentials from the environment.
157
- credentials_file (Optional[str]): A file with credentials that can
158
- be loaded with :func:`google.auth.load_credentials_from_file`.
157
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
158
+ be loaded with :func:`google.auth.load_credentials_from_file`. This argument will be
159
+ removed in the next major version of this library.
159
160
  scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
160
161
  service. These are only used when credentials are not specified and
161
162
  are passed to :func:`google.auth.default`.
@@ -206,9 +207,10 @@ class TranscoderServiceGrpcAsyncIOTransport(TranscoderServiceTransport):
206
207
  are specified, the client will attempt to ascertain the
207
208
  credentials from the environment.
208
209
  This argument is ignored if a ``channel`` instance is provided.
209
- credentials_file (Optional[str]): A file with credentials that can
210
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
210
211
  be loaded with :func:`google.auth.load_credentials_from_file`.
211
212
  This argument is ignored if a ``channel`` instance is provided.
213
+ This argument will be removed in the next major version of this library.
212
214
  scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
213
215
  service. These are only used when credentials are not specified and
214
216
  are passed to :func:`google.auth.default`.
@@ -487,9 +487,10 @@ class TranscoderServiceRestTransport(_BaseTranscoderServiceRestTransport):
487
487
  are specified, the client will attempt to ascertain the
488
488
  credentials from the environment.
489
489
 
490
- credentials_file (Optional[str]): A file with credentials that can
490
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
491
491
  be loaded with :func:`google.auth.load_credentials_from_file`.
492
- This argument is ignored if ``channel`` is provided.
492
+ This argument is ignored if ``channel`` is provided. This argument will be
493
+ removed in the next major version of this library.
493
494
  scopes (Optional(Sequence[str])): A list of scopes. This argument is
494
495
  ignored if ``channel`` is provided.
495
496
  client_cert_source_for_mtls (Callable[[], Tuple[bytes, bytes]]): Client
@@ -20,6 +20,7 @@ from .resources import (
20
20
  ElementaryStream,
21
21
  Encryption,
22
22
  Input,
23
+ InputAttributes,
23
24
  Job,
24
25
  JobConfig,
25
26
  JobTemplate,
@@ -32,6 +33,7 @@ from .resources import (
32
33
  SegmentSettings,
33
34
  SpriteSheet,
34
35
  TextStream,
36
+ TrackDefinition,
35
37
  VideoStream,
36
38
  )
37
39
  from .services import (
@@ -54,6 +56,7 @@ __all__ = (
54
56
  "ElementaryStream",
55
57
  "Encryption",
56
58
  "Input",
59
+ "InputAttributes",
57
60
  "Job",
58
61
  "JobConfig",
59
62
  "JobTemplate",
@@ -66,6 +69,7 @@ __all__ = (
66
69
  "SegmentSettings",
67
70
  "SpriteSheet",
68
71
  "TextStream",
72
+ "TrackDefinition",
69
73
  "VideoStream",
70
74
  "CreateJobRequest",
71
75
  "CreateJobTemplateRequest",
@@ -39,6 +39,8 @@ __protobuf__ = proto.module(
39
39
  "SpriteSheet",
40
40
  "Overlay",
41
41
  "PreprocessingConfig",
42
+ "TrackDefinition",
43
+ "InputAttributes",
42
44
  "VideoStream",
43
45
  "AudioStream",
44
46
  "TextStream",
@@ -408,6 +410,8 @@ class Input(proto.Message):
408
410
  formats <https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats>`__.
409
411
  preprocessing_config (google.cloud.video.transcoder_v1.types.PreprocessingConfig):
410
412
  Preprocessing configurations.
413
+ attributes (google.cloud.video.transcoder_v1.types.InputAttributes):
414
+ Optional. Input Attributes.
411
415
  """
412
416
 
413
417
  key: str = proto.Field(
@@ -423,6 +427,11 @@ class Input(proto.Message):
423
427
  number=3,
424
428
  message="PreprocessingConfig",
425
429
  )
430
+ attributes: "InputAttributes" = proto.Field(
431
+ proto.MESSAGE,
432
+ number=4,
433
+ message="InputAttributes",
434
+ )
426
435
 
427
436
 
428
437
  class Output(proto.Message):
@@ -577,15 +586,15 @@ class MuxStream(proto.Message):
577
586
 
578
587
  Supported streaming formats:
579
588
 
580
- - ``ts``
581
- - ``fmp4``- the corresponding file extension is ``.m4s``
589
+ - ``ts``
590
+ - ``fmp4``- the corresponding file extension is ``.m4s``
582
591
 
583
592
  Supported standalone file formats:
584
593
 
585
- - ``mp4``
586
- - ``mp3``
587
- - ``ogg``
588
- - ``vtt``
594
+ - ``mp4``
595
+ - ``mp3``
596
+ - ``ogg``
597
+ - ``vtt``
589
598
 
590
599
  See also: `Supported input and output
591
600
  formats <https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats>`__
@@ -615,8 +624,8 @@ class MuxStream(proto.Message):
615
624
 
616
625
  Supported H265 codec tags:
617
626
 
618
- - ``hvc1`` (default)
619
- - ``hev1``
627
+ - ``hvc1`` (default)
628
+ - ``hev1``
620
629
  """
621
630
 
622
631
  codec_tag: str = proto.Field(
@@ -814,7 +823,7 @@ class SpriteSheet(proto.Message):
814
823
 
815
824
  Supported formats:
816
825
 
817
- - ``jpeg``
826
+ - ``jpeg``
818
827
  file_prefix (str):
819
828
  Required. File name prefix for the generated sprite sheets.
820
829
 
@@ -1231,8 +1240,8 @@ class PreprocessingConfig(proto.Message):
1231
1240
 
1232
1241
  Supported denoiser modes:
1233
1242
 
1234
- - ``standard``
1235
- - ``grain``
1243
+ - ``standard``
1244
+ - ``grain``
1236
1245
  """
1237
1246
 
1238
1247
  strength: float = proto.Field(
@@ -1277,15 +1286,15 @@ class PreprocessingConfig(proto.Message):
1277
1286
  relative to full scale (LUFS). Enter a value between -24 and
1278
1287
  0 (the default), where:
1279
1288
 
1280
- - -24 is the Advanced Television Systems Committee (ATSC
1281
- A/85) standard
1282
- - -23 is the EU R128 broadcast standard
1283
- - -19 is the prior standard for online mono audio
1284
- - -18 is the ReplayGain standard
1285
- - -16 is the prior standard for stereo audio
1286
- - -14 is the new online audio standard recommended by
1287
- Spotify, as well as Amazon Echo
1288
- - 0 disables normalization
1289
+ - -24 is the Advanced Television Systems Committee (ATSC
1290
+ A/85) standard
1291
+ - -23 is the EU R128 broadcast standard
1292
+ - -19 is the prior standard for online mono audio
1293
+ - -18 is the ReplayGain standard
1294
+ - -16 is the prior standard for stereo audio
1295
+ - -14 is the new online audio standard recommended by
1296
+ Spotify, as well as Amazon Echo
1297
+ - 0 disables normalization
1289
1298
  high_boost (bool):
1290
1299
  Enable boosting high frequency components. The default is
1291
1300
  ``false``.
@@ -1415,17 +1424,17 @@ class PreprocessingConfig(proto.Message):
1415
1424
  Specifies the deinterlacing mode to adopt. The default is
1416
1425
  ``send_frame``. Supported values:
1417
1426
 
1418
- - ``send_frame``: Output one frame for each frame
1419
- - ``send_field``: Output one frame for each field
1427
+ - ``send_frame``: Output one frame for each frame
1428
+ - ``send_field``: Output one frame for each field
1420
1429
  disable_spatial_interlacing (bool):
1421
1430
  Disable spacial interlacing. The default is ``false``.
1422
1431
  parity (str):
1423
1432
  The picture field parity assumed for the input interlaced
1424
1433
  video. The default is ``auto``. Supported values:
1425
1434
 
1426
- - ``tff``: Assume the top field is first
1427
- - ``bff``: Assume the bottom field is first
1428
- - ``auto``: Enable automatic detection of field parity
1435
+ - ``tff``: Assume the top field is first
1436
+ - ``bff``: Assume the bottom field is first
1437
+ - ``auto``: Enable automatic detection of field parity
1429
1438
  deinterlace_all_frames (bool):
1430
1439
  Deinterlace all frames rather than just the frames
1431
1440
  identified as interlaced. The default is ``false``.
@@ -1456,15 +1465,15 @@ class PreprocessingConfig(proto.Message):
1456
1465
  Specifies the deinterlacing mode to adopt. The default is
1457
1466
  ``send_frame``. Supported values:
1458
1467
 
1459
- - ``send_frame``: Output one frame for each frame
1460
- - ``send_field``: Output one frame for each field
1468
+ - ``send_frame``: Output one frame for each frame
1469
+ - ``send_field``: Output one frame for each field
1461
1470
  parity (str):
1462
1471
  The picture field parity assumed for the input interlaced
1463
1472
  video. The default is ``auto``. Supported values:
1464
1473
 
1465
- - ``tff``: Assume the top field is first
1466
- - ``bff``: Assume the bottom field is first
1467
- - ``auto``: Enable automatic detection of field parity
1474
+ - ``tff``: Assume the top field is first
1475
+ - ``bff``: Assume the bottom field is first
1476
+ - ``auto``: Enable automatic detection of field parity
1468
1477
  deinterlace_all_frames (bool):
1469
1478
  Deinterlace all frames rather than just the frames
1470
1479
  identified as interlaced. The default is ``false``.
@@ -1533,6 +1542,72 @@ class PreprocessingConfig(proto.Message):
1533
1542
  )
1534
1543
 
1535
1544
 
1545
+ class TrackDefinition(proto.Message):
1546
+ r"""Track definition for the input asset.
1547
+
1548
+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
1549
+
1550
+ Attributes:
1551
+ input_track (int):
1552
+ The input track.
1553
+
1554
+ This field is a member of `oneof`_ ``_input_track``.
1555
+ languages (MutableSequence[str]):
1556
+ Optional. A list of languages spoken in the input asset,
1557
+ represented by a BCP 47 language code, such as "en-US" or
1558
+ "sr-Latn". For more information, see
1559
+ https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1560
+ detect_languages (bool):
1561
+ Optional. Whether to automatically detect the
1562
+ languages present in the track. If true, the
1563
+ system will attempt to identify all the
1564
+ languages present in the track and populate the
1565
+ languages field.
1566
+ detected_languages (MutableSequence[str]):
1567
+ Output only. A list of languages detected in the input
1568
+ asset, represented by a BCP 47 language code, such as
1569
+ "en-US" or "sr-Latn". For more information, see
1570
+ https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1571
+ This field is only populated if the detect_languages field
1572
+ is set to true.
1573
+ """
1574
+
1575
+ input_track: int = proto.Field(
1576
+ proto.INT32,
1577
+ number=1,
1578
+ optional=True,
1579
+ )
1580
+ languages: MutableSequence[str] = proto.RepeatedField(
1581
+ proto.STRING,
1582
+ number=2,
1583
+ )
1584
+ detect_languages: bool = proto.Field(
1585
+ proto.BOOL,
1586
+ number=3,
1587
+ )
1588
+ detected_languages: MutableSequence[str] = proto.RepeatedField(
1589
+ proto.STRING,
1590
+ number=4,
1591
+ )
1592
+
1593
+
1594
+ class InputAttributes(proto.Message):
1595
+ r"""Input attributes that provide additional information about
1596
+ the input asset.
1597
+
1598
+ Attributes:
1599
+ track_definitions (MutableSequence[google.cloud.video.transcoder_v1.types.TrackDefinition]):
1600
+ Optional. A list of track definitions for the
1601
+ input asset.
1602
+ """
1603
+
1604
+ track_definitions: MutableSequence["TrackDefinition"] = proto.RepeatedField(
1605
+ proto.MESSAGE,
1606
+ number=1,
1607
+ message="TrackDefinition",
1608
+ )
1609
+
1610
+
1536
1611
  class VideoStream(proto.Message):
1537
1612
  r"""Video stream resource.
1538
1613
 
@@ -1644,22 +1719,22 @@ class VideoStream(proto.Message):
1644
1719
 
1645
1720
  Supported pixel formats:
1646
1721
 
1647
- - ``yuv420p`` pixel format
1648
- - ``yuv422p`` pixel format
1649
- - ``yuv444p`` pixel format
1650
- - ``yuv420p10`` 10-bit HDR pixel format
1651
- - ``yuv422p10`` 10-bit HDR pixel format
1652
- - ``yuv444p10`` 10-bit HDR pixel format
1653
- - ``yuv420p12`` 12-bit HDR pixel format
1654
- - ``yuv422p12`` 12-bit HDR pixel format
1655
- - ``yuv444p12`` 12-bit HDR pixel format
1722
+ - ``yuv420p`` pixel format
1723
+ - ``yuv422p`` pixel format
1724
+ - ``yuv444p`` pixel format
1725
+ - ``yuv420p10`` 10-bit HDR pixel format
1726
+ - ``yuv422p10`` 10-bit HDR pixel format
1727
+ - ``yuv444p10`` 10-bit HDR pixel format
1728
+ - ``yuv420p12`` 12-bit HDR pixel format
1729
+ - ``yuv422p12`` 12-bit HDR pixel format
1730
+ - ``yuv444p12`` 12-bit HDR pixel format
1656
1731
  rate_control_mode (str):
1657
1732
  Specify the mode. The default is ``vbr``.
1658
1733
 
1659
1734
  Supported rate control modes:
1660
1735
 
1661
- - ``vbr`` - variable bitrate
1662
- - ``crf`` - constant rate factor
1736
+ - ``vbr`` - variable bitrate
1737
+ - ``crf`` - constant rate factor
1663
1738
  crf_level (int):
1664
1739
  Target CRF level. Must be between 10 and 36,
1665
1740
  where 10 is the highest quality and 36 is the
@@ -1699,8 +1774,8 @@ class VideoStream(proto.Message):
1699
1774
 
1700
1775
  Supported entropy coders:
1701
1776
 
1702
- - ``cavlc``
1703
- - ``cabac``
1777
+ - ``cavlc``
1778
+ - ``cabac``
1704
1779
  b_pyramid (bool):
1705
1780
  Allow B-pyramid for reference frame selection. This may not
1706
1781
  be supported on all decoders. The default is ``false``.
@@ -1719,9 +1794,9 @@ class VideoStream(proto.Message):
1719
1794
  Enforces the specified codec profile. The following profiles
1720
1795
  are supported:
1721
1796
 
1722
- - ``baseline``
1723
- - ``main``
1724
- - ``high`` (default)
1797
+ - ``baseline``
1798
+ - ``main``
1799
+ - ``high`` (default)
1725
1800
 
1726
1801
  The available options are
1727
1802
  `FFmpeg-compatible <https://trac.ffmpeg.org/wiki/Encode/H.264#Tune>`__.
@@ -1922,22 +1997,22 @@ class VideoStream(proto.Message):
1922
1997
 
1923
1998
  Supported pixel formats:
1924
1999
 
1925
- - ``yuv420p`` pixel format
1926
- - ``yuv422p`` pixel format
1927
- - ``yuv444p`` pixel format
1928
- - ``yuv420p10`` 10-bit HDR pixel format
1929
- - ``yuv422p10`` 10-bit HDR pixel format
1930
- - ``yuv444p10`` 10-bit HDR pixel format
1931
- - ``yuv420p12`` 12-bit HDR pixel format
1932
- - ``yuv422p12`` 12-bit HDR pixel format
1933
- - ``yuv444p12`` 12-bit HDR pixel format
2000
+ - ``yuv420p`` pixel format
2001
+ - ``yuv422p`` pixel format
2002
+ - ``yuv444p`` pixel format
2003
+ - ``yuv420p10`` 10-bit HDR pixel format
2004
+ - ``yuv422p10`` 10-bit HDR pixel format
2005
+ - ``yuv444p10`` 10-bit HDR pixel format
2006
+ - ``yuv420p12`` 12-bit HDR pixel format
2007
+ - ``yuv422p12`` 12-bit HDR pixel format
2008
+ - ``yuv444p12`` 12-bit HDR pixel format
1934
2009
  rate_control_mode (str):
1935
2010
  Specify the mode. The default is ``vbr``.
1936
2011
 
1937
2012
  Supported rate control modes:
1938
2013
 
1939
- - ``vbr`` - variable bitrate
1940
- - ``crf`` - constant rate factor
2014
+ - ``vbr`` - variable bitrate
2015
+ - ``crf`` - constant rate factor
1941
2016
  crf_level (int):
1942
2017
  Target CRF level. Must be between 10 and 36,
1943
2018
  where 10 is the highest quality and 36 is the
@@ -1990,29 +2065,29 @@ class VideoStream(proto.Message):
1990
2065
  Enforces the specified codec profile. The following profiles
1991
2066
  are supported:
1992
2067
 
1993
- - 8-bit profiles
2068
+ - 8-bit profiles
1994
2069
 
1995
- - ``main`` (default)
1996
- - ``main-intra``
1997
- - ``mainstillpicture``
2070
+ - ``main`` (default)
2071
+ - ``main-intra``
2072
+ - ``mainstillpicture``
1998
2073
 
1999
- - 10-bit profiles
2074
+ - 10-bit profiles
2000
2075
 
2001
- - ``main10`` (default)
2002
- - ``main10-intra``
2003
- - ``main422-10``
2004
- - ``main422-10-intra``
2005
- - ``main444-10``
2006
- - ``main444-10-intra``
2076
+ - ``main10`` (default)
2077
+ - ``main10-intra``
2078
+ - ``main422-10``
2079
+ - ``main422-10-intra``
2080
+ - ``main444-10``
2081
+ - ``main444-10-intra``
2007
2082
 
2008
- - 12-bit profiles
2083
+ - 12-bit profiles
2009
2084
 
2010
- - ``main12`` (default)
2011
- - ``main12-intra``
2012
- - ``main422-12``
2013
- - ``main422-12-intra``
2014
- - ``main444-12``
2015
- - ``main444-12-intra``
2085
+ - ``main12`` (default)
2086
+ - ``main12-intra``
2087
+ - ``main422-12``
2088
+ - ``main422-12-intra``
2089
+ - ``main444-12``
2090
+ - ``main444-12-intra``
2016
2091
 
2017
2092
  The available options are
2018
2093
  `FFmpeg-compatible <https://x265.readthedocs.io/>`__. Note
@@ -2214,21 +2289,21 @@ class VideoStream(proto.Message):
2214
2289
 
2215
2290
  Supported pixel formats:
2216
2291
 
2217
- - ``yuv420p`` pixel format
2218
- - ``yuv422p`` pixel format
2219
- - ``yuv444p`` pixel format
2220
- - ``yuv420p10`` 10-bit HDR pixel format
2221
- - ``yuv422p10`` 10-bit HDR pixel format
2222
- - ``yuv444p10`` 10-bit HDR pixel format
2223
- - ``yuv420p12`` 12-bit HDR pixel format
2224
- - ``yuv422p12`` 12-bit HDR pixel format
2225
- - ``yuv444p12`` 12-bit HDR pixel format
2292
+ - ``yuv420p`` pixel format
2293
+ - ``yuv422p`` pixel format
2294
+ - ``yuv444p`` pixel format
2295
+ - ``yuv420p10`` 10-bit HDR pixel format
2296
+ - ``yuv422p10`` 10-bit HDR pixel format
2297
+ - ``yuv444p10`` 10-bit HDR pixel format
2298
+ - ``yuv420p12`` 12-bit HDR pixel format
2299
+ - ``yuv422p12`` 12-bit HDR pixel format
2300
+ - ``yuv444p12`` 12-bit HDR pixel format
2226
2301
  rate_control_mode (str):
2227
2302
  Specify the mode. The default is ``vbr``.
2228
2303
 
2229
2304
  Supported rate control modes:
2230
2305
 
2231
- - ``vbr`` - variable bitrate
2306
+ - ``vbr`` - variable bitrate
2232
2307
  crf_level (int):
2233
2308
  Target CRF level. Must be between 10 and 36, where 10 is the
2234
2309
  highest quality and 36 is the most efficient compression.
@@ -2252,10 +2327,10 @@ class VideoStream(proto.Message):
2252
2327
  Enforces the specified codec profile. The following profiles
2253
2328
  are supported:
2254
2329
 
2255
- - ``profile0`` (default)
2256
- - ``profile1``
2257
- - ``profile2``
2258
- - ``profile3``
2330
+ - ``profile0`` (default)
2331
+ - ``profile1``
2332
+ - ``profile2``
2333
+ - ``profile3``
2259
2334
 
2260
2335
  The available options are
2261
2336
  `WebM-compatible <https://www.webmproject.org/vp9/profiles/>`__.
@@ -2364,13 +2439,13 @@ class AudioStream(proto.Message):
2364
2439
 
2365
2440
  Supported audio codecs:
2366
2441
 
2367
- - ``aac``
2368
- - ``aac-he``
2369
- - ``aac-he-v2``
2370
- - ``mp3``
2371
- - ``ac3``
2372
- - ``eac3``
2373
- - ``vorbis``
2442
+ - ``aac``
2443
+ - ``aac-he``
2444
+ - ``aac-he-v2``
2445
+ - ``mp3``
2446
+ - ``ac3``
2447
+ - ``eac3``
2448
+ - ``vorbis``
2374
2449
  bitrate_bps (int):
2375
2450
  Required. Audio bitrate in bits per second.
2376
2451
  Must be between 1 and 10,000,000.
@@ -2385,12 +2460,12 @@ class AudioStream(proto.Message):
2385
2460
 
2386
2461
  Supported channel names:
2387
2462
 
2388
- - ``fl`` - Front left channel
2389
- - ``fr`` - Front right channel
2390
- - ``sl`` - Side left channel
2391
- - ``sr`` - Side right channel
2392
- - ``fc`` - Front center channel
2393
- - ``lfe`` - Low frequency
2463
+ - ``fl`` - Front left channel
2464
+ - ``fr`` - Front right channel
2465
+ - ``sl`` - Side left channel
2466
+ - ``sr`` - Side right channel
2467
+ - ``fc`` - Front center channel
2468
+ - ``lfe`` - Low frequency
2394
2469
  mapping_ (MutableSequence[google.cloud.video.transcoder_v1.types.AudioStream.AudioMapping]):
2395
2470
  The mapping for the
2396
2471
  [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list]
@@ -2511,11 +2586,11 @@ class TextStream(proto.Message):
2511
2586
 
2512
2587
  Supported text codecs:
2513
2588
 
2514
- - ``srt``
2515
- - ``ttml``
2516
- - ``cea608``
2517
- - ``cea708``
2518
- - ``webvtt``
2589
+ - ``srt``
2590
+ - ``ttml``
2591
+ - ``cea608``
2592
+ - ``cea708``
2593
+ - ``webvtt``
2519
2594
  language_code (str):
2520
2595
  The BCP-47 language code, such as ``en-US`` or ``sr-Latn``.
2521
2596
  For more information, see
@@ -2663,8 +2738,8 @@ class Encryption(proto.Message):
2663
2738
 
2664
2739
  Supported encryption schemes:
2665
2740
 
2666
- - ``cenc``
2667
- - ``cbcs``
2741
+ - ``cenc``
2742
+ - ``cbcs``
2668
2743
  """
2669
2744
 
2670
2745
  scheme: str = proto.Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-video-transcoder
3
- Version: 1.16.0
3
+ Version: 1.18.0
4
4
  Summary: Google Cloud Video Transcoder API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-video-transcoder
6
6
  Author: Google LLC
@@ -19,12 +19,15 @@ Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
22
23
  Classifier: Operating System :: OS Independent
23
24
  Classifier: Topic :: Internet
24
25
  Requires-Python: >=3.7
25
26
  License-File: LICENSE
26
27
  Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0,>=1.34.1
27
28
  Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
29
+ Requires-Dist: grpcio<2.0.0,>=1.33.2
30
+ Requires-Dist: grpcio<2.0.0,>=1.75.1; python_version >= "3.14"
28
31
  Requires-Dist: proto-plus<2.0.0,>=1.22.3
29
32
  Requires-Dist: proto-plus<2.0.0,>=1.25.0; python_version >= "3.13"
30
33
  Requires-Dist: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.20.2
@@ -103,7 +106,7 @@ Supported Python Versions
103
106
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
104
107
  Python.
105
108
 
106
- Python >= 3.7
109
+ Python >= 3.7, including 3.14
107
110
 
108
111
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
109
112
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
@@ -1,7 +1,11 @@
1
1
  google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0,>=1.34.1
2
2
  google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
3
+ grpcio<2.0.0,>=1.33.2
3
4
  proto-plus<2.0.0,>=1.22.3
4
5
  protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.20.2
5
6
 
6
7
  [:python_version >= "3.13"]
7
8
  proto-plus<2.0.0,>=1.25.0
9
+
10
+ [:python_version >= "3.14"]
11
+ grpcio<2.0.0,>=1.75.1
@@ -45,6 +45,8 @@ dependencies = [
45
45
  # Exclude incompatible versions of `google-auth`
46
46
  # See https://github.com/googleapis/google-cloud-python/issues/12364
47
47
  "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
48
+ "grpcio >= 1.33.2, < 2.0.0",
49
+ "grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
48
50
  "proto-plus >= 1.22.3, <2.0.0",
49
51
  "proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
50
52
  "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
@@ -86,6 +88,7 @@ setuptools.setup(
86
88
  "Programming Language :: Python :: 3.11",
87
89
  "Programming Language :: Python :: 3.12",
88
90
  "Programming Language :: Python :: 3.13",
91
+ "Programming Language :: Python :: 3.14",
89
92
  "Operating System :: OS Independent",
90
93
  "Topic :: Internet",
91
94
  ],
@@ -6505,6 +6505,19 @@ def test_create_job_rest_call_success(request_type):
6505
6505
  },
6506
6506
  },
6507
6507
  },
6508
+ "attributes": {
6509
+ "track_definitions": [
6510
+ {
6511
+ "input_track": 1188,
6512
+ "languages": ["languages_value1", "languages_value2"],
6513
+ "detect_languages": True,
6514
+ "detected_languages": [
6515
+ "detected_languages_value1",
6516
+ "detected_languages_value2",
6517
+ ],
6518
+ }
6519
+ ]
6520
+ },
6508
6521
  }
6509
6522
  ],
6510
6523
  "edit_list": [
@@ -7345,6 +7358,19 @@ def test_create_job_template_rest_call_success(request_type):
7345
7358
  },
7346
7359
  },
7347
7360
  },
7361
+ "attributes": {
7362
+ "track_definitions": [
7363
+ {
7364
+ "input_track": 1188,
7365
+ "languages": ["languages_value1", "languages_value2"],
7366
+ "detect_languages": True,
7367
+ "detected_languages": [
7368
+ "detected_languages_value1",
7369
+ "detected_languages_value2",
7370
+ ],
7371
+ }
7372
+ ]
7373
+ },
7348
7374
  }
7349
7375
  ],
7350
7376
  "edit_list": [