Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

AVAsset.RequestImageTimePrecision

Requests to use high precision for timing of images.

Component Version macOS Windows Linux Server iOS SDK
AVAsset 6.5 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "AVAsset.RequestImageTimePrecision"; Asset; toleranceBefore; toleranceAfter )   More

Parameters

Parameter Description Example
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

Blog Entries

Created 20th October 2016, last changed 20th October 2016


AVAsset.ReleaseAll - AVAsset.TimeCodes

Feedback: Report problem or ask question.