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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

AVAsset.NaturalHeight

Queries the natural height of the video.

Component Version macOS Windows Linux Server iOS SDK
AVAsset 5.2 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "AVAsset.NaturalHeight"; Asset )   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

Result

Returns value or error.

Description

Queries the natural height of the video.

Examples

Query size of video:

MBS( "AVAsset.NaturalWidth"; $asset) & "x" & MBS( "AVAsset.NaturalHeight"; $asset)

See also

This function is free to use.

Created 19th June 2015, last changed 19th June 2015


AVAsset.MetadataKeys - AVAsset.NaturalWidth

💬 Ask a question or report a problem