Aracılığıyla paylaş


MediaFormat.KeyOperatingRate Field

Definition

A key describing the desired operating frame rate for video or sample rate for audio that the codec will need to operate at.

[Android.Runtime.Register("KEY_OPERATING_RATE", ApiSince=23)]
public const string KeyOperatingRate;
[<Android.Runtime.Register("KEY_OPERATING_RATE", ApiSince=23)>]
val mutable KeyOperatingRate : string

Field Value

Attributes

Remarks

A key describing the desired operating frame rate for video or sample rate for audio that the codec will need to operate at.

The associated value is an integer or a float representing frames-per-second or samples-per-second

This is used for cases like high-speed/slow-motion video capture, where the video encoder format contains the target playback rate (e.g. 30fps), but the component must be able to handle the high operating capture rate (e.g. 240fps).

This rate will be used by codec for resource planning and setting the operating points.

Java documentation for android.media.MediaFormat.KEY_OPERATING_RATE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to