Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

AVCaptureFileOutputMBS class

Super class: AVCaptureOutputMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: AVCaptureFileOutput is an abstract sub-class of AVCaptureOutput that describes a file output destination to an AVCaptureSession.
For example, you use an instance of its concrete subclass, AVCaptureMovieFileOutput, to save capture output to a QuickTime movie file. The concrete subclasses of AVCaptureFileOutput are AVCaptureMovieFileOutput, which records media to a QuickTime movie file, and AVCaptureAudioFileOutput, which writes audio media to a variety of audio file formats.

This abstract superclass defines the interface for outputs that record media samples to files. File outputs can start recording to a new file using startRecordingToOutputFileURL method.

In OS X, on successive invocations of this method the output file can be changed dynamically without losing media samples. A file output can stop recording using the stopRecording method. Because files are recorded in the background, you need to specify a delegate for each new file to be notified when recorded files are finished.

In OS X, you can also set a delegate on the file output itself that can be used to control recording along exact media sample boundaries using the captureOutputDidOutputSampleBuffer event in AVFoundationMBS.
Subclass of the AVCaptureOutputMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Super class AVCaptureOutputMBS

Sub classes:

Some properties using for this class:

Some events for this class:

Some examples which use this class:

The items on this page are in the following plugins: MBS AVFoundation Plugin.

AVCaptureDeviceMBS   -   AVCaptureInputMBS

The biggest plugin in space...

MBS Xojo Plugins