Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

AVCaptureVideoDataOutputMBS.alwaysDiscardsLateVideoFrames as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: Indicates whether video frames are dropped if they arrive late.
Notes:
When the value of this property is true, the object immediately discards frames that are captured while the dispatch queue handling existing frames is blocked in the AVFoundationMBS.captureOutputDidOutputSampleBuffer event.

When the value of this property is false, delegates are allowed more time to process old frames before new frames are discarded, but application memory usage may increase significantly as a result.

The default is true.
(Read and Write computed property)

Feedback, Comments & Corrections

AVCaptureVideoDataOutputMBS.availableVideoCodecTypes as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: Indicates the supported video codec formats that can be specified in videoSettings. (read-only)
Notes: The value of this property is an array of String objects you can use as values for the AVVideoCodecKey in the videoSettings property. The first format in the returned list is the most efficient output format.

Feedback, Comments & Corrections

AVCaptureVideoDataOutputMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: The constructor.

See also:

Feedback, Comments & Corrections

AVCaptureVideoDataOutputMBS.Constructor(CIDetector as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method AVFoundation MBS AVFoundation Plugin 18.4 Yes No No Yes, macOS only No
Function: The constructor.
Notes:
This allows you to use a CIDetectorMBS object with AVCaptureVideoDataOutputMBS.
The plugin will run the detector in a helper thread, so you have more time on the main thread for your application and better performance.

See also:

Feedback, Comments & Corrections

AVCaptureVideoDataOutputMBS.EnableEvents
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: Enables the events for this output.
Notes: Those are normally handled automatically, but if you add event with AddHandler you need to call this method.

Feedback, Comments & Corrections

AVCaptureVideoDataOutputMBS.videoSettings as dictionary
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: The compression settings for the output.
Notes:
The dictionary contains values for compression settings keys defined in AVVideoSettings.h, or pixel buffer attributes keys defined in <CoreVideo/CVPixelBuffer.h> (see CVPixelBufferRef). The only key currently supported is the kCVPixelBufferPixelFormatTypeKey key.
(The plugin defines such keys in AVFoundationMBS)

To get possible values for the supported video pixel formats (kCVPixelBufferPixelFormatTypeKey) and video codec formats (AVVideoCodecKey), see availableVideoCVPixelFormatTypes and availableVideoCodecTypes respectively.

To receive samples in their device native format, set this property to nil:

If you set this property to nil and then subsequently query it, you will get a dictionary reflecting the settings used by the capture sessions's current sessionPreset.
(Read and Write computed property)

Feedback, Comments & Corrections

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




Links
MBS Xojo Chart Plugins