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

Opens a movie from a container.

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

Parameters

Parameter Description Example
Container The container with the movie file. MyTable::MovieContainer

Result

Returns asset reference number or error.

Description

Opens a movie from a container.
Should work for external and internal containers.
Please allow a second to load video in background asynchronously.
Available in OS X v10.7 and later.

Please call AVAsset.Release later to free object from memory.

Examples

Open movie from container:

MBS( "AVAsset.OpenContainer"; MyTable::MyContainer )

Close it later

MBS( "AVAsset.Release"; $asset )

See also

Release notes

Example Databases

Blog Entries

Created 19th June 2015, last changed 30th May 2017


AVAsset.NaturalWidth - AVAsset.OpenFile

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins

Start Chat