Class: Google::Cloud::Video::LiveStream::V1::VideoStream::H265CodecSettings
- Inherits:
-
Object
- Object
- Google::Cloud::Video::LiveStream::V1::VideoStream::H265CodecSettings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/livestream/v1/outputs.rb
Overview
H265 codec settings.
Instance Attribute Summary collapse
-
#aq_strength ⇒ ::Float
Optional.
-
#b_frame_count ⇒ ::Integer
Optional.
-
#b_pyramid ⇒ ::Boolean
Optional.
-
#bitrate_bps ⇒ ::Integer
Required.
-
#frame_rate ⇒ ::Float
Required.
-
#gop_duration ⇒ ::Google::Protobuf::Duration
Optional.
-
#gop_frame_count ⇒ ::Integer
Optional.
-
#height_pixels ⇒ ::Integer
Optional.
-
#vbv_fullness_bits ⇒ ::Integer
Optional.
-
#vbv_size_bits ⇒ ::Integer
Optional.
-
#width_pixels ⇒ ::Integer
Optional.
Instance Attribute Details
#aq_strength ⇒ ::Float
Returns Optional. Specify the intensity of the adaptive quantizer (AQ). Must be between 0 and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A higher value equals a lower bitrate but smoother image. The default is 0.
589 590 591 592 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 589 class H265CodecSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#b_frame_count ⇒ ::Integer
Returns Optional. The number of consecutive B-frames. Must be greater than or equal to zero. Must be less than gop_frame_count if set. The default is 0.
589 590 591 592 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 589 class H265CodecSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#b_pyramid ⇒ ::Boolean
Returns Optional. Allow B-pyramid for reference frame selection. This may not be
supported on all decoders. The default is false.
589 590 591 592 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 589 class H265CodecSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#bitrate_bps ⇒ ::Integer
Returns Required. The video bitrate in bits per second. Minimum value is 10,000.
- For SD resolution (< 720p), must be <= 3,000,000 (3 Mbps).
- For HD resolution (<= 1080p), must be <= 15,000,000 (15 Mbps).
- For UHD resolution (<= 2160p), must be <= 25,000,000 (25 Mbps).
589 590 591 592 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 589 class H265CodecSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#frame_rate ⇒ ::Float
Returns Required. The target video frame rate in frames per second (FPS). Must be less than or equal to 120. Will default to the input frame rate if larger than the input frame rate. The API will generate an output FPS that is divisible by the input FPS, and smaller or equal to the target FPS. See Calculating frame rate for more information.
589 590 591 592 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 589 class H265CodecSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#gop_duration ⇒ ::Google::Protobuf::Duration
Returns Optional. Select the GOP size based on the specified duration. The
default is 2s. Note that gopDuration must be less than or equal to
segment_duration,
and
segment_duration
must be divisible by gopDuration. Valid range is [2s, 20s].
All video streams in the same channel must have the same GOP size.
Note: The following fields are mutually exclusive: gop_duration, gop_frame_count. If a field in that set is populated, all other fields in the set will automatically be cleared.
589 590 591 592 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 589 class H265CodecSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#gop_frame_count ⇒ ::Integer
Returns Optional. Select the GOP size based on the specified frame count.
If GOP frame count is set instead of GOP duration, GOP duration will be
calculated by gopFrameCount/frameRate. The calculated GOP duration
must satisfy the limitations on gopDuration as well.
Valid range is [60, 600].
Note: The following fields are mutually exclusive: gop_frame_count, gop_duration. If a field in that set is populated, all other fields in the set will automatically be cleared.
589 590 591 592 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 589 class H265CodecSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#height_pixels ⇒ ::Integer
Returns Optional. The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used. Valid range is [180, 2160].
589 590 591 592 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 589 class H265CodecSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#vbv_fullness_bits ⇒ ::Integer
Returns Optional. Initial fullness of the Video Buffering Verifier (VBV) buffer in bits. Must be greater than zero. The default is equal to 90% of vbv_size_bits.
589 590 591 592 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 589 class H265CodecSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#vbv_size_bits ⇒ ::Integer
Returns Optional. Size of the Video Buffering Verifier (VBV) buffer in bits. Must be greater than zero. The default is equal to bitrate_bps.
589 590 591 592 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 589 class H265CodecSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#width_pixels ⇒ ::Integer
Returns Optional. The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used. Valid range is [320, 4096].
589 590 591 592 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 589 class H265CodecSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |