Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

AVAsset.RequestImageTimePrecision

Requests to use high precision for timing of images.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVAsset 6.5 Yes No Yes, macOS only No Yes

MBS( "AVAsset.RequestImageTimePrecision"; Asset; toleranceBefore; toleranceAfter )

Parameters

Parameter Description Example value
Asset The reference number of the asset. Please use AVAsset.OpenContainer, AVAsset.OpenFile or AVAsset.OpenURL function to get asset reference. $asset
toleranceBefore Time tolerance in seconds before requested time. 0
toleranceAfter Time tolerance in seconds after requested time. 0

Result

Returns OK or error.

Description

Requests to use high precision for timing of images.
The actual time of the generated images will be within the range [requestedTime-toleranceBefore, requestedTime+toleranceAfter] and may differ from the requested time for efficiency.
Pass 0 for both toleranceBefore and toleranceAfter to request frame-accurate image generation; this may incur additional decoding delay. Default is infinity.

Examples

Request exact timing:

MBS("AVAsset.RequestImageTimePrecision"; $asset; 0; 0)

Request ± 0.5 seconds

MBS("AVAsset.RequestImageTimePrecision"; $asset; 0.5; 0.5)

See also


AVAsset.Release   -   AVAsset.TimeCodes

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins