Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Queries the natural width of the video.

Component Version macOS Windows Linux Server iOS SDK
AVAsset 5.2 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "AVAsset.NaturalWidth"; Asset )   More


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


Returns value or error.


Queries the natural width of the video.


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.NaturalHeight - AVAsset.OpenContainer