Reference documentation and code samples for the Transcoder V1 API module Google::Cloud::Video::Transcoder::V1::VideoStream::FrameRateConversionStrategy.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Transcoder V1 API - Module Google::Cloud::Video::Transcoder::V1::VideoStream::FrameRateConversionStrategy (v2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [2.2.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/2.2.0/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [2.1.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/2.1.0/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [2.0.1](/ruby/docs/reference/google-cloud-video-transcoder-v1/2.0.1/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [1.2.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/1.2.0/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [1.1.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/1.1.0/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [1.0.1](/ruby/docs/reference/google-cloud-video-transcoder-v1/1.0.1/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [0.13.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.13.0/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [0.12.2](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.12.2/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [0.11.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.11.0/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [0.10.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.10.0/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [0.9.1](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.9.1/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [0.8.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.8.0/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [0.7.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.7.0/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [0.6.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.6.0/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [0.5.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.5.0/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [0.4.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.4.0/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [0.3.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.3.0/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy)\n- [0.2.2](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.2.2/Google-Cloud-Video-Transcoder-V1-VideoStream-FrameRateConversionStrategy) \nReference documentation and code samples for the Transcoder V1 API module Google::Cloud::Video::Transcoder::V1::VideoStream::FrameRateConversionStrategy.\n\nThe conversion strategy for desired frame rate.\n\nConstants\n---------\n\n### FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED\n\n**value:** 0 \nUnspecified frame rate conversion strategy.\n\n### DOWNSAMPLE\n\n**value:** 1 \nSelectively retain frames to reduce the output frame rate.\nEvery *n* th frame is kept, where `n = ceil(input frame rate / target\nframe rate)`. When *n* = 1 (that is, the target frame rate is greater\nthan the input frame rate), the output frame rate matches the input frame\nrate. When *n* \\\u003e 1, frames are dropped and the output frame rate is\nequal to `(input frame rate / n)`. For more information, see\n[Calculate frame\nrate](https://cloud.google.com/transcoder/docs/concepts/frame-rate).\n\n### DROP_DUPLICATE\n\n**value:** 2 \nDrop or duplicate frames to match the specified frame rate."]]