Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4    Statistic  


Sets the encoder to use for video.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVRecorder 9.1 No Yes No No No
MBS( "AVRecorder.SetEncoder"; AVSession; Encoder )   More


Parameter Description Example value
AVSession The ID for the AVRecorder session as returned by AVRecorder.Init. $AVSession
Encoder The encoder name, ID or index. 0


Returns OK or error.


Sets the encoder to use for video.
Not all combinations of video source, encoder and destination file will work.
AVRecorder.StartRecording may fail later.

On Mac and iOS we use standard encoder by default (H264 usually).


Set encoder:

MBS( "AVRecorder.SetEncoder"; $AVSession; "WMVideo9 Encoder DMO" )

Set DV encoder:

MBS("AVRecorder.SetEncoder"; AVRecorder::Session; "DV Video Encoder")

See also

Blog Entries

Created 24th February 2019, last changed 24th February 2019

AVRecorder.SetAutomaticallyAdjustsVideoMirroring   -   AVRecorder.SetFilePath

Feedback: Report problem or ask question.

MBS Xojo blog