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

AVExport.ExportSessionMerge

Creates a new export session.

Component Version macOS Windows Linux Server iOS SDK
AVExport 6.2 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "AVExport.ExportSessionMerge"; AssetList; Preset )   More

Parameters

Parameter Description Example
AssetList A list of assets.
Can contain reference numbers for assets obtained from AVAsset.OpenContainer, AVAsset.OpenFile or AVAsset.OpenURL.
Or file paths to assets.
(or a combination of both types)
"54001¶54002¶54003"
Preset The preset name to use.
Can be one of the presets returned by AVExport.AllExportPresets or one of the predefined ones:
"640x480"

Result

Returns reference number or error.

Description

Creates a new export session.
Returns a reference number for the new AVAsset export session for the specified source assets and preset.
The given assets are joined and exported together as one movie. They should match in size/type.

Same as AVExport.ExportSession, but takes a list of AVAssets.

Examples

Export three videos:

MBS( "AVExport.ExportSessionMerge"; "/Users/cs/Movies/test1.m4v¶/Users/cs/Movies/test2.m4v¶/Users/cs/Movies/test4.m4v"; AVAsset Export Session::PresetName )

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 31st March 2016, last changed 14th June 2016


AVExport.ExportSession - AVExport.GetOutputFileType