google-cloud-video-transcoder-v1 2.1.0 → 2.2.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 +10 -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 +241 -65
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6063da29dbd445e8dd397fd1ff5156623631e91e729230e8af5f9bad2521a764
|
4
|
+
data.tar.gz: 888e8235ee158c5f2dd73758241b60bc84062cddb2c036acf7d5217f1b063c41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e15a1cac894eeef5cf94b842ef5c233d274db0349a6f60f6255b6cb318e8859ee8fc75a00e4e13f2f5a5ebcabf10bbae28c6bd41d39fd6b59df5a541ae13bbd9
|
7
|
+
data.tar.gz: b2df88d5be977ef4969276013cb83390a64bb69b514a29b7e0ec444cb4ea23e16abb4d07f259a94dec14be47c37d4dc781b92e0a417f1adbbbbc641c21a959fa
|
@@ -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\"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\"\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\"\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
|
@@ -82,9 +83,17 @@ module Google
|
|
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
|
84
85
|
VideoStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream").msgclass
|
86
|
+
VideoStream::H264ColorFormatSDR = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H264ColorFormatSDR").msgclass
|
87
|
+
VideoStream::H264ColorFormatHLG = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H264ColorFormatHLG").msgclass
|
85
88
|
VideoStream::H264CodecSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings").msgclass
|
89
|
+
VideoStream::H265ColorFormatSDR = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatSDR").msgclass
|
90
|
+
VideoStream::H265ColorFormatHLG = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatHLG").msgclass
|
91
|
+
VideoStream::H265ColorFormatHDR10 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatHDR10").msgclass
|
86
92
|
VideoStream::H265CodecSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings").msgclass
|
93
|
+
VideoStream::Vp9ColorFormatSDR = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.Vp9ColorFormatSDR").msgclass
|
94
|
+
VideoStream::Vp9ColorFormatHLG = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.Vp9ColorFormatHLG").msgclass
|
87
95
|
VideoStream::Vp9CodecSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings").msgclass
|
96
|
+
VideoStream::FrameRateConversionStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.FrameRateConversionStrategy").enummodule
|
88
97
|
AudioStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.AudioStream").msgclass
|
89
98
|
AudioStream::AudioMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.AudioStream.AudioMapping").msgclass
|
90
99
|
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,7 +241,8 @@ 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
|
@@ -249,8 +256,9 @@ module Google
|
|
249
256
|
# Location of output file(s) in a Cloud Storage bucket.
|
250
257
|
# @!attribute [rw] uri
|
251
258
|
# @return [::String]
|
252
|
-
# URI for the output file(s). For example, `gs://my-bucket/outputs/`.
|
253
|
-
# If empty, the value is populated
|
259
|
+
# URI for the output file(s). For example, `gs://my-bucket/outputs/`. Must be
|
260
|
+
# a directory and not a top-level bucket. If empty, the value is populated
|
261
|
+
# from {::Google::Cloud::Video::Transcoder::V1::Job#output_uri Job.output_uri}. See
|
254
262
|
# [Supported input and output
|
255
263
|
# formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
|
256
264
|
class Output
|
@@ -265,8 +273,9 @@ module Google
|
|
265
273
|
# mapping.
|
266
274
|
# @!attribute [rw] inputs
|
267
275
|
# @return [::Array<::String>]
|
268
|
-
# List of
|
269
|
-
#
|
276
|
+
# List of {::Google::Cloud::Video::Transcoder::V1::Input#key Input.key} values
|
277
|
+
# identifying files that should be used in this atom. The listed `inputs`
|
278
|
+
# must have the same timeline.
|
270
279
|
# @!attribute [rw] end_time_offset
|
271
280
|
# @return [::Google::Protobuf::Duration]
|
272
281
|
# End time in seconds for the atom, relative to the input file timeline.
|
@@ -320,12 +329,13 @@ module Google
|
|
320
329
|
# Multiplexing settings for output stream.
|
321
330
|
# @!attribute [rw] key
|
322
331
|
# @return [::String]
|
323
|
-
# A unique key for this multiplexed stream.
|
324
|
-
# named `MuxStream.key` with the `.m3u8` extension suffix.
|
332
|
+
# A unique key for this multiplexed stream.
|
325
333
|
# @!attribute [rw] file_name
|
326
334
|
# @return [::String]
|
327
|
-
# The name of the generated file. The default is
|
328
|
-
#
|
335
|
+
# The name of the generated file. The default is
|
336
|
+
# {::Google::Cloud::Video::Transcoder::V1::MuxStream#key MuxStream.key} with the
|
337
|
+
# extension suffix corresponding to the
|
338
|
+
# {::Google::Cloud::Video::Transcoder::V1::MuxStream#container MuxStream.container}.
|
329
339
|
#
|
330
340
|
# Individual segments also have an incremental 10-digit zero-padded suffix
|
331
341
|
# starting from 0 before the extension, such as `mux_stream0000000123.ts`.
|
@@ -333,11 +343,16 @@ module Google
|
|
333
343
|
# @return [::String]
|
334
344
|
# The container format. The default is `mp4`
|
335
345
|
#
|
336
|
-
# Supported
|
346
|
+
# Supported streaming formats:
|
337
347
|
#
|
338
348
|
# - `ts`
|
339
349
|
# - `fmp4`- the corresponding file extension is `.m4s`
|
350
|
+
#
|
351
|
+
# Supported standalone file formats:
|
352
|
+
#
|
340
353
|
# - `mp4`
|
354
|
+
# - `mp3`
|
355
|
+
# - `ogg`
|
341
356
|
# - `vtt`
|
342
357
|
#
|
343
358
|
# See also:
|
@@ -345,7 +360,9 @@ module Google
|
|
345
360
|
# formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)
|
346
361
|
# @!attribute [rw] elementary_streams
|
347
362
|
# @return [::Array<::String>]
|
348
|
-
# List of
|
363
|
+
# List of
|
364
|
+
# {::Google::Cloud::Video::Transcoder::V1::ElementaryStream#key ElementaryStream.key}
|
365
|
+
# values multiplexed in this stream.
|
349
366
|
# @!attribute [rw] segment_settings
|
350
367
|
# @return [::Google::Cloud::Video::Transcoder::V1::SegmentSettings]
|
351
368
|
# Segment settings for `ts`, `fmp4` and `vtt`.
|
@@ -353,27 +370,48 @@ module Google
|
|
353
370
|
# @return [::String]
|
354
371
|
# Identifier of the encryption configuration to use. If omitted, output will
|
355
372
|
# be unencrypted.
|
373
|
+
# @!attribute [rw] fmp4
|
374
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::MuxStream::Fmp4Config]
|
375
|
+
# Optional. `fmp4` container configuration.
|
356
376
|
class MuxStream
|
357
377
|
include ::Google::Protobuf::MessageExts
|
358
378
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
379
|
+
|
380
|
+
# `fmp4` container configuration.
|
381
|
+
# @!attribute [rw] codec_tag
|
382
|
+
# @return [::String]
|
383
|
+
# Optional. Specify the codec tag string that will be used in the media
|
384
|
+
# bitstream. When not specified, the codec appropriate value is used.
|
385
|
+
#
|
386
|
+
# Supported H265 codec tags:
|
387
|
+
#
|
388
|
+
# - `hvc1` (default)
|
389
|
+
# - `hev1`
|
390
|
+
class Fmp4Config
|
391
|
+
include ::Google::Protobuf::MessageExts
|
392
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
393
|
+
end
|
359
394
|
end
|
360
395
|
|
361
396
|
# Manifest configuration.
|
362
397
|
# @!attribute [rw] file_name
|
363
398
|
# @return [::String]
|
364
399
|
# The name of the generated file. The default is `manifest` with the
|
365
|
-
# extension suffix corresponding to the
|
400
|
+
# extension suffix corresponding to the
|
401
|
+
# {::Google::Cloud::Video::Transcoder::V1::Manifest#type Manifest.type}.
|
366
402
|
# @!attribute [rw] type
|
367
403
|
# @return [::Google::Cloud::Video::Transcoder::V1::Manifest::ManifestType]
|
368
404
|
# Required. Type of the manifest.
|
369
405
|
# @!attribute [rw] mux_streams
|
370
406
|
# @return [::Array<::String>]
|
371
|
-
# Required. List of user
|
372
|
-
#
|
407
|
+
# Required. List of user supplied
|
408
|
+
# {::Google::Cloud::Video::Transcoder::V1::MuxStream#key MuxStream.key} values that
|
409
|
+
# should appear in this manifest.
|
373
410
|
#
|
374
|
-
# When
|
375
|
-
#
|
376
|
-
#
|
411
|
+
# When {::Google::Cloud::Video::Transcoder::V1::Manifest#type Manifest.type} is
|
412
|
+
# `HLS`, a media manifest with name
|
413
|
+
# {::Google::Cloud::Video::Transcoder::V1::MuxStream#key MuxStream.key} and `.m3u8`
|
414
|
+
# extension is generated for each element in this list.
|
377
415
|
# @!attribute [rw] dash
|
378
416
|
# @return [::Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig]
|
379
417
|
# `DASH` manifest configuration.
|
@@ -395,10 +433,31 @@ module Google
|
|
395
433
|
# The segment reference scheme is not specified.
|
396
434
|
SEGMENT_REFERENCE_SCHEME_UNSPECIFIED = 0
|
397
435
|
|
398
|
-
#
|
436
|
+
# Explicitly lists the URLs of media files for each segment. For example,
|
437
|
+
# if
|
438
|
+
# {::Google::Cloud::Video::Transcoder::V1::SegmentSettings#individual_segments SegmentSettings.individual_segments}
|
439
|
+
# is `true`, then the manifest contains fields similar to the following:
|
440
|
+
# ```xml
|
441
|
+
# <Initialization sourceURL="my-hd-stream-init.m4s"/>
|
442
|
+
# <SegmentList presentationTimeOffset="0" duration="1000"
|
443
|
+
# timescale="10000">
|
444
|
+
# <SegmentURL media="hd-stream0000000000.m4s"/>
|
445
|
+
# <SegmentURL media="hd-stream0000000001.m4s"/>
|
446
|
+
# ...
|
447
|
+
# ```
|
399
448
|
SEGMENT_LIST = 1
|
400
449
|
|
401
|
-
#
|
450
|
+
# {::Google::Cloud::Video::Transcoder::V1::SegmentSettings#individual_segments SegmentSettings.individual_segments}
|
451
|
+
# must be set to `true` to use this segment reference scheme. Uses the
|
452
|
+
# DASH specification
|
453
|
+
# `<SegmentTemplate>` tag to determine the URLs of media files for each
|
454
|
+
# segment. For example:
|
455
|
+
# ```xml
|
456
|
+
# <SegmentTemplate presentationTimeOffset="0" timescale="10000"
|
457
|
+
# initialization="my-hd-stream-init.m4s"
|
458
|
+
# media="hd-stream$Number%010d$.m4s" startNumber="0">
|
459
|
+
# ...
|
460
|
+
# ```
|
402
461
|
SEGMENT_TEMPLATE_NUMBER = 2
|
403
462
|
end
|
404
463
|
end
|
@@ -516,7 +575,7 @@ module Google
|
|
516
575
|
# Image overlay.
|
517
576
|
# @!attribute [rw] animations
|
518
577
|
# @return [::Array<::Google::Cloud::Video::Transcoder::V1::Overlay::Animation>]
|
519
|
-
# List of
|
578
|
+
# List of animations. The list should be chronological, without any time
|
520
579
|
# overlap.
|
521
580
|
class Overlay
|
522
581
|
include ::Google::Protobuf::MessageExts
|
@@ -593,7 +652,7 @@ module Google
|
|
593
652
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
594
653
|
end
|
595
654
|
|
596
|
-
# End previous overlay animation from the video. Without AnimationEnd
|
655
|
+
# End previous overlay animation from the video. Without `AnimationEnd`, the
|
597
656
|
# overlay object will keep the state of previous animation until the end of
|
598
657
|
# the video.
|
599
658
|
# @!attribute [rw] start_time_offset
|
@@ -885,6 +944,18 @@ module Google
|
|
885
944
|
include ::Google::Protobuf::MessageExts
|
886
945
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
887
946
|
|
947
|
+
# Convert the input video to a Standard Dynamic Range (SDR) video.
|
948
|
+
class H264ColorFormatSDR
|
949
|
+
include ::Google::Protobuf::MessageExts
|
950
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
951
|
+
end
|
952
|
+
|
953
|
+
# Convert the input video to a Hybrid Log Gamma (HLG) video.
|
954
|
+
class H264ColorFormatHLG
|
955
|
+
include ::Google::Protobuf::MessageExts
|
956
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
957
|
+
end
|
958
|
+
|
888
959
|
# H264 codec settings.
|
889
960
|
# @!attribute [rw] width_pixels
|
890
961
|
# @return [::Integer]
|
@@ -909,12 +980,11 @@ module Google
|
|
909
980
|
# @!attribute [rw] frame_rate
|
910
981
|
# @return [::Float]
|
911
982
|
# 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.
|
983
|
+
# less than or equal to 120.
|
984
|
+
# @!attribute [rw] frame_rate_conversion_strategy
|
985
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::FrameRateConversionStrategy]
|
986
|
+
# Optional. Frame rate conversion strategy for desired frame rate. The
|
987
|
+
# default is `DOWNSAMPLE`.
|
918
988
|
# @!attribute [rw] bitrate_bps
|
919
989
|
# @return [::Integer]
|
920
990
|
# Required. The video bitrate in bits per second. The minimum value is
|
@@ -936,7 +1006,7 @@ module Google
|
|
936
1006
|
# - `yuv444p12` 12-bit HDR pixel format
|
937
1007
|
# @!attribute [rw] rate_control_mode
|
938
1008
|
# @return [::String]
|
939
|
-
# Specify the
|
1009
|
+
# Specify the mode. The default is `vbr`.
|
940
1010
|
#
|
941
1011
|
# Supported rate control modes:
|
942
1012
|
#
|
@@ -968,16 +1038,18 @@ module Google
|
|
968
1038
|
# @!attribute [rw] enable_two_pass
|
969
1039
|
# @return [::Boolean]
|
970
1040
|
# Use two-pass encoding strategy to achieve better video quality.
|
971
|
-
#
|
1041
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H264CodecSettings#rate_control_mode H264CodecSettings.rate_control_mode}
|
1042
|
+
# must be `vbr`. The default is `false`.
|
972
1043
|
# @!attribute [rw] vbv_size_bits
|
973
1044
|
# @return [::Integer]
|
974
1045
|
# Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
|
975
|
-
# greater than zero. The default is equal to
|
1046
|
+
# greater than zero. The default is equal to
|
1047
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H264CodecSettings#bitrate_bps H264CodecSettings.bitrate_bps}.
|
976
1048
|
# @!attribute [rw] vbv_fullness_bits
|
977
1049
|
# @return [::Integer]
|
978
1050
|
# Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
|
979
1051
|
# Must be greater than zero. The default is equal to 90% of
|
980
|
-
#
|
1052
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H264CodecSettings#vbv_size_bits H264CodecSettings.vbv_size_bits}.
|
981
1053
|
# @!attribute [rw] entropy_coder
|
982
1054
|
# @return [::String]
|
983
1055
|
# The entropy coder to use. The default is `cabac`.
|
@@ -993,8 +1065,9 @@ module Google
|
|
993
1065
|
# @!attribute [rw] b_frame_count
|
994
1066
|
# @return [::Integer]
|
995
1067
|
# The number of consecutive B-frames. Must be greater than or equal to
|
996
|
-
# zero. Must be less than
|
997
|
-
#
|
1068
|
+
# zero. Must be less than
|
1069
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H264CodecSettings#gop_frame_count H264CodecSettings.gop_frame_count}
|
1070
|
+
# if set. The default is 0.
|
998
1071
|
# @!attribute [rw] aq_strength
|
999
1072
|
# @return [::Float]
|
1000
1073
|
# Specify the intensity of the adaptive quantizer (AQ). Must be between 0
|
@@ -1029,11 +1102,39 @@ module Google
|
|
1029
1102
|
# Note that certain values for this field may cause the
|
1030
1103
|
# transcoder to override other fields you set in the `H264CodecSettings`
|
1031
1104
|
# message.
|
1105
|
+
# @!attribute [rw] sdr
|
1106
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::H264ColorFormatSDR]
|
1107
|
+
# Optional. SDR color format setting for H264.
|
1108
|
+
#
|
1109
|
+
# 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.
|
1110
|
+
# @!attribute [rw] hlg
|
1111
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::H264ColorFormatHLG]
|
1112
|
+
# Optional. HLG color format setting for H264.
|
1113
|
+
#
|
1114
|
+
# 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
1115
|
class H264CodecSettings
|
1033
1116
|
include ::Google::Protobuf::MessageExts
|
1034
1117
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1035
1118
|
end
|
1036
1119
|
|
1120
|
+
# Convert the input video to a Standard Dynamic Range (SDR) video.
|
1121
|
+
class H265ColorFormatSDR
|
1122
|
+
include ::Google::Protobuf::MessageExts
|
1123
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
# Convert the input video to a Hybrid Log Gamma (HLG) video.
|
1127
|
+
class H265ColorFormatHLG
|
1128
|
+
include ::Google::Protobuf::MessageExts
|
1129
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
# Convert the input video to a High Dynamic Range 10 (HDR10) video.
|
1133
|
+
class H265ColorFormatHDR10
|
1134
|
+
include ::Google::Protobuf::MessageExts
|
1135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1136
|
+
end
|
1137
|
+
|
1037
1138
|
# H265 codec settings.
|
1038
1139
|
# @!attribute [rw] width_pixels
|
1039
1140
|
# @return [::Integer]
|
@@ -1058,12 +1159,11 @@ module Google
|
|
1058
1159
|
# @!attribute [rw] frame_rate
|
1059
1160
|
# @return [::Float]
|
1060
1161
|
# 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.
|
1162
|
+
# less than or equal to 120.
|
1163
|
+
# @!attribute [rw] frame_rate_conversion_strategy
|
1164
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::FrameRateConversionStrategy]
|
1165
|
+
# Optional. Frame rate conversion strategy for desired frame rate. The
|
1166
|
+
# default is `DOWNSAMPLE`.
|
1067
1167
|
# @!attribute [rw] bitrate_bps
|
1068
1168
|
# @return [::Integer]
|
1069
1169
|
# Required. The video bitrate in bits per second. The minimum value is
|
@@ -1085,7 +1185,7 @@ module Google
|
|
1085
1185
|
# - `yuv444p12` 12-bit HDR pixel format
|
1086
1186
|
# @!attribute [rw] rate_control_mode
|
1087
1187
|
# @return [::String]
|
1088
|
-
# Specify the
|
1188
|
+
# Specify the mode. The default is `vbr`.
|
1089
1189
|
#
|
1090
1190
|
# Supported rate control modes:
|
1091
1191
|
#
|
@@ -1117,7 +1217,8 @@ module Google
|
|
1117
1217
|
# @!attribute [rw] enable_two_pass
|
1118
1218
|
# @return [::Boolean]
|
1119
1219
|
# Use two-pass encoding strategy to achieve better video quality.
|
1120
|
-
#
|
1220
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H265CodecSettings#rate_control_mode H265CodecSettings.rate_control_mode}
|
1221
|
+
# must be `vbr`. The default is `false`.
|
1121
1222
|
# @!attribute [rw] vbv_size_bits
|
1122
1223
|
# @return [::Integer]
|
1123
1224
|
# Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
|
@@ -1126,7 +1227,7 @@ module Google
|
|
1126
1227
|
# @return [::Integer]
|
1127
1228
|
# Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
|
1128
1229
|
# Must be greater than zero. The default is equal to 90% of
|
1129
|
-
#
|
1230
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H265CodecSettings#vbv_size_bits H265CodecSettings.vbv_size_bits}.
|
1130
1231
|
# @!attribute [rw] b_pyramid
|
1131
1232
|
# @return [::Boolean]
|
1132
1233
|
# Allow B-pyramid for reference frame selection. This may not be supported
|
@@ -1134,8 +1235,9 @@ module Google
|
|
1134
1235
|
# @!attribute [rw] b_frame_count
|
1135
1236
|
# @return [::Integer]
|
1136
1237
|
# The number of consecutive B-frames. Must be greater than or equal to
|
1137
|
-
# zero. Must be less than
|
1138
|
-
#
|
1238
|
+
# zero. Must be less than
|
1239
|
+
# {::Google::Cloud::Video::Transcoder::V1::VideoStream::H265CodecSettings#gop_frame_count H265CodecSettings.gop_frame_count}
|
1240
|
+
# if set. The default is 0.
|
1139
1241
|
# @!attribute [rw] aq_strength
|
1140
1242
|
# @return [::Float]
|
1141
1243
|
# Specify the intensity of the adaptive quantizer (AQ). Must be between 0
|
@@ -1185,11 +1287,38 @@ module Google
|
|
1185
1287
|
# Note that certain values for this field may cause the
|
1186
1288
|
# transcoder to override other fields you set in the `H265CodecSettings`
|
1187
1289
|
# message.
|
1290
|
+
# @!attribute [rw] sdr
|
1291
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::H265ColorFormatSDR]
|
1292
|
+
# Optional. SDR color format setting for H265.
|
1293
|
+
#
|
1294
|
+
# 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.
|
1295
|
+
# @!attribute [rw] hlg
|
1296
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::H265ColorFormatHLG]
|
1297
|
+
# Optional. HLG color format setting for H265.
|
1298
|
+
#
|
1299
|
+
# 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.
|
1300
|
+
# @!attribute [rw] hdr10
|
1301
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::H265ColorFormatHDR10]
|
1302
|
+
# Optional. HDR10 color format setting for H265.
|
1303
|
+
#
|
1304
|
+
# 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
1305
|
class H265CodecSettings
|
1189
1306
|
include ::Google::Protobuf::MessageExts
|
1190
1307
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1191
1308
|
end
|
1192
1309
|
|
1310
|
+
# Convert the input video to a Standard Dynamic Range (SDR) video.
|
1311
|
+
class Vp9ColorFormatSDR
|
1312
|
+
include ::Google::Protobuf::MessageExts
|
1313
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1314
|
+
end
|
1315
|
+
|
1316
|
+
# Convert the input video to a Hybrid Log Gamma (HLG) video.
|
1317
|
+
class Vp9ColorFormatHLG
|
1318
|
+
include ::Google::Protobuf::MessageExts
|
1319
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1320
|
+
end
|
1321
|
+
|
1193
1322
|
# VP9 codec settings.
|
1194
1323
|
# @!attribute [rw] width_pixels
|
1195
1324
|
# @return [::Integer]
|
@@ -1214,12 +1343,11 @@ module Google
|
|
1214
1343
|
# @!attribute [rw] frame_rate
|
1215
1344
|
# @return [::Float]
|
1216
1345
|
# 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.
|
1346
|
+
# less than or equal to 120.
|
1347
|
+
# @!attribute [rw] frame_rate_conversion_strategy
|
1348
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::FrameRateConversionStrategy]
|
1349
|
+
# Optional. Frame rate conversion strategy for desired frame rate. The
|
1350
|
+
# default is `DOWNSAMPLE`.
|
1223
1351
|
# @!attribute [rw] bitrate_bps
|
1224
1352
|
# @return [::Integer]
|
1225
1353
|
# Required. The video bitrate in bits per second. The minimum value is
|
@@ -1241,7 +1369,7 @@ module Google
|
|
1241
1369
|
# - `yuv444p12` 12-bit HDR pixel format
|
1242
1370
|
# @!attribute [rw] rate_control_mode
|
1243
1371
|
# @return [::String]
|
1244
|
-
# Specify the
|
1372
|
+
# Specify the mode. The default is `vbr`.
|
1245
1373
|
#
|
1246
1374
|
# Supported rate control modes:
|
1247
1375
|
#
|
@@ -1282,10 +1410,39 @@ module Google
|
|
1282
1410
|
# Note that certain values for this field may cause the
|
1283
1411
|
# transcoder to override other fields you set in the `Vp9CodecSettings`
|
1284
1412
|
# message.
|
1413
|
+
# @!attribute [rw] sdr
|
1414
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::Vp9ColorFormatSDR]
|
1415
|
+
# Optional. SDR color format setting for VP9.
|
1416
|
+
#
|
1417
|
+
# 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.
|
1418
|
+
# @!attribute [rw] hlg
|
1419
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::Vp9ColorFormatHLG]
|
1420
|
+
# Optional. HLG color format setting for VP9.
|
1421
|
+
#
|
1422
|
+
# 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
1423
|
class Vp9CodecSettings
|
1286
1424
|
include ::Google::Protobuf::MessageExts
|
1287
1425
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1288
1426
|
end
|
1427
|
+
|
1428
|
+
# The conversion strategy for desired frame rate.
|
1429
|
+
module FrameRateConversionStrategy
|
1430
|
+
# Unspecified frame rate conversion strategy.
|
1431
|
+
FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED = 0
|
1432
|
+
|
1433
|
+
# Selectively retain frames to reduce the output frame rate.
|
1434
|
+
# Every _n_ th frame is kept, where `n = ceil(input frame rate / target
|
1435
|
+
# frame rate)`. When _n_ = 1 (that is, the target frame rate is greater
|
1436
|
+
# than the input frame rate), the output frame rate matches the input frame
|
1437
|
+
# rate. When _n_ > 1, frames are dropped and the output frame rate is
|
1438
|
+
# equal to `(input frame rate / n)`. For more information, see
|
1439
|
+
# [Calculate frame
|
1440
|
+
# rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate).
|
1441
|
+
DOWNSAMPLE = 1
|
1442
|
+
|
1443
|
+
# Drop or duplicate frames to match the specified frame rate.
|
1444
|
+
DROP_DUPLICATE = 2
|
1445
|
+
end
|
1289
1446
|
end
|
1290
1447
|
|
1291
1448
|
# Audio stream resource.
|
@@ -1301,6 +1458,7 @@ module Google
|
|
1301
1458
|
# - `mp3`
|
1302
1459
|
# - `ac3`
|
1303
1460
|
# - `eac3`
|
1461
|
+
# - `vorbis`
|
1304
1462
|
# @!attribute [rw] bitrate_bps
|
1305
1463
|
# @return [::Integer]
|
1306
1464
|
# Required. Audio bitrate in bits per second. Must be between 1 and
|
@@ -1324,7 +1482,10 @@ module Google
|
|
1324
1482
|
# - `lfe` - Low frequency
|
1325
1483
|
# @!attribute [rw] mapping
|
1326
1484
|
# @return [::Array<::Google::Cloud::Video::Transcoder::V1::AudioStream::AudioMapping>]
|
1327
|
-
# The mapping for the
|
1485
|
+
# The mapping for the
|
1486
|
+
# {::Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list JobConfig.edit_list}
|
1487
|
+
# atoms with audio
|
1488
|
+
# {::Google::Cloud::Video::Transcoder::V1::EditAtom#inputs EditAtom.inputs}.
|
1328
1489
|
# @!attribute [rw] sample_rate_hertz
|
1329
1490
|
# @return [::Integer]
|
1330
1491
|
# The audio sample rate in Hertz. The default is 48000 Hertz.
|
@@ -1342,14 +1503,20 @@ module Google
|
|
1342
1503
|
include ::Google::Protobuf::MessageExts
|
1343
1504
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1344
1505
|
|
1345
|
-
# The mapping for the
|
1506
|
+
# The mapping for the
|
1507
|
+
# {::Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list JobConfig.edit_list}
|
1508
|
+
# atoms with audio
|
1509
|
+
# {::Google::Cloud::Video::Transcoder::V1::EditAtom#inputs EditAtom.inputs}.
|
1346
1510
|
# @!attribute [rw] atom_key
|
1347
1511
|
# @return [::String]
|
1348
|
-
# Required. The
|
1349
|
-
#
|
1512
|
+
# Required. The
|
1513
|
+
# {::Google::Cloud::Video::Transcoder::V1::EditAtom#key EditAtom.key} that
|
1514
|
+
# references the atom with audio inputs in the
|
1515
|
+
# {::Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list JobConfig.edit_list}.
|
1350
1516
|
# @!attribute [rw] input_key
|
1351
1517
|
# @return [::String]
|
1352
|
-
# Required. The
|
1518
|
+
# Required. The {::Google::Cloud::Video::Transcoder::V1::Input#key Input.key}
|
1519
|
+
# that identifies the input file.
|
1353
1520
|
# @!attribute [rw] input_track
|
1354
1521
|
# @return [::Integer]
|
1355
1522
|
# Required. The zero-based index of the track in the input file.
|
@@ -1389,7 +1556,10 @@ module Google
|
|
1389
1556
|
# supported in MP4 files.
|
1390
1557
|
# @!attribute [rw] mapping
|
1391
1558
|
# @return [::Array<::Google::Cloud::Video::Transcoder::V1::TextStream::TextMapping>]
|
1392
|
-
# The mapping for the
|
1559
|
+
# The mapping for the
|
1560
|
+
# {::Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list JobConfig.edit_list}
|
1561
|
+
# atoms with text
|
1562
|
+
# {::Google::Cloud::Video::Transcoder::V1::EditAtom#inputs EditAtom.inputs}.
|
1393
1563
|
# @!attribute [rw] display_name
|
1394
1564
|
# @return [::String]
|
1395
1565
|
# The name for this particular text stream that
|
@@ -1398,14 +1568,20 @@ module Google
|
|
1398
1568
|
include ::Google::Protobuf::MessageExts
|
1399
1569
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1400
1570
|
|
1401
|
-
# The mapping for the
|
1571
|
+
# The mapping for the
|
1572
|
+
# {::Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list JobConfig.edit_list}
|
1573
|
+
# atoms with text
|
1574
|
+
# {::Google::Cloud::Video::Transcoder::V1::EditAtom#inputs EditAtom.inputs}.
|
1402
1575
|
# @!attribute [rw] atom_key
|
1403
1576
|
# @return [::String]
|
1404
|
-
# Required. The
|
1405
|
-
#
|
1577
|
+
# Required. The
|
1578
|
+
# {::Google::Cloud::Video::Transcoder::V1::EditAtom#key EditAtom.key} that
|
1579
|
+
# references atom with text inputs in the
|
1580
|
+
# {::Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list JobConfig.edit_list}.
|
1406
1581
|
# @!attribute [rw] input_key
|
1407
1582
|
# @return [::String]
|
1408
|
-
# Required. The
|
1583
|
+
# Required. The {::Google::Cloud::Video::Transcoder::V1::Input#key Input.key}
|
1584
|
+
# that identifies the input file.
|
1409
1585
|
# @!attribute [rw] input_track
|
1410
1586
|
# @return [::Integer]
|
1411
1587
|
# 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.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -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.
|