Update recommendation on setting frame rate for images

PiperOrigin-RevId: 653167049
This commit is contained in:
simakova 2024-07-17 03:28:56 -07:00 committed by Copybara-Service
parent e94ee03cd0
commit e78802d0d8

View File

@ -169,9 +169,12 @@ public final class EditedMediaItem {
/**
* Sets the {@link MediaItem} frame rate in the output video, in frames per second.
*
* <p>This should be set for inputs that don't have an intrinsic frame rate (e.g. images, which
* are recommended to be set for a frame rate of 30). It will be ignored for inputs that do have
* an intrinsic frame rate (e.g. video).
* <p>This should be set for inputs that don't have an intrinsic frame rate (e.g., images). It
* will be ignored for inputs that do have an intrinsic frame rate (e.g., video).
*
* <p>For images, the frame rate depends on factors such as desired look, output format
* requirement, and whether the content is static or dynamic (e.g., animation). However, 30 fps
* is suitable for most use cases.
*
* <p>No frame rate is set by default.
*