Transcoder V1 API - Module Google::Cloud::Video::Transcoder::V1::VideoStream::FrameRateConversionStrategy (v2.2.0)

Reference documentation and code samples for the Transcoder V1 API module Google::Cloud::Video::Transcoder::V1::VideoStream::FrameRateConversionStrategy.

The conversion strategy for desired frame rate.

Constants

FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED

value: 0
Unspecified frame rate conversion strategy.

DOWNSAMPLE

value: 1
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

value: 2
Drop or duplicate frames to match the specified frame rate.