mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Update recommendation on setting frame rate for images
PiperOrigin-RevId: 653167049
This commit is contained in:
parent
e94ee03cd0
commit
e78802d0d8
@ -169,9 +169,12 @@ public final class EditedMediaItem {
|
|||||||
/**
|
/**
|
||||||
* Sets the {@link MediaItem} frame rate in the output video, in frames per second.
|
* 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
|
* <p>This should be set for inputs that don't have an intrinsic frame rate (e.g., images). It
|
||||||
* are recommended to be set for a frame rate of 30). It will be ignored for inputs that do have
|
* will be ignored for inputs that do have an intrinsic frame rate (e.g., video).
|
||||||
* 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.
|
* <p>No frame rate is set by default.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user