frameRateConversionStrategy property

String? frameRateConversionStrategy
getter/setter pair

Frame rate conversion strategy for desired frame rate.

The default is DOWNSAMPLE.

Optional. Possible string values are:

  • "FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED" : Unspecified frame rate conversion strategy.
  • "DOWNSAMPLE" : Selectively retain frames to reduce the output frame rate. Every n th frame is kept, where n = ceil(input frame rate / target frame rate). When n = 1 (that is, the target frame rate is greater than the input frame rate), the output frame rate matches the input frame rate. When n > 1, frames are dropped and the output frame rate is equal to (input frame rate / n). For more information, see Calculate frame rate.
  • "DROP_DUPLICATE" : Drop or duplicate frames to match the specified frame rate.

Implementation

core.String? frameRateConversionStrategy;