google-cloud-video-transcoder-v1 2.1.0 → 2.3.0
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.
- checksums.yaml +4 -4
- data/lib/google/cloud/video/transcoder/v1/resources_pb.rb +12 -1
- data/lib/google/cloud/video/transcoder/v1/transcoder_service/client.rb +12 -5
- data/lib/google/cloud/video/transcoder/v1/transcoder_service/rest/client.rb +12 -5
- data/lib/google/cloud/video/transcoder/v1/version.rb +1 -1
- data/proto_docs/google/cloud/video/transcoder/v1/resources.rb +279 -65
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa3e455649a06fce06f55375e6d6184b7ec429ab77779bfc351bd2c7a028e834
|
4
|
+
data.tar.gz: 38110d387a0b18ebc256513cdeb73d5aec7a52efedf4bd16116ce80b06cba3cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed04b7b3fafd94aea4f88f695c04a75073110d8bb01af323f11b32408e233a1c1b13af9a3b76236336e5520508681f58442f898a4c1b05752fe293fef8a34658
|
7
|
+
data.tar.gz: a9de28f72a466631235e736a3e6919514d95ecb9141496f1b266279107c9186ce99106bc46f0214c110a08d59adcadecd112310601472672e1779e41f20f1cfe
|
@@ -11,7 +11,7 @@ require 'google/protobuf/timestamp_pb'
|
|
11
11
|
require 'google/rpc/status_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n0google/cloud/video/transcoder/v1/resources.proto\x12 google.cloud.video.transcoder.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x99\t\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\tinput_uri\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x17\n\noutput_uri\x18\x03 \x01(\tB\x03\xe0\x41\x04\x12\x1a\n\x0btemplate_id\x18\x04 \x01(\tB\x03\xe0\x41\x04H\x00\x12=\n\x06\x63onfig\x18\x05 \x01(\x0b\x32+.google.cloud.video.transcoder.v1.JobConfigH\x00\x12I\n\x05state\x18\x08 \x01(\x0e\x32\x35.google.cloud.video.transcoder.v1.Job.ProcessingStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12!\n\x19ttl_after_completion_days\x18\x0f \x01(\x05\x12\x41\n\x06labels\x18\x10 \x03(\x0b\x32\x31.google.cloud.video.transcoder.v1.Job.LabelsEntry\x12&\n\x05\x65rror\x18\x11 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x42\n\x04mode\x18\x14 \x01(\x0e\x32\x34.google.cloud.video.transcoder.v1.Job.ProcessingMode\x12\x1b\n\x13\x62\x61tch_mode_priority\x18\x15 \x01(\x05\x12U\n\x0coptimization\x18\x16 \x01(\x0e\x32:.google.cloud.video.transcoder.v1.Job.OptimizationStrategyB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"h\n\x0fProcessingState\x12 \n\x1cPROCESSING_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\"m\n\x0eProcessingMode\x12\x1f\n\x1bPROCESSING_MODE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bPROCESSING_MODE_INTERACTIVE\x10\x01\x12\x19\n\x15PROCESSING_MODE_BATCH\x10\x02\"[\n\x14OptimizationStrategy\x12%\n!OPTIMIZATION_STRATEGY_UNSPECIFIED\x10\x00\x12\x0e\n\nAUTODETECT\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02:V\xea\x41S\n\x1dtranscoder.googleapis.com/Job\x12\x32projects/{project}/locations/{location}/jobs/{job}B\x0c\n\njob_config\"\xc3\x02\n\x0bJobTemplate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12;\n\x06\x63onfig\x18\x02 \x01(\x0b\x32+.google.cloud.video.transcoder.v1.JobConfig\x12I\n\x06labels\x18\x03 \x03(\x0b\x32\x39.google.cloud.video.transcoder.v1.JobTemplate.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:o\xea\x41l\n%transcoder.googleapis.com/JobTemplate\x12\x43projects/{project}/locations/{location}/jobTemplates/{job_template}\"\xe3\x05\n\tJobConfig\x12\x37\n\x06inputs\x18\x01 \x03(\x0b\x32\'.google.cloud.video.transcoder.v1.Input\x12=\n\tedit_list\x18\x02 \x03(\x0b\x32*.google.cloud.video.transcoder.v1.EditAtom\x12N\n\x12\x65lementary_streams\x18\x03 \x03(\x0b\x32\x32.google.cloud.video.transcoder.v1.ElementaryStream\x12@\n\x0bmux_streams\x18\x04 \x03(\x0b\x32+.google.cloud.video.transcoder.v1.MuxStream\x12=\n\tmanifests\x18\x05 \x03(\x0b\x32*.google.cloud.video.transcoder.v1.Manifest\x12\x38\n\x06output\x18\x06 \x01(\x0b\x32(.google.cloud.video.transcoder.v1.Output\x12<\n\tad_breaks\x18\x07 \x03(\x0b\x32).google.cloud.video.transcoder.v1.AdBreak\x12O\n\x12pubsub_destination\x18\x08 \x01(\x0b\x32\x33.google.cloud.video.transcoder.v1.PubsubDestination\x12\x44\n\rsprite_sheets\x18\t \x03(\x0b\x32-.google.cloud.video.transcoder.v1.SpriteSheet\x12;\n\x08overlays\x18\n \x03(\x0b\x32).google.cloud.video.transcoder.v1.Overlay\x12\x41\n\x0b\x65ncryptions\x18\x0b \x03(\x0b\x32,.google.cloud.video.transcoder.v1.Encryption\"v\n\x05Input\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12S\n\x14preprocessing_config\x18\x03 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.PreprocessingConfig\"\x15\n\x06Output\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\x91\x01\n\x08\x45\x64itAtom\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0e\n\x06inputs\x18\x02 \x03(\t\x12\x32\n\x0f\x65nd_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11start_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"?\n\x07\x41\x64\x42reak\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x87\x02\n\x10\x45lementaryStream\x12\x0b\n\x03key\x18\x04 \x01(\t\x12\x45\n\x0cvideo_stream\x18\x01 \x01(\x0b\x32-.google.cloud.video.transcoder.v1.VideoStreamH\x00\x12\x45\n\x0c\x61udio_stream\x18\x02 \x01(\x0b\x32-.google.cloud.video.transcoder.v1.AudioStreamH\x00\x12\x43\n\x0btext_stream\x18\x03 \x01(\x0b\x32,.google.cloud.video.transcoder.v1.TextStreamH\x00\x42\x13\n\x11\x65lementary_stream\"\xbe\x01\n\tMuxStream\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x11\n\tcontainer\x18\x03 \x01(\t\x12\x1a\n\x12\x65lementary_streams\x18\x04 \x03(\t\x12K\n\x10segment_settings\x18\x05 \x01(\x0b\x32\x31.google.cloud.video.transcoder.v1.SegmentSettings\x12\x15\n\rencryption_id\x18\x07 \x01(\t\"\x91\x04\n\x08Manifest\x12\x11\n\tfile_name\x18\x01 \x01(\t\x12J\n\x04type\x18\x02 \x01(\x0e\x32\x37.google.cloud.video.transcoder.v1.Manifest.ManifestTypeB\x03\xe0\x41\x02\x12\x18\n\x0bmux_streams\x18\x03 \x03(\tB\x03\xe0\x41\x02\x12\x45\n\x04\x64\x61sh\x18\x04 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.Manifest.DashConfigH\x00\x1a\xef\x01\n\nDashConfig\x12n\n\x18segment_reference_scheme\x18\x01 \x01(\x0e\x32L.google.cloud.video.transcoder.v1.Manifest.DashConfig.SegmentReferenceScheme\"q\n\x16SegmentReferenceScheme\x12(\n$SEGMENT_REFERENCE_SCHEME_UNSPECIFIED\x10\x00\x12\x10\n\x0cSEGMENT_LIST\x10\x01\x12\x1b\n\x17SEGMENT_TEMPLATE_NUMBER\x10\x02\"@\n\x0cManifestType\x12\x1d\n\x19MANIFEST_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03HLS\x10\x01\x12\x08\n\x04\x44\x41SH\x10\x02\x42\x11\n\x0fmanifest_config\"\"\n\x11PubsubDestination\x12\r\n\x05topic\x18\x01 \x01(\t\"\xfd\x02\n\x0bSpriteSheet\x12\x0e\n\x06\x66ormat\x18\x01 \x01(\t\x12\x18\n\x0b\x66ile_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13sprite_width_pixels\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12!\n\x14sprite_height_pixels\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0c\x63olumn_count\x18\x05 \x01(\x05\x12\x11\n\trow_count\x18\x06 \x01(\x05\x12\x34\n\x11start_time_offset\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\x0btotal_count\x18\t \x01(\x05H\x00\x12-\n\x08interval\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x0f\n\x07quality\x18\x0b \x01(\x05\x42\x15\n\x13\x65xtraction_strategy\"\x8b\t\n\x07Overlay\x12>\n\x05image\x18\x01 \x01(\x0b\x32/.google.cloud.video.transcoder.v1.Overlay.Image\x12G\n\nanimations\x18\x02 \x03(\x0b\x32\x33.google.cloud.video.transcoder.v1.Overlay.Animation\x1a,\n\x14NormalizedCoordinate\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x1a|\n\x05Image\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12R\n\nresolution\x18\x02 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\r\n\x05\x61lpha\x18\x03 \x01(\x01\x1a\x93\x01\n\x0f\x41nimationStatic\x12J\n\x02xy\x18\x01 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\x34\n\x11start_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x91\x02\n\rAnimationFade\x12J\n\tfade_type\x18\x01 \x01(\x0e\x32\x32.google.cloud.video.transcoder.v1.Overlay.FadeTypeB\x03\xe0\x41\x02\x12J\n\x02xy\x18\x02 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\x34\n\x11start_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x44\n\x0c\x41nimationEnd\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x98\x02\n\tAnimation\x12U\n\x10\x61nimation_static\x18\x01 \x01(\x0b\x32\x39.google.cloud.video.transcoder.v1.Overlay.AnimationStaticH\x00\x12Q\n\x0e\x61nimation_fade\x18\x02 \x01(\x0b\x32\x37.google.cloud.video.transcoder.v1.Overlay.AnimationFadeH\x00\x12O\n\ranimation_end\x18\x03 \x01(\x0b\x32\x36.google.cloud.video.transcoder.v1.Overlay.AnimationEndH\x00\x42\x10\n\x0e\x61nimation_type\"@\n\x08\x46\x61\x64\x65Type\x12\x19\n\x15\x46\x41\x44\x45_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x46\x41\x44\x45_IN\x10\x01\x12\x0c\n\x08\x46\x41\x44\x45_OUT\x10\x02\"\xf3\n\n\x13PreprocessingConfig\x12J\n\x05\x63olor\x18\x01 \x01(\x0b\x32;.google.cloud.video.transcoder.v1.PreprocessingConfig.Color\x12N\n\x07\x64\x65noise\x18\x02 \x01(\x0b\x32=.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise\x12N\n\x07\x64\x65\x62lock\x18\x03 \x01(\x0b\x32=.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock\x12J\n\x05\x61udio\x18\x04 \x01(\x0b\x32;.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio\x12H\n\x04\x63rop\x18\x05 \x01(\x0b\x32:.google.cloud.video.transcoder.v1.PreprocessingConfig.Crop\x12\x46\n\x03pad\x18\x06 \x01(\x0b\x32\x39.google.cloud.video.transcoder.v1.PreprocessingConfig.Pad\x12V\n\x0b\x64\x65interlace\x18\x07 \x01(\x0b\x32\x41.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace\x1a\x41\n\x05\x43olor\x12\x12\n\nsaturation\x18\x01 \x01(\x01\x12\x10\n\x08\x63ontrast\x18\x02 \x01(\x01\x12\x12\n\nbrightness\x18\x03 \x01(\x01\x1a)\n\x07\x44\x65noise\x12\x10\n\x08strength\x18\x01 \x01(\x01\x12\x0c\n\x04tune\x18\x02 \x01(\t\x1a,\n\x07\x44\x65\x62lock\x12\x10\n\x08strength\x18\x01 \x01(\x01\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x1a<\n\x05\x41udio\x12\x0c\n\x04lufs\x18\x01 \x01(\x01\x12\x12\n\nhigh_boost\x18\x02 \x01(\x08\x12\x11\n\tlow_boost\x18\x03 \x01(\x08\x1a\\\n\x04\x43rop\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\x1a[\n\x03Pad\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\x1a\xa4\x03\n\x0b\x44\x65interlace\x12^\n\x05yadif\x18\x01 \x01(\x0b\x32M.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.YadifConfigH\x00\x12^\n\x05\x62wdif\x18\x02 \x01(\x0b\x32M.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.BwdifConfigH\x00\x1ap\n\x0bYadifConfig\x12\x0c\n\x04mode\x18\x01 \x01(\t\x12#\n\x1b\x64isable_spatial_interlacing\x18\x02 \x01(\x08\x12\x0e\n\x06parity\x18\x03 \x01(\t\x12\x1e\n\x16\x64\x65interlace_all_frames\x18\x04 \x01(\x08\x1aK\n\x0b\x42wdifConfig\x12\x0c\n\x04mode\x18\x01 \x01(\t\x12\x0e\n\x06parity\x18\x02 \x01(\t\x12\x1e\n\x16\x64\x65interlace_all_frames\x18\x03 \x01(\x08\x42\x16\n\x14\x64\x65interlacing_filter\"\x95\x0c\n\x0bVideoStream\x12O\n\x04h264\x18\x01 \x01(\x0b\x32?.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettingsH\x00\x12O\n\x04h265\x18\x02 \x01(\x0b\x32?.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettingsH\x00\x12M\n\x03vp9\x18\x03 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettingsH\x00\x1a\xf9\x03\n\x11H264CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x16\n\x0e\x61llow_open_gop\x18\x08 \x01(\x08\x12\x19\n\x0fgop_frame_count\x18\t \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x17\n\x0f\x65nable_two_pass\x18\x0b \x01(\x08\x12\x15\n\rvbv_size_bits\x18\x0c \x01(\x05\x12\x19\n\x11vbv_fullness_bits\x18\r \x01(\x05\x12\x15\n\rentropy_coder\x18\x0e \x01(\t\x12\x11\n\tb_pyramid\x18\x0f \x01(\x08\x12\x15\n\rb_frame_count\x18\x10 \x01(\x05\x12\x13\n\x0b\x61q_strength\x18\x11 \x01(\x01\x12\x0f\n\x07profile\x18\x12 \x01(\t\x12\x0c\n\x04tune\x18\x13 \x01(\t\x12\x0e\n\x06preset\x18\x14 \x01(\tB\n\n\x08gop_mode\x1a\xe2\x03\n\x11H265CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x16\n\x0e\x61llow_open_gop\x18\x08 \x01(\x08\x12\x19\n\x0fgop_frame_count\x18\t \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x17\n\x0f\x65nable_two_pass\x18\x0b \x01(\x08\x12\x15\n\rvbv_size_bits\x18\x0c \x01(\x05\x12\x19\n\x11vbv_fullness_bits\x18\r \x01(\x05\x12\x11\n\tb_pyramid\x18\x0e \x01(\x08\x12\x15\n\rb_frame_count\x18\x0f \x01(\x05\x12\x13\n\x0b\x61q_strength\x18\x10 \x01(\x01\x12\x0f\n\x07profile\x18\x11 \x01(\t\x12\x0c\n\x04tune\x18\x12 \x01(\t\x12\x0e\n\x06preset\x18\x13 \x01(\tB\n\n\x08gop_mode\x1a\xa1\x02\n\x10Vp9CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x19\n\x0fgop_frame_count\x18\x08 \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x0f\n\x07profile\x18\n \x01(\tB\n\n\x08gop_modeB\x10\n\x0e\x63odec_settings\"\x9e\x03\n\x0b\x41udioStream\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x18\n\x0b\x62itrate_bps\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x15\n\rchannel_count\x18\x03 \x01(\x05\x12\x16\n\x0e\x63hannel_layout\x18\x04 \x03(\t\x12K\n\x07mapping\x18\x05 \x03(\x0b\x32:.google.cloud.video.transcoder.v1.AudioStream.AudioMapping\x12\x19\n\x11sample_rate_hertz\x18\x06 \x01(\x05\x12\x15\n\rlanguage_code\x18\x07 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x08 \x01(\t\x1a\xa1\x01\n\x0c\x41udioMapping\x12\x15\n\x08\x61tom_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tinput_key\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binput_track\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1a\n\rinput_channel\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0eoutput_channel\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0f\n\x07gain_db\x18\x06 \x01(\x01\"\xeb\x01\n\nTextStream\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12I\n\x07mapping\x18\x03 \x03(\x0b\x32\x38.google.cloud.video.transcoder.v1.TextStream.TextMapping\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x1aV\n\x0bTextMapping\x12\x15\n\x08\x61tom_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tinput_key\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binput_track\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\"h\n\x0fSegmentSettings\x12\x33\n\x10segment_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x13individual_segments\x18\x03 \x01(\x08\x42\x03\xe0\x41\x02\"\xef\x07\n\nEncryption\x12\x0f\n\x02id\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12P\n\x07\x61\x65s_128\x18\x03 \x01(\x0b\x32=.google.cloud.video.transcoder.v1.Encryption.Aes128EncryptionH\x00\x12V\n\nsample_aes\x18\x04 \x01(\x0b\x32@.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryptionH\x00\x12V\n\tmpeg_cenc\x18\x05 \x01(\x0b\x32\x41.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryptionH\x00\x12\x65\n\x19secret_manager_key_source\x18\x07 \x01(\x0b\x32@.google.cloud.video.transcoder.v1.Encryption.SecretManagerSourceH\x01\x12Q\n\x0b\x64rm_systems\x18\x08 \x01(\x0b\x32\x37.google.cloud.video.transcoder.v1.Encryption.DrmSystemsB\x03\xe0\x41\x02\x1a\x12\n\x10\x41\x65s128Encryption\x1a\x15\n\x13SampleAesEncryption\x1a+\n\x14MpegCommonEncryption\x12\x13\n\x06scheme\x18\x02 \x01(\tB\x03\xe0\x41\x02\x1a\x32\n\x13SecretManagerSource\x12\x1b\n\x0esecret_version\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\n\n\x08Widevine\x1a\n\n\x08\x46\x61irplay\x1a\x0b\n\tPlayready\x1a\n\n\x08\x43learkey\x1a\xb2\x02\n\nDrmSystems\x12G\n\x08widevine\x18\x01 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.Encryption.Widevine\x12G\n\x08\x66\x61irplay\x18\x02 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.Encryption.Fairplay\x12I\n\tplayready\x18\x03 \x01(\x0b\x32\x36.google.cloud.video.transcoder.v1.Encryption.Playready\x12G\n\x08\x63learkey\x18\x04 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.Encryption.ClearkeyB\x11\n\x0f\x65ncryption_modeB\x0f\n\rsecret_sourceB~\n$com.google.cloud.video.transcoder.v1B\x0eResourcesProtoP\x01ZDcloud.google.com/go/video/transcoder/apiv1/transcoderpb;transcoderpbb\x06proto3"
|
14
|
+
descriptor_data = "\n0google/cloud/video/transcoder/v1/resources.proto\x12 google.cloud.video.transcoder.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xb9\t\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\tinput_uri\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x17\n\noutput_uri\x18\x03 \x01(\tB\x03\xe0\x41\x04\x12\x1a\n\x0btemplate_id\x18\x04 \x01(\tB\x03\xe0\x41\x04H\x00\x12=\n\x06\x63onfig\x18\x05 \x01(\x0b\x32+.google.cloud.video.transcoder.v1.JobConfigH\x00\x12I\n\x05state\x18\x08 \x01(\x0e\x32\x35.google.cloud.video.transcoder.v1.Job.ProcessingStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12!\n\x19ttl_after_completion_days\x18\x0f \x01(\x05\x12\x41\n\x06labels\x18\x10 \x03(\x0b\x32\x31.google.cloud.video.transcoder.v1.Job.LabelsEntry\x12&\n\x05\x65rror\x18\x11 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x42\n\x04mode\x18\x14 \x01(\x0e\x32\x34.google.cloud.video.transcoder.v1.Job.ProcessingMode\x12\x1b\n\x13\x62\x61tch_mode_priority\x18\x15 \x01(\x05\x12U\n\x0coptimization\x18\x16 \x01(\x0e\x32:.google.cloud.video.transcoder.v1.Job.OptimizationStrategyB\x03\xe0\x41\x01\x12\x1e\n\x11\x66ill_content_gaps\x18\x19 \x01(\x08\x42\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"h\n\x0fProcessingState\x12 \n\x1cPROCESSING_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\"m\n\x0eProcessingMode\x12\x1f\n\x1bPROCESSING_MODE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bPROCESSING_MODE_INTERACTIVE\x10\x01\x12\x19\n\x15PROCESSING_MODE_BATCH\x10\x02\"[\n\x14OptimizationStrategy\x12%\n!OPTIMIZATION_STRATEGY_UNSPECIFIED\x10\x00\x12\x0e\n\nAUTODETECT\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02:V\xea\x41S\n\x1dtranscoder.googleapis.com/Job\x12\x32projects/{project}/locations/{location}/jobs/{job}B\x0c\n\njob_config\"\xc3\x02\n\x0bJobTemplate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12;\n\x06\x63onfig\x18\x02 \x01(\x0b\x32+.google.cloud.video.transcoder.v1.JobConfig\x12I\n\x06labels\x18\x03 \x03(\x0b\x32\x39.google.cloud.video.transcoder.v1.JobTemplate.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:o\xea\x41l\n%transcoder.googleapis.com/JobTemplate\x12\x43projects/{project}/locations/{location}/jobTemplates/{job_template}\"\xe3\x05\n\tJobConfig\x12\x37\n\x06inputs\x18\x01 \x03(\x0b\x32\'.google.cloud.video.transcoder.v1.Input\x12=\n\tedit_list\x18\x02 \x03(\x0b\x32*.google.cloud.video.transcoder.v1.EditAtom\x12N\n\x12\x65lementary_streams\x18\x03 \x03(\x0b\x32\x32.google.cloud.video.transcoder.v1.ElementaryStream\x12@\n\x0bmux_streams\x18\x04 \x03(\x0b\x32+.google.cloud.video.transcoder.v1.MuxStream\x12=\n\tmanifests\x18\x05 \x03(\x0b\x32*.google.cloud.video.transcoder.v1.Manifest\x12\x38\n\x06output\x18\x06 \x01(\x0b\x32(.google.cloud.video.transcoder.v1.Output\x12<\n\tad_breaks\x18\x07 \x03(\x0b\x32).google.cloud.video.transcoder.v1.AdBreak\x12O\n\x12pubsub_destination\x18\x08 \x01(\x0b\x32\x33.google.cloud.video.transcoder.v1.PubsubDestination\x12\x44\n\rsprite_sheets\x18\t \x03(\x0b\x32-.google.cloud.video.transcoder.v1.SpriteSheet\x12;\n\x08overlays\x18\n \x03(\x0b\x32).google.cloud.video.transcoder.v1.Overlay\x12\x41\n\x0b\x65ncryptions\x18\x0b \x03(\x0b\x32,.google.cloud.video.transcoder.v1.Encryption\"\xc2\x01\n\x05Input\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12S\n\x14preprocessing_config\x18\x03 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.PreprocessingConfig\x12J\n\nattributes\x18\x04 \x01(\x0b\x32\x31.google.cloud.video.transcoder.v1.InputAttributesB\x03\xe0\x41\x01\"\x15\n\x06Output\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\x91\x01\n\x08\x45\x64itAtom\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0e\n\x06inputs\x18\x02 \x03(\t\x12\x32\n\x0f\x65nd_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11start_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"?\n\x07\x41\x64\x42reak\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x87\x02\n\x10\x45lementaryStream\x12\x0b\n\x03key\x18\x04 \x01(\t\x12\x45\n\x0cvideo_stream\x18\x01 \x01(\x0b\x32-.google.cloud.video.transcoder.v1.VideoStreamH\x00\x12\x45\n\x0c\x61udio_stream\x18\x02 \x01(\x0b\x32-.google.cloud.video.transcoder.v1.AudioStreamH\x00\x12\x43\n\x0btext_stream\x18\x03 \x01(\x0b\x32,.google.cloud.video.transcoder.v1.TextStreamH\x00\x42\x13\n\x11\x65lementary_stream\"\xc5\x02\n\tMuxStream\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x11\n\tcontainer\x18\x03 \x01(\t\x12\x1a\n\x12\x65lementary_streams\x18\x04 \x03(\t\x12K\n\x10segment_settings\x18\x05 \x01(\x0b\x32\x31.google.cloud.video.transcoder.v1.SegmentSettings\x12\x15\n\rencryption_id\x18\x07 \x01(\t\x12K\n\x04\x66mp4\x18\x08 \x01(\x0b\x32\x36.google.cloud.video.transcoder.v1.MuxStream.Fmp4ConfigB\x03\xe0\x41\x01H\x00\x1a$\n\nFmp4Config\x12\x16\n\tcodec_tag\x18\x01 \x01(\tB\x03\xe0\x41\x01\x42\x12\n\x10\x63ontainer_config\"\x91\x04\n\x08Manifest\x12\x11\n\tfile_name\x18\x01 \x01(\t\x12J\n\x04type\x18\x02 \x01(\x0e\x32\x37.google.cloud.video.transcoder.v1.Manifest.ManifestTypeB\x03\xe0\x41\x02\x12\x18\n\x0bmux_streams\x18\x03 \x03(\tB\x03\xe0\x41\x02\x12\x45\n\x04\x64\x61sh\x18\x04 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.Manifest.DashConfigH\x00\x1a\xef\x01\n\nDashConfig\x12n\n\x18segment_reference_scheme\x18\x01 \x01(\x0e\x32L.google.cloud.video.transcoder.v1.Manifest.DashConfig.SegmentReferenceScheme\"q\n\x16SegmentReferenceScheme\x12(\n$SEGMENT_REFERENCE_SCHEME_UNSPECIFIED\x10\x00\x12\x10\n\x0cSEGMENT_LIST\x10\x01\x12\x1b\n\x17SEGMENT_TEMPLATE_NUMBER\x10\x02\"@\n\x0cManifestType\x12\x1d\n\x19MANIFEST_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03HLS\x10\x01\x12\x08\n\x04\x44\x41SH\x10\x02\x42\x11\n\x0fmanifest_config\"\"\n\x11PubsubDestination\x12\r\n\x05topic\x18\x01 \x01(\t\"\xfd\x02\n\x0bSpriteSheet\x12\x0e\n\x06\x66ormat\x18\x01 \x01(\t\x12\x18\n\x0b\x66ile_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13sprite_width_pixels\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12!\n\x14sprite_height_pixels\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0c\x63olumn_count\x18\x05 \x01(\x05\x12\x11\n\trow_count\x18\x06 \x01(\x05\x12\x34\n\x11start_time_offset\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\x0btotal_count\x18\t \x01(\x05H\x00\x12-\n\x08interval\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x0f\n\x07quality\x18\x0b \x01(\x05\x42\x15\n\x13\x65xtraction_strategy\"\x8b\t\n\x07Overlay\x12>\n\x05image\x18\x01 \x01(\x0b\x32/.google.cloud.video.transcoder.v1.Overlay.Image\x12G\n\nanimations\x18\x02 \x03(\x0b\x32\x33.google.cloud.video.transcoder.v1.Overlay.Animation\x1a,\n\x14NormalizedCoordinate\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x1a|\n\x05Image\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12R\n\nresolution\x18\x02 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\r\n\x05\x61lpha\x18\x03 \x01(\x01\x1a\x93\x01\n\x0f\x41nimationStatic\x12J\n\x02xy\x18\x01 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\x34\n\x11start_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x91\x02\n\rAnimationFade\x12J\n\tfade_type\x18\x01 \x01(\x0e\x32\x32.google.cloud.video.transcoder.v1.Overlay.FadeTypeB\x03\xe0\x41\x02\x12J\n\x02xy\x18\x02 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\x34\n\x11start_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x44\n\x0c\x41nimationEnd\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x98\x02\n\tAnimation\x12U\n\x10\x61nimation_static\x18\x01 \x01(\x0b\x32\x39.google.cloud.video.transcoder.v1.Overlay.AnimationStaticH\x00\x12Q\n\x0e\x61nimation_fade\x18\x02 \x01(\x0b\x32\x37.google.cloud.video.transcoder.v1.Overlay.AnimationFadeH\x00\x12O\n\ranimation_end\x18\x03 \x01(\x0b\x32\x36.google.cloud.video.transcoder.v1.Overlay.AnimationEndH\x00\x42\x10\n\x0e\x61nimation_type\"@\n\x08\x46\x61\x64\x65Type\x12\x19\n\x15\x46\x41\x44\x45_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x46\x41\x44\x45_IN\x10\x01\x12\x0c\n\x08\x46\x41\x44\x45_OUT\x10\x02\"\xf3\n\n\x13PreprocessingConfig\x12J\n\x05\x63olor\x18\x01 \x01(\x0b\x32;.google.cloud.video.transcoder.v1.PreprocessingConfig.Color\x12N\n\x07\x64\x65noise\x18\x02 \x01(\x0b\x32=.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise\x12N\n\x07\x64\x65\x62lock\x18\x03 \x01(\x0b\x32=.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock\x12J\n\x05\x61udio\x18\x04 \x01(\x0b\x32;.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio\x12H\n\x04\x63rop\x18\x05 \x01(\x0b\x32:.google.cloud.video.transcoder.v1.PreprocessingConfig.Crop\x12\x46\n\x03pad\x18\x06 \x01(\x0b\x32\x39.google.cloud.video.transcoder.v1.PreprocessingConfig.Pad\x12V\n\x0b\x64\x65interlace\x18\x07 \x01(\x0b\x32\x41.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace\x1a\x41\n\x05\x43olor\x12\x12\n\nsaturation\x18\x01 \x01(\x01\x12\x10\n\x08\x63ontrast\x18\x02 \x01(\x01\x12\x12\n\nbrightness\x18\x03 \x01(\x01\x1a)\n\x07\x44\x65noise\x12\x10\n\x08strength\x18\x01 \x01(\x01\x12\x0c\n\x04tune\x18\x02 \x01(\t\x1a,\n\x07\x44\x65\x62lock\x12\x10\n\x08strength\x18\x01 \x01(\x01\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x1a<\n\x05\x41udio\x12\x0c\n\x04lufs\x18\x01 \x01(\x01\x12\x12\n\nhigh_boost\x18\x02 \x01(\x08\x12\x11\n\tlow_boost\x18\x03 \x01(\x08\x1a\\\n\x04\x43rop\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\x1a[\n\x03Pad\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\x1a\xa4\x03\n\x0b\x44\x65interlace\x12^\n\x05yadif\x18\x01 \x01(\x0b\x32M.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.YadifConfigH\x00\x12^\n\x05\x62wdif\x18\x02 \x01(\x0b\x32M.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.BwdifConfigH\x00\x1ap\n\x0bYadifConfig\x12\x0c\n\x04mode\x18\x01 \x01(\t\x12#\n\x1b\x64isable_spatial_interlacing\x18\x02 \x01(\x08\x12\x0e\n\x06parity\x18\x03 \x01(\t\x12\x1e\n\x16\x64\x65interlace_all_frames\x18\x04 \x01(\x08\x1aK\n\x0b\x42wdifConfig\x12\x0c\n\x04mode\x18\x01 \x01(\t\x12\x0e\n\x06parity\x18\x02 \x01(\t\x12\x1e\n\x16\x64\x65interlace_all_frames\x18\x03 \x01(\x08\x42\x16\n\x14\x64\x65interlacing_filter\"\x93\x01\n\x0fTrackDefinition\x12\x18\n\x0binput_track\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\tlanguages\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x64\x65tect_languages\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1f\n\x12\x64\x65tected_languages\x18\x04 \x03(\tB\x03\xe0\x41\x03\x42\x0e\n\x0c_input_track\"d\n\x0fInputAttributes\x12Q\n\x11track_definitions\x18\x01 \x03(\x0b\x32\x31.google.cloud.video.transcoder.v1.TrackDefinitionB\x03\xe0\x41\x01\"\x96\x16\n\x0bVideoStream\x12O\n\x04h264\x18\x01 \x01(\x0b\x32?.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettingsH\x00\x12O\n\x04h265\x18\x02 \x01(\x0b\x32?.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettingsH\x00\x12M\n\x03vp9\x18\x03 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettingsH\x00\x1a\x14\n\x12H264ColorFormatSDR\x1a\x14\n\x12H264ColorFormatHLG\x1a\xad\x06\n\x11H264CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12v\n\x1e\x66rame_rate_conversion_strategy\x18\x17 \x01(\x0e\x32I.google.cloud.video.transcoder.v1.VideoStream.FrameRateConversionStrategyB\x03\xe0\x41\x01\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x16\n\x0e\x61llow_open_gop\x18\x08 \x01(\x08\x12\x19\n\x0fgop_frame_count\x18\t \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x17\n\x0f\x65nable_two_pass\x18\x0b \x01(\x08\x12\x15\n\rvbv_size_bits\x18\x0c \x01(\x05\x12\x19\n\x11vbv_fullness_bits\x18\r \x01(\x05\x12\x15\n\rentropy_coder\x18\x0e \x01(\t\x12\x11\n\tb_pyramid\x18\x0f \x01(\x08\x12\x15\n\rb_frame_count\x18\x10 \x01(\x05\x12\x13\n\x0b\x61q_strength\x18\x11 \x01(\x01\x12\x0f\n\x07profile\x18\x12 \x01(\t\x12\x0c\n\x04tune\x18\x13 \x01(\t\x12\x0e\n\x06preset\x18\x14 \x01(\t\x12T\n\x03sdr\x18\x15 \x01(\x0b\x32@.google.cloud.video.transcoder.v1.VideoStream.H264ColorFormatSDRB\x03\xe0\x41\x01H\x01\x12T\n\x03hlg\x18\x16 \x01(\x0b\x32@.google.cloud.video.transcoder.v1.VideoStream.H264ColorFormatHLGB\x03\xe0\x41\x01H\x01\x42\n\n\x08gop_modeB\x0e\n\x0c\x63olor_format\x1a\x14\n\x12H265ColorFormatSDR\x1a\x14\n\x12H265ColorFormatHLG\x1a\x16\n\x14H265ColorFormatHDR10\x1a\xf0\x06\n\x11H265CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12v\n\x1e\x66rame_rate_conversion_strategy\x18\x17 \x01(\x0e\x32I.google.cloud.video.transcoder.v1.VideoStream.FrameRateConversionStrategyB\x03\xe0\x41\x01\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x16\n\x0e\x61llow_open_gop\x18\x08 \x01(\x08\x12\x19\n\x0fgop_frame_count\x18\t \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x17\n\x0f\x65nable_two_pass\x18\x0b \x01(\x08\x12\x15\n\rvbv_size_bits\x18\x0c \x01(\x05\x12\x19\n\x11vbv_fullness_bits\x18\r \x01(\x05\x12\x11\n\tb_pyramid\x18\x0e \x01(\x08\x12\x15\n\rb_frame_count\x18\x0f \x01(\x05\x12\x13\n\x0b\x61q_strength\x18\x10 \x01(\x01\x12\x0f\n\x07profile\x18\x11 \x01(\t\x12\x0c\n\x04tune\x18\x12 \x01(\t\x12\x0e\n\x06preset\x18\x13 \x01(\t\x12T\n\x03sdr\x18\x14 \x01(\x0b\x32@.google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatSDRB\x03\xe0\x41\x01H\x01\x12T\n\x03hlg\x18\x15 \x01(\x0b\x32@.google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatHLGB\x03\xe0\x41\x01H\x01\x12X\n\x05hdr10\x18\x16 \x01(\x0b\x32\x42.google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatHDR10B\x03\xe0\x41\x01H\x01\x42\n\n\x08gop_modeB\x0e\n\x0c\x63olor_format\x1a\x13\n\x11Vp9ColorFormatSDR\x1a\x13\n\x11Vp9ColorFormatHLG\x1a\xd3\x04\n\x10Vp9CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12v\n\x1e\x66rame_rate_conversion_strategy\x18\r \x01(\x0e\x32I.google.cloud.video.transcoder.v1.VideoStream.FrameRateConversionStrategyB\x03\xe0\x41\x01\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x19\n\x0fgop_frame_count\x18\x08 \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x0f\n\x07profile\x18\n \x01(\t\x12S\n\x03sdr\x18\x0b \x01(\x0b\x32?.google.cloud.video.transcoder.v1.VideoStream.Vp9ColorFormatSDRB\x03\xe0\x41\x01H\x01\x12S\n\x03hlg\x18\x0c \x01(\x0b\x32?.google.cloud.video.transcoder.v1.VideoStream.Vp9ColorFormatHLGB\x03\xe0\x41\x01H\x01\x42\n\n\x08gop_modeB\x0e\n\x0c\x63olor_format\"q\n\x1b\x46rameRateConversionStrategy\x12.\n*FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED\x10\x00\x12\x0e\n\nDOWNSAMPLE\x10\x01\x12\x12\n\x0e\x44ROP_DUPLICATE\x10\x02\x42\x10\n\x0e\x63odec_settings\"\x9e\x03\n\x0b\x41udioStream\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x18\n\x0b\x62itrate_bps\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x15\n\rchannel_count\x18\x03 \x01(\x05\x12\x16\n\x0e\x63hannel_layout\x18\x04 \x03(\t\x12K\n\x07mapping\x18\x05 \x03(\x0b\x32:.google.cloud.video.transcoder.v1.AudioStream.AudioMapping\x12\x19\n\x11sample_rate_hertz\x18\x06 \x01(\x05\x12\x15\n\rlanguage_code\x18\x07 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x08 \x01(\t\x1a\xa1\x01\n\x0c\x41udioMapping\x12\x15\n\x08\x61tom_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tinput_key\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binput_track\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1a\n\rinput_channel\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0eoutput_channel\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0f\n\x07gain_db\x18\x06 \x01(\x01\"\xeb\x01\n\nTextStream\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12I\n\x07mapping\x18\x03 \x03(\x0b\x32\x38.google.cloud.video.transcoder.v1.TextStream.TextMapping\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x1aV\n\x0bTextMapping\x12\x15\n\x08\x61tom_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tinput_key\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binput_track\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\"h\n\x0fSegmentSettings\x12\x33\n\x10segment_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x13individual_segments\x18\x03 \x01(\x08\x42\x03\xe0\x41\x02\"\xef\x07\n\nEncryption\x12\x0f\n\x02id\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12P\n\x07\x61\x65s_128\x18\x03 \x01(\x0b\x32=.google.cloud.video.transcoder.v1.Encryption.Aes128EncryptionH\x00\x12V\n\nsample_aes\x18\x04 \x01(\x0b\x32@.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryptionH\x00\x12V\n\tmpeg_cenc\x18\x05 \x01(\x0b\x32\x41.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryptionH\x00\x12\x65\n\x19secret_manager_key_source\x18\x07 \x01(\x0b\x32@.google.cloud.video.transcoder.v1.Encryption.SecretManagerSourceH\x01\x12Q\n\x0b\x64rm_systems\x18\x08 \x01(\x0b\x32\x37.google.cloud.video.transcoder.v1.Encryption.DrmSystemsB\x03\xe0\x41\x02\x1a\x12\n\x10\x41\x65s128Encryption\x1a\x15\n\x13SampleAesEncryption\x1a+\n\x14MpegCommonEncryption\x12\x13\n\x06scheme\x18\x02 \x01(\tB\x03\xe0\x41\x02\x1a\x32\n\x13SecretManagerSource\x12\x1b\n\x0esecret_version\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\n\n\x08Widevine\x1a\n\n\x08\x46\x61irplay\x1a\x0b\n\tPlayready\x1a\n\n\x08\x43learkey\x1a\xb2\x02\n\nDrmSystems\x12G\n\x08widevine\x18\x01 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.Encryption.Widevine\x12G\n\x08\x66\x61irplay\x18\x02 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.Encryption.Fairplay\x12I\n\tplayready\x18\x03 \x01(\x0b\x32\x36.google.cloud.video.transcoder.v1.Encryption.Playready\x12G\n\x08\x63learkey\x18\x04 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.Encryption.ClearkeyB\x11\n\x0f\x65ncryption_modeB\x0f\n\rsecret_sourceB~\n$com.google.cloud.video.transcoder.v1B\x0eResourcesProtoP\x01ZDcloud.google.com/go/video/transcoder/apiv1/transcoderpb;transcoderpbb\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -57,6 +57,7 @@ module Google
|
|
57
57
|
AdBreak = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.AdBreak").msgclass
|
58
58
|
ElementaryStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.ElementaryStream").msgclass
|
59
59
|
MuxStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.MuxStream").msgclass
|
60
|
+
MuxStream::Fmp4Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.MuxStream.Fmp4Config").msgclass
|
60
61
|
Manifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Manifest").msgclass
|
61
62
|
Manifest::DashConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Manifest.DashConfig").msgclass
|
62
63
|
Manifest::DashConfig::SegmentReferenceScheme = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Manifest.DashConfig.SegmentReferenceScheme").enummodule
|
@@ -81,10 +82,20 @@ module Google
|
|
81
82
|
PreprocessingConfig::Deinterlace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace").msgclass
|
82
83
|
PreprocessingConfig::Deinterlace::YadifConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.YadifConfig").msgclass
|
83
84
|
PreprocessingConfig::Deinterlace::BwdifConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.BwdifConfig").msgclass
|
85
|
+
TrackDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.TrackDefinition").msgclass
|
86
|
+
InputAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.InputAttributes").msgclass
|
84
87
|
VideoStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream").msgclass
|
88
|
+
VideoStream::H264ColorFormatSDR = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H264ColorFormatSDR").msgclass
|
89
|
+
VideoStream::H264ColorFormatHLG = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H264ColorFormatHLG").msgclass
|
85
90
|
VideoStream::H264CodecSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings").msgclass
|
91
|
+
VideoStream::H265ColorFormatSDR = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatSDR").msgclass
|
92
|
+
VideoStream::H265ColorFormatHLG = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatHLG").msgclass
|
93
|
+
VideoStream::H265ColorFormatHDR10 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatHDR10").msgclass
|
86
94
|
VideoStream::H265CodecSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings").msgclass
|
95
|
+
VideoStream::Vp9ColorFormatSDR = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.Vp9ColorFormatSDR").msgclass
|
96
|
+
VideoStream::Vp9ColorFormatHLG = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.Vp9ColorFormatHLG").msgclass
|
87
97
|
VideoStream::Vp9CodecSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings").msgclass
|
98
|
+
VideoStream::FrameRateConversionStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.FrameRateConversionStrategy").enummodule
|
88
99
|
AudioStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.AudioStream").msgclass
|
89
100
|
AudioStream::AudioMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.AudioStream.AudioMapping").msgclass
|
90
101
|
TextStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.TextStream").msgclass
|
@@ -76,24 +76,31 @@ module Google
|
|
76
76
|
end
|
77
77
|
default_config = Client::Configuration.new parent_config
|
78
78
|
|
79
|
-
default_config.timeout = 60.0
|
80
|
-
default_config.retry_policy = {
|
81
|
-
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
82
|
-
}
|
83
|
-
|
84
79
|
default_config.rpcs.create_job.timeout = 60.0
|
85
80
|
|
86
81
|
default_config.rpcs.list_jobs.timeout = 60.0
|
82
|
+
default_config.rpcs.list_jobs.retry_policy = {
|
83
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
84
|
+
}
|
87
85
|
|
88
86
|
default_config.rpcs.get_job.timeout = 60.0
|
87
|
+
default_config.rpcs.get_job.retry_policy = {
|
88
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
89
|
+
}
|
89
90
|
|
90
91
|
default_config.rpcs.delete_job.timeout = 60.0
|
91
92
|
|
92
93
|
default_config.rpcs.create_job_template.timeout = 60.0
|
93
94
|
|
94
95
|
default_config.rpcs.list_job_templates.timeout = 60.0
|
96
|
+
default_config.rpcs.list_job_templates.retry_policy = {
|
97
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
98
|
+
}
|
95
99
|
|
96
100
|
default_config.rpcs.get_job_template.timeout = 60.0
|
101
|
+
default_config.rpcs.get_job_template.retry_policy = {
|
102
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
103
|
+
}
|
97
104
|
|
98
105
|
default_config.rpcs.delete_job_template.timeout = 60.0
|
99
106
|
|
@@ -78,24 +78,31 @@ module Google
|
|
78
78
|
end
|
79
79
|
default_config = Client::Configuration.new parent_config
|
80
80
|
|
81
|
-
default_config.timeout = 60.0
|
82
|
-
default_config.retry_policy = {
|
83
|
-
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
84
|
-
}
|
85
|
-
|
86
81
|
default_config.rpcs.create_job.timeout = 60.0
|
87
82
|
|
88
83
|
default_config.rpcs.list_jobs.timeout = 60.0
|
84
|
+
default_config.rpcs.list_jobs.retry_policy = {
|
85
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
86
|
+
}
|
89
87
|
|
90
88
|
default_config.rpcs.get_job.timeout = 60.0
|
89
|
+
default_config.rpcs.get_job.retry_policy = {
|
90
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
91
|
+
}
|
91
92
|
|
92
93
|
default_config.rpcs.delete_job.timeout = 60.0
|
93
94
|
|
94
95
|
default_config.rpcs.create_job_template.timeout = 60.0
|
95
96
|
|
96
97
|
default_config.rpcs.list_job_templates.timeout = 60.0
|
98
|
+
default_config.rpcs.list_job_templates.retry_policy = {
|
99
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
100
|
+
}
|
97
101
|
|
98
102
|
default_config.rpcs.get_job_template.timeout = 60.0
|
103
|
+
default_config.rpcs.get_job_template.retry_policy = {
|
104
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
105
|
+
}
|
99
106
|
|
100
107
|
default_config.rpcs.delete_job_template.timeout = 60.0
|
101
108
|
|
@@ -79,7 +79,9 @@ module Google
|
|
79
79
|
# @!attribute [r] error
|
80
80
|
# @return [::Google::Rpc::Status]
|
81
81
|
# Output only. An error object that describes the reason for the failure.
|
82
|
-
# This property is always present when
|
82
|
+
# This property is always present when
|
83
|
+
# {::Google::Cloud::Video::Transcoder::V1::Job::ProcessingState ProcessingState} is
|
84
|
+
# `FAILED`.
|
83
85
|
# @!attribute [rw] mode
|
84
86
|
# @return [::Google::Cloud::Video::Transcoder::V1::Job::ProcessingMode]
|
85
87
|
# The processing mode of the job.
|
@@ -94,6 +96,10 @@ module Google
|
|
94
96
|
# @return [::Google::Cloud::Video::Transcoder::V1::Job::OptimizationStrategy]
|
95
97
|
# Optional. The optimization strategy of the job. The default is
|
96
98
|
# `AUTODETECT`.
|
99
|
+
# @!attribute [rw] fill_content_gaps
|
100
|
+
# @return [::Boolean]
|
101
|
+
# Optional. Insert silence and duplicate frames when timestamp gaps are
|
102
|
+
# detected in a given stream.
|
97
103
|
class Job
|
98
104
|
include ::Google::Protobuf::MessageExts
|
99
105
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -121,8 +127,8 @@ module Google
|
|
121
127
|
# The job has been completed successfully.
|
122
128
|
SUCCEEDED = 3
|
123
129
|
|
124
|
-
# The job has failed. For additional information, see
|
125
|
-
#
|
130
|
+
# The job has failed. For additional information, see
|
131
|
+
# [Troubleshooting](https://cloud.google.com/transcoder/docs/troubleshooting).
|
126
132
|
FAILED = 4
|
127
133
|
end
|
128
134
|
|
@@ -187,7 +193,7 @@ module Google
|
|
187
193
|
# List of input assets stored in Cloud Storage.
|
188
194
|
# @!attribute [rw] edit_list
|
189
195
|
# @return [::Array<::Google::Cloud::Video::Transcoder::V1::EditAtom>]
|
190
|
-
# List of
|
196
|
+
# List of edit atoms. Defines the ultimate timeline of the resulting
|
191
197
|
# file or manifest.
|
192
198
|
# @!attribute [rw] elementary_streams
|
193
199
|
# @return [::Array<::Google::Cloud::Video::Transcoder::V1::ElementaryStream>]
|
@@ -235,12 +241,16 @@ module Google
|
|
235
241
|
# @return [::String]
|
236
242
|
# URI of the media. Input files must be at least 5 seconds in duration and
|
237
243
|
# stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
|
238
|
-
# If empty, the value is populated from
|
244
|
+
# If empty, the value is populated from
|
245
|
+
# {::Google::Cloud::Video::Transcoder::V1::Job#input_uri Job.input_uri}. See
|
239
246
|
# [Supported input and output
|
240
247
|
# formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
|
241
248
|
# @!attribute [rw] preprocessing_config
|
242
249
|
# @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig]
|
243
250
|
# Preprocessing configurations.
|
251
|
+
# @!attribute [rw] attributes
|
252
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::InputAttributes]
|
253
|
+
# Optional. Input Attributes.
|
244
254
|
class Input
|
245
255
|
include ::Google::Protobuf::MessageExts
|
246
256
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -249,8 +259,9 @@ module Google
|
|
249
259
|
# Location of output file(s) in a Cloud Storage bucket.
|
250
260
|
# @!attribute [rw] uri
|
251
261
|
# @return [::String]
|
252
|
-
# URI for the output file(s). For example, `gs://my-bucket/outputs/`.
|
253
|
-
# If empty, the value is populated
|
262
|
+
# URI for the output file(s). For example, `gs://my-bucket/outputs/`. Must be
|
263
|
+
# a directory and not a top-level bucket. If empty, the value is populated
|
264
|
+
# from {::Google::Cloud::Video::Transcoder::V1::Job#output_uri Job.output_uri}. See
|
254
265
|
# [Supported input and output
|
255
266
|
# formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
|
256
267
|
class Output
|
@@ -265,8 +276,9 @@ module Google
|
|
265
276
|
# mapping.
|
266
277
|
# @!attribute [rw] inputs
|
267
278
|
# @return [::Array<::String>]
|
268
|
-
# List of
|
269
|
-
#
|
279
|
+
# List of {::Google::Cloud::Video::Transcoder::V1::Input#key Input.key} values
|
280
|
+
# identifying files that should be used in this atom. The listed `inputs`
|
281
|
+
# must have the same timeline.
|
270
282
|
# @!attribute [rw] end_time_offset
|
271
283
|
# @return [::Google::Protobuf::Duration]
|
272
284
|
# End time in seconds for the atom, relative to the input file timeline.
|
@@ -320,12 +332,13 @@ module Google
|
|
320
332
|
# Multiplexing settings for output stream.
|
321
333
|
# @!attribute [rw] key
|
322
334
|
# @return [::String]
|
323
|
-
# A unique key for this multiplexed stream.
|
324
|
-
# named `MuxStream.key` with the `.m3u8` extension suffix.
|
335
|
+
# A unique key for this multiplexed stream.
|
325
336
|
# @!attribute [rw] file_name
|
326
337
|
# @return [::String]
|
327
|
-
# The name of the generated file. The default is
|
328
|
-
#
|
338
|
+
# The name of the generated file. The default is
|
339
|
+
# {::Google::Cloud::Video::Transcoder::V1::MuxStream#key MuxStream.key} with the
|
340
|
+
# extension suffix corresponding to the
|
341
|
+
# {::Google::Cloud::Video::Transcoder::V1::MuxStream#container MuxStream.container}.
|
329
342
|
#
|
330
343
|
# Individual segments also have an incremental 10-digit zero-padded suffix
|
331
344
|
# starting from 0 before the extension, such as `mux_stream0000000123.ts`.
|
@@ -333,11 +346,16 @@ module Google
|
|
333
346
|
# @return [::String]
|
334
347
|
# The container format. The default is `mp4`
|
335
348
|
#
|
336
|
-
# Supported
|
349
|
+
# Supported streaming formats:
|
337
350
|
#
|
338
351
|
# - `ts`
|
339
352
|
# - `fmp4`- the corresponding file extension is `.m4s`
|
353
|
+
#
|
354
|
+
# Supported standalone file formats:
|
355
|
+
#
|
340
356
|
# - `mp4`
|
357
|
+
# - `mp3`
|
358
|
+
# - `ogg`
|
341
359
|
# - `vtt`
|
342
360
|
#
|
343
361
|
# See also:
|
@@ -345,7 +363,9 @@ module Google
|
|
345
363
|
# formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)
|
346
364
|
# @!attribute [rw] elementary_streams
|
347
365
|
# @return [::Array<::String>]
|
348
|
-
# List of
|
366
|
+
# List of
|
367
|
+
# {::Google::Cloud::Video::Transcoder::V1::ElementaryStream#key ElementaryStream.key}
|
368
|
+
# values multiplexed in this stream.
|
349
369
|
# @!attribute [rw] segment_settings
|
350
370
|
# @return [::Google::Cloud::Video::Transcoder::V1::SegmentSettings]
|
351
371
|
# Segment settings for `ts`, `fmp4` and `vtt`.
|
@@ -353,27 +373,48 @@ module Google
|
|
353
373
|
# @return [::String]
|
354
374
|
# Identifier of the encryption configuration to use. If omitted, output will
|
355
375
|
# be unencrypted.
|
376
|
+
# @!attribute [rw] fmp4
|
377
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::MuxStream::Fmp4Config]
|
378
|
+
# Optional. `fmp4` container configuration.
|
356
379
|
class MuxStream
|
357
380
|
include ::Google::Protobuf::MessageExts
|
358
381
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
382
|
+
|
383
|
+
# `fmp4` container configuration.
|
384
|
+
# @!attribute [rw] codec_tag
|
385
|
+
# @return [::String]
|
386
|
+
# Optional. Specify the codec tag string that will be used in the media
|
387
|
+
# bitstream. When not specified, the codec appropriate value is used.
|
388
|
+
#
|
389
|
+
# Supported H265 codec tags:
|
390
|
+
#
|
391
|
+
# - `hvc1` (default)
|
392
|
+
# - `hev1`
|
393
|
+
class Fmp4Config
|
394
|
+
include ::Google::Protobuf::MessageExts
|
395
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
396
|
+
end
|
359
397
|
end
|
360
398
|
|
361
399
|
# Manifest configuration.
|
362
400
|
# @!attribute [rw] file_name
|
363
401
|
# @return [::String]
|
364
402
|
# The name of the generated file. The default is `manifest` with the
|
365
|
-
# extension suffix corresponding to the
|
403
|
+
# extension suffix corresponding to the
|
404
|
+
# {::Google::Cloud::Video::Transcoder::V1::Manifest#type Manifest.type}.
|
366
405
|
# @!attribute [rw] type
|
367
406
|
# @return [::Google::Cloud::Video::Transcoder::V1::Manifest::ManifestType]
|
368
407
|
# Required. Type of the manifest.
|
369
408
|
# @!attribute [rw] mux_streams
|
370
409
|
# @return [::Array<::String>]
|
371
|
-
# Required. List of user
|
372
|
-
#
|
410
|
+
# Required. List of user supplied
|
411
|
+
# {::Google::Cloud::Video::Transcoder::V1::MuxStream#key MuxStream.key} values that
|
412
|
+
# should appear in this manifest.
|
373
413
|
#
|
374
|
-
# When
|
375
|
-
#
|
376
|
-
#
|
414
|
+
# When {::Google::Cloud::Video::Transcoder::V1::Manifest#type Manifest.type} is
|
415
|
+
# `HLS`, a media manifest with name
|
416
|
+
# {::Google::Cloud::Video::Transcoder::V1::MuxStream#key MuxStream.key} and `.m3u8`
|
417
|
+
# extension is generated for each element in this list.
|
377
418
|
# @!attribute [rw] dash
|
378
419
|
# @return [::Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig]
|
379
420
|
# `DASH` manifest configuration.
|
@@ -395,10 +436,31 @@ module Google
|
|
395
436
|
# The segment reference scheme is not specified.
|
396
437
|
SEGMENT_REFERENCE_SCHEME_UNSPECIFIED = 0
|
397
438
|
|
398
|
-
#
|
439
|
+
# Explicitly lists the URLs of media files for each segment. For example,
|
440
|
+
# if
|
441
|
+
# {::Google::Cloud::Video::Transcoder::V1::SegmentSettings#individual_segments SegmentSettings.individual_segments}
|
442
|
+
# is `true`, then the manifest contains fields similar to the following:
|
443
|
+
# ```xml
|
444
|
+
# <Initialization sourceURL="my-hd-stream-init.m4s"/>
|
445
|
+
# <SegmentList presentationTimeOffset="0" duration="1000"
|
446
|
+
# timescale="10000">
|
447
|
+
# <SegmentURL media="hd-stream0000000000.m4s"/>
|
448
|
+
# <SegmentURL media="hd-stream0000000001.m4s"/>
|
449
|
+
# ...
|
450
|
+
# ```
|
399
451
|
SEGMENT_LIST = 1
|
400
452
|
|
401
|
-
#
|
453
|
+
# {::Google::Cloud::Video::Transcoder::V1::SegmentSettings#individual_segments SegmentSettings.individual_segments}
|
454
|
+
# must be set to `true` to use this segment reference scheme. Uses the
|
455
|
+
# DASH specification
|
456
|
+
# `<SegmentTemplate>` tag to determine the URLs of media files for each
|
457
|
+
# segment. For example:
|
458
|
+
# ```xml
|
459
|
+
# <SegmentTemplate presentationTimeOffset="0" timescale="10000"
|
460
|
+
# initialization="my-hd-stream-init.m4s"
|
461
|
+
# media="hd-stream$Number%010d$.m4s" startNumber="0">
|
462
|
+
# ...
|
463
|
+
# ```
|
402
464
|
SEGMENT_TEMPLATE_NUMBER = 2
|
403
465
|
end
|
404
466
|
end
|
@@ -516,7 +578,7 @@ module Google
|
|
516
578
|
# Image overlay.
|
517
579
|
# @!attribute [rw] animations
|
518
580
|
# @return [::Array<::Google::Cloud::Video::Transcoder::V1::Overlay::Animation>]
|
519
|
-
# List of
|
581
|
+
# List of animations. The list should be chronological, without any time
|
520
582
|
# overlap.
|
521
583
|
class Overlay
|
522
584
|
include ::Google::Protobuf::MessageExts
|
@@ -593,7 +655,7 @@ module Google
|
|
593
655
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
594
656
|
end
|
595
657
|
|
596
|
-
# End previous overlay animation from the video. Without AnimationEnd
|
658
|
+
# End previous overlay animation from the video. Without `AnimationEnd`, the
|
597
659
|
# overlay object will keep the state of previous animation until the end of
|
598
660
|
# the video.
|
599
661
|
# @!attribute [rw] start_time_offset
|
@@ -865,6 +927,41 @@ module Google
|
|
865
927
|
end
|
866
928
|
end
|
867
929
|
|
930
|
+
# Track definition for the input asset.
|
931
|
+
# @!attribute [rw] input_track
|
932
|
+
# @return [::Integer]
|
933
|
+
# The input track.
|
934
|
+
# @!attribute [rw] languages
|
935
|
+
# @return [::Array<::String>]
|
936
|
+
# Optional. A list of languages spoken in the input asset, represented by a
|
937
|
+
# BCP 47 language code, such as "en-US" or "sr-Latn". For more information,
|
938
|
+
# see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
939
|
+
# @!attribute [rw] detect_languages
|
940
|
+
# @return [::Boolean]
|
941
|
+
# Optional. Whether to automatically detect the languages present in the
|
942
|
+
# track. If true, the system will attempt to identify all the languages
|
943
|
+
# present in the track and populate the languages field.
|
944
|
+
# @!attribute [r] detected_languages
|
945
|
+
# @return [::Array<::String>]
|
946
|
+
# Output only. A list of languages detected in the input asset, represented
|
947
|
+
# by a BCP 47 language code, such as "en-US" or "sr-Latn". For more
|
948
|
+
# information, see
|
949
|
+
# https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
950
|
+
# This field is only populated if the detect_languages field is set to true.
|
951
|
+
class TrackDefinition
|
952
|
+
include ::Google::Protobuf::MessageExts
|
953
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
954
|
+
end
|
955
|
+
|
956
|
+
# Input attributes that provide additional information about the input asset.
|
957
|
+
# @!attribute [rw] track_definitions
|
958
|
+
# @return [::Array<::Google::Cloud::Video::Transcoder::V1::TrackDefinition>]
|
959
|
+
# Optional. A list of track definitions for the input asset.
|
960
|
+
class InputAttributes
|
961
|
+
include ::Google::Protobuf::MessageExts
|
962
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
963
|
+
end
|
964
|
+
|
868
965
|
# Video stream resource.
|
869
966
|
# @!attribute [rw] h264
|
870
967
|
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::H264CodecSettings]
|
@@ -885,6 +982,18 @@ module Google
|
|
885
982
|
include ::Google::Protobuf::MessageExts
|
886
983
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
887
984
|
|
985
|
+
# Convert the input video to a Standard Dynamic Range (SDR) video.
|
986
|
+
class H264ColorFormatSDR
|
987
|
+
include ::Google::Protobuf::MessageExts
|
988
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
989
|
+
end
|
990
|
+
|
991
|
+
# Convert the input video to a Hybrid Log Gamma (HLG) video.
|
992
|
+
class H264ColorFormatHLG
|
993
|
+
include ::Google::Protobuf::MessageExts
|
994
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
995
|
+
end
|
996
|
+
|
888
997
|
# H264 codec settings.
|
889
998
|
# @!attribute [rw] width_pixels
|
890
999
|
# @return [::Integer]
|
@@ -909,12 +1018,11 @@ module Google
|
|
909
1018
|
# @!attribute [rw] frame_rate
|
910
1019
|
# @return [::Float]
|
911
1020
|
# Required. The target video frame rate in frames per second (FPS). Must be
|
912
|
-
# less than or equal to 120.
|
913
|
-
#
|
914
|
-
#
|
915
|
-
#
|
916
|
-
#
|
917
|
-
# more information.
|
1021
|
+
# less than or equal to 120.
|
1022
|
+
# @!attribute [rw] frame_rate_conversion_strategy
|
1023
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::FrameRateConversionStrategy]
|
1024
|
+
# Optional. Frame rate conversion strategy for desired frame rate. The
|
1025
|
+
# default is `DOWNSAMPLE`.
|
918
1026
|
# @!attribute [rw] bitrate_bps
|
919
1027
|
# @return [::Integer]
|
920
1028
|
# Required. The video bitrate in bits per second. The minimum value is
|
@@ -936,7 +1044,7 @@ module Google
|
|
936
1044
|
# - `yuv444p12` 12-bit HDR pixel format
|
937
1045
|
# @!attribute [rw] rate_control_mode
|
938
1046
|
# @return [::String]
|
939
|
-
# Specify the
|
1047
|
+
# Specify the mode. The default is `vbr`.
|
940
1048
|
#
|
941
1049
|
# Supported rate control modes:
|
942
1050
|
#
|
@@ -968,16 +1076,18 @@ module Google
|
|
968
1076
|
# @!attribute [rw] enable_two_pass
|
969
1077
|
# @return [::Boolean]
|
970
1078
|
# Use two-pass encoding strategy to achieve better video quality.
|
971
|
-
#
|
1079
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H264CodecSettings#rate_control_mode H264CodecSettings.rate_control_mode}
|
1080
|
+
# must be `vbr`. The default is `false`.
|
972
1081
|
# @!attribute [rw] vbv_size_bits
|
973
1082
|
# @return [::Integer]
|
974
1083
|
# Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
|
975
|
-
# greater than zero. The default is equal to
|
1084
|
+
# greater than zero. The default is equal to
|
1085
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H264CodecSettings#bitrate_bps H264CodecSettings.bitrate_bps}.
|
976
1086
|
# @!attribute [rw] vbv_fullness_bits
|
977
1087
|
# @return [::Integer]
|
978
1088
|
# Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
|
979
1089
|
# Must be greater than zero. The default is equal to 90% of
|
980
|
-
#
|
1090
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H264CodecSettings#vbv_size_bits H264CodecSettings.vbv_size_bits}.
|
981
1091
|
# @!attribute [rw] entropy_coder
|
982
1092
|
# @return [::String]
|
983
1093
|
# The entropy coder to use. The default is `cabac`.
|
@@ -993,8 +1103,9 @@ module Google
|
|
993
1103
|
# @!attribute [rw] b_frame_count
|
994
1104
|
# @return [::Integer]
|
995
1105
|
# The number of consecutive B-frames. Must be greater than or equal to
|
996
|
-
# zero. Must be less than
|
997
|
-
#
|
1106
|
+
# zero. Must be less than
|
1107
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H264CodecSettings#gop_frame_count H264CodecSettings.gop_frame_count}
|
1108
|
+
# if set. The default is 0.
|
998
1109
|
# @!attribute [rw] aq_strength
|
999
1110
|
# @return [::Float]
|
1000
1111
|
# Specify the intensity of the adaptive quantizer (AQ). Must be between 0
|
@@ -1029,11 +1140,39 @@ module Google
|
|
1029
1140
|
# Note that certain values for this field may cause the
|
1030
1141
|
# transcoder to override other fields you set in the `H264CodecSettings`
|
1031
1142
|
# message.
|
1143
|
+
# @!attribute [rw] sdr
|
1144
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::H264ColorFormatSDR]
|
1145
|
+
# Optional. SDR color format setting for H264.
|
1146
|
+
#
|
1147
|
+
# Note: The following fields are mutually exclusive: `sdr`, `hlg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1148
|
+
# @!attribute [rw] hlg
|
1149
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::H264ColorFormatHLG]
|
1150
|
+
# Optional. HLG color format setting for H264.
|
1151
|
+
#
|
1152
|
+
# Note: The following fields are mutually exclusive: `hlg`, `sdr`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1032
1153
|
class H264CodecSettings
|
1033
1154
|
include ::Google::Protobuf::MessageExts
|
1034
1155
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1035
1156
|
end
|
1036
1157
|
|
1158
|
+
# Convert the input video to a Standard Dynamic Range (SDR) video.
|
1159
|
+
class H265ColorFormatSDR
|
1160
|
+
include ::Google::Protobuf::MessageExts
|
1161
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
# Convert the input video to a Hybrid Log Gamma (HLG) video.
|
1165
|
+
class H265ColorFormatHLG
|
1166
|
+
include ::Google::Protobuf::MessageExts
|
1167
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1168
|
+
end
|
1169
|
+
|
1170
|
+
# Convert the input video to a High Dynamic Range 10 (HDR10) video.
|
1171
|
+
class H265ColorFormatHDR10
|
1172
|
+
include ::Google::Protobuf::MessageExts
|
1173
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1174
|
+
end
|
1175
|
+
|
1037
1176
|
# H265 codec settings.
|
1038
1177
|
# @!attribute [rw] width_pixels
|
1039
1178
|
# @return [::Integer]
|
@@ -1058,12 +1197,11 @@ module Google
|
|
1058
1197
|
# @!attribute [rw] frame_rate
|
1059
1198
|
# @return [::Float]
|
1060
1199
|
# Required. The target video frame rate in frames per second (FPS). Must be
|
1061
|
-
# less than or equal to 120.
|
1062
|
-
#
|
1063
|
-
#
|
1064
|
-
#
|
1065
|
-
#
|
1066
|
-
# more information.
|
1200
|
+
# less than or equal to 120.
|
1201
|
+
# @!attribute [rw] frame_rate_conversion_strategy
|
1202
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::FrameRateConversionStrategy]
|
1203
|
+
# Optional. Frame rate conversion strategy for desired frame rate. The
|
1204
|
+
# default is `DOWNSAMPLE`.
|
1067
1205
|
# @!attribute [rw] bitrate_bps
|
1068
1206
|
# @return [::Integer]
|
1069
1207
|
# Required. The video bitrate in bits per second. The minimum value is
|
@@ -1085,7 +1223,7 @@ module Google
|
|
1085
1223
|
# - `yuv444p12` 12-bit HDR pixel format
|
1086
1224
|
# @!attribute [rw] rate_control_mode
|
1087
1225
|
# @return [::String]
|
1088
|
-
# Specify the
|
1226
|
+
# Specify the mode. The default is `vbr`.
|
1089
1227
|
#
|
1090
1228
|
# Supported rate control modes:
|
1091
1229
|
#
|
@@ -1117,7 +1255,8 @@ module Google
|
|
1117
1255
|
# @!attribute [rw] enable_two_pass
|
1118
1256
|
# @return [::Boolean]
|
1119
1257
|
# Use two-pass encoding strategy to achieve better video quality.
|
1120
|
-
#
|
1258
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H265CodecSettings#rate_control_mode H265CodecSettings.rate_control_mode}
|
1259
|
+
# must be `vbr`. The default is `false`.
|
1121
1260
|
# @!attribute [rw] vbv_size_bits
|
1122
1261
|
# @return [::Integer]
|
1123
1262
|
# Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
|
@@ -1126,7 +1265,7 @@ module Google
|
|
1126
1265
|
# @return [::Integer]
|
1127
1266
|
# Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
|
1128
1267
|
# Must be greater than zero. The default is equal to 90% of
|
1129
|
-
#
|
1268
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H265CodecSettings#vbv_size_bits H265CodecSettings.vbv_size_bits}.
|
1130
1269
|
# @!attribute [rw] b_pyramid
|
1131
1270
|
# @return [::Boolean]
|
1132
1271
|
# Allow B-pyramid for reference frame selection. This may not be supported
|
@@ -1134,8 +1273,9 @@ module Google
|
|
1134
1273
|
# @!attribute [rw] b_frame_count
|
1135
1274
|
# @return [::Integer]
|
1136
1275
|
# The number of consecutive B-frames. Must be greater than or equal to
|
1137
|
-
# zero. Must be less than
|
1138
|
-
#
|
1276
|
+
# zero. Must be less than
|
1277
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H265CodecSettings#gop_frame_count H265CodecSettings.gop_frame_count}
|
1278
|
+
# if set. The default is 0.
|
1139
1279
|
# @!attribute [rw] aq_strength
|
1140
1280
|
# @return [::Float]
|
1141
1281
|
# Specify the intensity of the adaptive quantizer (AQ). Must be between 0
|
@@ -1185,11 +1325,38 @@ module Google
|
|
1185
1325
|
# Note that certain values for this field may cause the
|
1186
1326
|
# transcoder to override other fields you set in the `H265CodecSettings`
|
1187
1327
|
# message.
|
1328
|
+
# @!attribute [rw] sdr
|
1329
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::H265ColorFormatSDR]
|
1330
|
+
# Optional. SDR color format setting for H265.
|
1331
|
+
#
|
1332
|
+
# Note: The following fields are mutually exclusive: `sdr`, `hlg`, `hdr10`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1333
|
+
# @!attribute [rw] hlg
|
1334
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::H265ColorFormatHLG]
|
1335
|
+
# Optional. HLG color format setting for H265.
|
1336
|
+
#
|
1337
|
+
# Note: The following fields are mutually exclusive: `hlg`, `sdr`, `hdr10`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1338
|
+
# @!attribute [rw] hdr10
|
1339
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::H265ColorFormatHDR10]
|
1340
|
+
# Optional. HDR10 color format setting for H265.
|
1341
|
+
#
|
1342
|
+
# Note: The following fields are mutually exclusive: `hdr10`, `sdr`, `hlg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1188
1343
|
class H265CodecSettings
|
1189
1344
|
include ::Google::Protobuf::MessageExts
|
1190
1345
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1191
1346
|
end
|
1192
1347
|
|
1348
|
+
# Convert the input video to a Standard Dynamic Range (SDR) video.
|
1349
|
+
class Vp9ColorFormatSDR
|
1350
|
+
include ::Google::Protobuf::MessageExts
|
1351
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
# Convert the input video to a Hybrid Log Gamma (HLG) video.
|
1355
|
+
class Vp9ColorFormatHLG
|
1356
|
+
include ::Google::Protobuf::MessageExts
|
1357
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1358
|
+
end
|
1359
|
+
|
1193
1360
|
# VP9 codec settings.
|
1194
1361
|
# @!attribute [rw] width_pixels
|
1195
1362
|
# @return [::Integer]
|
@@ -1214,12 +1381,11 @@ module Google
|
|
1214
1381
|
# @!attribute [rw] frame_rate
|
1215
1382
|
# @return [::Float]
|
1216
1383
|
# Required. The target video frame rate in frames per second (FPS). Must be
|
1217
|
-
# less than or equal to 120.
|
1218
|
-
#
|
1219
|
-
#
|
1220
|
-
#
|
1221
|
-
#
|
1222
|
-
# more information.
|
1384
|
+
# less than or equal to 120.
|
1385
|
+
# @!attribute [rw] frame_rate_conversion_strategy
|
1386
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::FrameRateConversionStrategy]
|
1387
|
+
# Optional. Frame rate conversion strategy for desired frame rate. The
|
1388
|
+
# default is `DOWNSAMPLE`.
|
1223
1389
|
# @!attribute [rw] bitrate_bps
|
1224
1390
|
# @return [::Integer]
|
1225
1391
|
# Required. The video bitrate in bits per second. The minimum value is
|
@@ -1241,7 +1407,7 @@ module Google
|
|
1241
1407
|
# - `yuv444p12` 12-bit HDR pixel format
|
1242
1408
|
# @!attribute [rw] rate_control_mode
|
1243
1409
|
# @return [::String]
|
1244
|
-
# Specify the
|
1410
|
+
# Specify the mode. The default is `vbr`.
|
1245
1411
|
#
|
1246
1412
|
# Supported rate control modes:
|
1247
1413
|
#
|
@@ -1282,10 +1448,39 @@ module Google
|
|
1282
1448
|
# Note that certain values for this field may cause the
|
1283
1449
|
# transcoder to override other fields you set in the `Vp9CodecSettings`
|
1284
1450
|
# message.
|
1451
|
+
# @!attribute [rw] sdr
|
1452
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::Vp9ColorFormatSDR]
|
1453
|
+
# Optional. SDR color format setting for VP9.
|
1454
|
+
#
|
1455
|
+
# Note: The following fields are mutually exclusive: `sdr`, `hlg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1456
|
+
# @!attribute [rw] hlg
|
1457
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::Vp9ColorFormatHLG]
|
1458
|
+
# Optional. HLG color format setting for VP9.
|
1459
|
+
#
|
1460
|
+
# Note: The following fields are mutually exclusive: `hlg`, `sdr`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1285
1461
|
class Vp9CodecSettings
|
1286
1462
|
include ::Google::Protobuf::MessageExts
|
1287
1463
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1288
1464
|
end
|
1465
|
+
|
1466
|
+
# The conversion strategy for desired frame rate.
|
1467
|
+
module FrameRateConversionStrategy
|
1468
|
+
# Unspecified frame rate conversion strategy.
|
1469
|
+
FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED = 0
|
1470
|
+
|
1471
|
+
# Selectively retain frames to reduce the output frame rate.
|
1472
|
+
# Every _n_ th frame is kept, where `n = ceil(input frame rate / target
|
1473
|
+
# frame rate)`. When _n_ = 1 (that is, the target frame rate is greater
|
1474
|
+
# than the input frame rate), the output frame rate matches the input frame
|
1475
|
+
# rate. When _n_ > 1, frames are dropped and the output frame rate is
|
1476
|
+
# equal to `(input frame rate / n)`. For more information, see
|
1477
|
+
# [Calculate frame
|
1478
|
+
# rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate).
|
1479
|
+
DOWNSAMPLE = 1
|
1480
|
+
|
1481
|
+
# Drop or duplicate frames to match the specified frame rate.
|
1482
|
+
DROP_DUPLICATE = 2
|
1483
|
+
end
|
1289
1484
|
end
|
1290
1485
|
|
1291
1486
|
# Audio stream resource.
|
@@ -1301,6 +1496,7 @@ module Google
|
|
1301
1496
|
# - `mp3`
|
1302
1497
|
# - `ac3`
|
1303
1498
|
# - `eac3`
|
1499
|
+
# - `vorbis`
|
1304
1500
|
# @!attribute [rw] bitrate_bps
|
1305
1501
|
# @return [::Integer]
|
1306
1502
|
# Required. Audio bitrate in bits per second. Must be between 1 and
|
@@ -1324,7 +1520,10 @@ module Google
|
|
1324
1520
|
# - `lfe` - Low frequency
|
1325
1521
|
# @!attribute [rw] mapping
|
1326
1522
|
# @return [::Array<::Google::Cloud::Video::Transcoder::V1::AudioStream::AudioMapping>]
|
1327
|
-
# The mapping for the
|
1523
|
+
# The mapping for the
|
1524
|
+
# {::Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list JobConfig.edit_list}
|
1525
|
+
# atoms with audio
|
1526
|
+
# {::Google::Cloud::Video::Transcoder::V1::EditAtom#inputs EditAtom.inputs}.
|
1328
1527
|
# @!attribute [rw] sample_rate_hertz
|
1329
1528
|
# @return [::Integer]
|
1330
1529
|
# The audio sample rate in Hertz. The default is 48000 Hertz.
|
@@ -1342,14 +1541,20 @@ module Google
|
|
1342
1541
|
include ::Google::Protobuf::MessageExts
|
1343
1542
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1344
1543
|
|
1345
|
-
# The mapping for the
|
1544
|
+
# The mapping for the
|
1545
|
+
# {::Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list JobConfig.edit_list}
|
1546
|
+
# atoms with audio
|
1547
|
+
# {::Google::Cloud::Video::Transcoder::V1::EditAtom#inputs EditAtom.inputs}.
|
1346
1548
|
# @!attribute [rw] atom_key
|
1347
1549
|
# @return [::String]
|
1348
|
-
# Required. The
|
1349
|
-
#
|
1550
|
+
# Required. The
|
1551
|
+
# {::Google::Cloud::Video::Transcoder::V1::EditAtom#key EditAtom.key} that
|
1552
|
+
# references the atom with audio inputs in the
|
1553
|
+
# {::Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list JobConfig.edit_list}.
|
1350
1554
|
# @!attribute [rw] input_key
|
1351
1555
|
# @return [::String]
|
1352
|
-
# Required. The
|
1556
|
+
# Required. The {::Google::Cloud::Video::Transcoder::V1::Input#key Input.key}
|
1557
|
+
# that identifies the input file.
|
1353
1558
|
# @!attribute [rw] input_track
|
1354
1559
|
# @return [::Integer]
|
1355
1560
|
# Required. The zero-based index of the track in the input file.
|
@@ -1389,7 +1594,10 @@ module Google
|
|
1389
1594
|
# supported in MP4 files.
|
1390
1595
|
# @!attribute [rw] mapping
|
1391
1596
|
# @return [::Array<::Google::Cloud::Video::Transcoder::V1::TextStream::TextMapping>]
|
1392
|
-
# The mapping for the
|
1597
|
+
# The mapping for the
|
1598
|
+
# {::Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list JobConfig.edit_list}
|
1599
|
+
# atoms with text
|
1600
|
+
# {::Google::Cloud::Video::Transcoder::V1::EditAtom#inputs EditAtom.inputs}.
|
1393
1601
|
# @!attribute [rw] display_name
|
1394
1602
|
# @return [::String]
|
1395
1603
|
# The name for this particular text stream that
|
@@ -1398,14 +1606,20 @@ module Google
|
|
1398
1606
|
include ::Google::Protobuf::MessageExts
|
1399
1607
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1400
1608
|
|
1401
|
-
# The mapping for the
|
1609
|
+
# The mapping for the
|
1610
|
+
# {::Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list JobConfig.edit_list}
|
1611
|
+
# atoms with text
|
1612
|
+
# {::Google::Cloud::Video::Transcoder::V1::EditAtom#inputs EditAtom.inputs}.
|
1402
1613
|
# @!attribute [rw] atom_key
|
1403
1614
|
# @return [::String]
|
1404
|
-
# Required. The
|
1405
|
-
#
|
1615
|
+
# Required. The
|
1616
|
+
# {::Google::Cloud::Video::Transcoder::V1::EditAtom#key EditAtom.key} that
|
1617
|
+
# references atom with text inputs in the
|
1618
|
+
# {::Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list JobConfig.edit_list}.
|
1406
1619
|
# @!attribute [rw] input_key
|
1407
1620
|
# @return [::String]
|
1408
|
-
# Required. The
|
1621
|
+
# Required. The {::Google::Cloud::Video::Transcoder::V1::Input#key Input.key}
|
1622
|
+
# that identifies the input file.
|
1409
1623
|
# @!attribute [rw] input_track
|
1410
1624
|
# @return [::Integer]
|
1411
1625
|
# Required. The zero-based index of the track in the input file.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-video-transcoder-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -15,14 +15,14 @@ dependencies:
|
|
15
15
|
requirements:
|
16
16
|
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: '1.
|
18
|
+
version: '1.1'
|
19
19
|
type: :runtime
|
20
20
|
prerelease: false
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
22
22
|
requirements:
|
23
23
|
- - "~>"
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: '1.
|
25
|
+
version: '1.1'
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: google-cloud-errors
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
|
-
rubygems_version: 3.6.
|
98
|
+
rubygems_version: 3.6.9
|
99
99
|
specification_version: 4
|
100
100
|
summary: This API converts video files into formats suitable for consumer distribution.
|
101
101
|
For more information, see the Transcoder API overview.
|