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

AVExport.SetOutputFileType

Sets the output file type.

Component Version macOS Windows Linux Server iOS SDK
AVExport 6.1 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "AVExport.SetOutputFileType"; AVExportSession; FileType )   More

Parameters

Parameter Description Example
AVExportSession The session reference number. $AVExport
FileType The new file type. "com.apple.quicktime-movie"

Result

Returns OK or error.

Description

Sets the output file type.
Indicates the type of file to be written by the session.
The value of this property must be set before you invoke AVExport.ExportAsynchronously; otherwise AVExport.ExportAsynchronously will return an error.
Setting the value of this property to a file type that's not among the session's supported file types will result in an error. See AVExport.SupportedFileTypes.

Examples

Set output file type and query default file extension:

Set Variable [$r; Value:MBS( "AVExport.SetOutputFileType"; $$AVExport; AVAsset Export Session::OutputFileType )]
Set Field [AVAsset Export Session::OutputFileExtension; MBS( "AVExport.OutputFileExtension"; $$AVExport )]

See also

Example Databases

This function checks for a license.

Created 29th February 2016, last changed 1st March 2016


AVExport.ReleaseAll - AVExport.SetOutputPath