@@ -835,15 +835,17 @@ class H264CodecSettings
835835 attr_accessor :entropy_coder
836836
837837 # Required. The target video frame rate in frames per second (FPS). Must be less
838- # than or equal to 120. Will default to the input frame rate if larger than the
839- # input frame rate. The API will generate an output FPS that is divisible by the
840- # input FPS, and smaller or equal to the target FPS. See [Calculating frame rate]
841- # (https://cloud.google.com/transcoder/docs/concepts/frame-rate) for more
842- # information.
838+ # than or equal to 120.
843839 # Corresponds to the JSON property `frameRate`
844840 # @return [Float]
845841 attr_accessor :frame_rate
846842
843+ # Optional. Frame rate conversion strategy for desired frame rate. The default
844+ # is `DOWNSAMPLE`.
845+ # Corresponds to the JSON property `frameRateConversionStrategy`
846+ # @return [String]
847+ attr_accessor :frame_rate_conversion_strategy
848+
847849 # Select the GOP size based on the specified duration. The default is `3s`. Note
848850 # that `gopDuration` must be less than or equal to [`segmentDuration`](#
849851 # SegmentSettings), and [`segmentDuration`](#SegmentSettings) must be divisible
@@ -958,6 +960,7 @@ def update!(**args)
958960 @enable_two_pass = args [ :enable_two_pass ] if args . key? ( :enable_two_pass )
959961 @entropy_coder = args [ :entropy_coder ] if args . key? ( :entropy_coder )
960962 @frame_rate = args [ :frame_rate ] if args . key? ( :frame_rate )
963+ @frame_rate_conversion_strategy = args [ :frame_rate_conversion_strategy ] if args . key? ( :frame_rate_conversion_strategy )
961964 @gop_duration = args [ :gop_duration ] if args . key? ( :gop_duration )
962965 @gop_frame_count = args [ :gop_frame_count ] if args . key? ( :gop_frame_count )
963966 @height_pixels = args [ :height_pixels ] if args . key? ( :height_pixels )
@@ -1051,15 +1054,17 @@ class H265CodecSettings
10511054 alias_method :enable_two_pass? , :enable_two_pass
10521055
10531056 # Required. The target video frame rate in frames per second (FPS). Must be less
1054- # than or equal to 120. Will default to the input frame rate if larger than the
1055- # input frame rate. The API will generate an output FPS that is divisible by the
1056- # input FPS, and smaller or equal to the target FPS. See [Calculating frame rate]
1057- # (https://cloud.google.com/transcoder/docs/concepts/frame-rate) for more
1058- # information.
1057+ # than or equal to 120.
10591058 # Corresponds to the JSON property `frameRate`
10601059 # @return [Float]
10611060 attr_accessor :frame_rate
10621061
1062+ # Optional. Frame rate conversion strategy for desired frame rate. The default
1063+ # is `DOWNSAMPLE`.
1064+ # Corresponds to the JSON property `frameRateConversionStrategy`
1065+ # @return [String]
1066+ attr_accessor :frame_rate_conversion_strategy
1067+
10631068 # Select the GOP size based on the specified duration. The default is `3s`. Note
10641069 # that `gopDuration` must be less than or equal to [`segmentDuration`](#
10651070 # SegmentSettings), and [`segmentDuration`](#SegmentSettings) must be divisible
@@ -1181,6 +1186,7 @@ def update!(**args)
11811186 @crf_level = args [ :crf_level ] if args . key? ( :crf_level )
11821187 @enable_two_pass = args [ :enable_two_pass ] if args . key? ( :enable_two_pass )
11831188 @frame_rate = args [ :frame_rate ] if args . key? ( :frame_rate )
1189+ @frame_rate_conversion_strategy = args [ :frame_rate_conversion_strategy ] if args . key? ( :frame_rate_conversion_strategy )
11841190 @gop_duration = args [ :gop_duration ] if args . key? ( :gop_duration )
11851191 @gop_frame_count = args [ :gop_frame_count ] if args . key? ( :gop_frame_count )
11861192 @hdr10 = args [ :hdr10 ] if args . key? ( :hdr10 )
@@ -2264,15 +2270,17 @@ class Vp9CodecSettings
22642270 attr_accessor :crf_level
22652271
22662272 # Required. The target video frame rate in frames per second (FPS). Must be less
2267- # than or equal to 120. Will default to the input frame rate if larger than the
2268- # input frame rate. The API will generate an output FPS that is divisible by the
2269- # input FPS, and smaller or equal to the target FPS. See [Calculating frame rate]
2270- # (https://cloud.google.com/transcoder/docs/concepts/frame-rate) for more
2271- # information.
2273+ # than or equal to 120.
22722274 # Corresponds to the JSON property `frameRate`
22732275 # @return [Float]
22742276 attr_accessor :frame_rate
22752277
2278+ # Optional. Frame rate conversion strategy for desired frame rate. The default
2279+ # is `DOWNSAMPLE`.
2280+ # Corresponds to the JSON property `frameRateConversionStrategy`
2281+ # @return [String]
2282+ attr_accessor :frame_rate_conversion_strategy
2283+
22762284 # Select the GOP size based on the specified duration. The default is `3s`. Note
22772285 # that `gopDuration` must be less than or equal to [`segmentDuration`](#
22782286 # SegmentSettings), and [`segmentDuration`](#SegmentSettings) must be divisible
@@ -2352,6 +2360,7 @@ def update!(**args)
23522360 @bitrate_bps = args [ :bitrate_bps ] if args . key? ( :bitrate_bps )
23532361 @crf_level = args [ :crf_level ] if args . key? ( :crf_level )
23542362 @frame_rate = args [ :frame_rate ] if args . key? ( :frame_rate )
2363+ @frame_rate_conversion_strategy = args [ :frame_rate_conversion_strategy ] if args . key? ( :frame_rate_conversion_strategy )
23552364 @gop_duration = args [ :gop_duration ] if args . key? ( :gop_duration )
23562365 @gop_frame_count = args [ :gop_frame_count ] if args . key? ( :gop_frame_count )
23572366 @height_pixels = args [ :height_pixels ] if args . key? ( :height_pixels )
0 commit comments