Platforms to show: All Mac Windows Linux Cross-Platform

Back to DirectShowConfigAviMuxMBS class.

DirectShowConfigAviMuxMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The private constructor.

DirectShowConfigAviMuxMBS.MasterStream as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Specifies the master stream that will be used to synchronize the other streams in the file.

Specifies the index of the stream, or –1 to indicate no master stream. The AVI Mux writes one stream for each connected input pin. Stream numbers are indexed from zero.
Lasterror is set.

If you are capturing audio and video from two different sources, use this method to synchronize the streams. Streams coming from separate capture sources may be captured at slightly different rates. If you specify a master stream, the AVI Mux adjusts the playback rates for the other streams, to compensate for any drift that might occur.
It is recommended to use the audio stream as the master stream, because minor adjustments to the video playback rate are less noticeable than changes to the audio playback rate. Also, modifying the audio playback rate will cause the audio to be resampled by the audio driver.
This method works by adjusting the dwScale and dwRate values in the AVISTREAMHEADER structure.
(Read and Write computed property)

Some examples using this property:

DirectShowConfigAviMuxMBS.OutputCompatibilityIndex as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Get or set the AVI index format.

Lasterror is set.
True: Create an AVI 1.0 index, as well as an AVI 2.0 index.
False: Create an AVI 2.0 index, but not an AVI 1.0 index.

The AVI Mux filter always creates an AVI 2.0 index ('indx' format). If the value given in fOldIndex is TRUE, the AVI Mux also creates an AVI 1.0 index ('idx1' format), for backward compatibility with Video for Windows.
The AVI 2.0 index format allows for larger files, incremental growth of files, and minimized disk seeks.
(Read and Write computed property)

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


The biggest plugin in space...