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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
AVRecorder.SetEncoder
Sets the encoder to use for video.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| AVRecorder | 9.1 | No | Yes | No | No | No |
Parameters
| Parameter | Description | Example |
|---|---|---|
| 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
Release notes
- Version 9.1
- Added AVRecorder.EncoderCount, AVRecorder.EncoderInfo, AVRecorder.GetEncoder and AVRecorder.SetEncoder functions to define encoder for AVRecorder on Windows.
Created 24th February 2019, last changed 24th February 2019
AVRecorder.SetAutomaticallyAdjustsVideoMirroring - AVRecorder.SetFilePath
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins