Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

DirectShowConfigInterleavingMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class DirectShow MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: The ConfigInterleaving interface controls how the AVI Mux filter interleaves audio and video samples.
Video-authoring applications that handle capturing should use this interface when they need to control how audio samples and video frames will be saved on a disk.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Interleaving Mode Constants

Constant Value Description
kInterleaveBuffered 3 Noninterleaved.
This mode is equivalent to kInterleaveNone but uses less file space and system overhead.
kInterleaveCapture 1 Approximate interleaving with less overhead than kInterleaveFull.
This mode is suitable for video capture. The AVI Mux attempts to use unbuffered, overlapped write operations. Unless the interleaving parameters are configured properly, however, frames may be dropped if one stream blocks while it waits for data from another stream. In particular, audio buffers should be less than .5 second, or else the video stream will block for excessive periods of time.
kInterleaveFull 2 Full, precise interleaving of audio samples and video frames.
Streams will block indefinitely, waiting for equal amounts of data before interleaving. This mode is suitable for authoring and playback.
kInterleaveNone 0 Noninterleaved.
Frames are written in the order they arrive. Files must be interleaved for playback at a later time. In this mode, the AVI Mux filter attempts to use unbuffered, overlapped write operations, to increase throughput.

This class has no sub classes.

Some methods using this class:

Some examples which use this class:

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

DirectShowConfigAviMuxMBS   -   DirectShowDVInfoMBS

MBS Xojo Plugins