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: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  

AVRecorder.SetEncoder

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

Parameters

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

Result

Returns OK or error.

Description

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

Examples

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.




Links
MBS Xojo PDF Plugins