Compartilhar via


InterleavingMode Enumeration

 
Microsoft DirectShow 9.0

InterleavingMode Enumeration

Specifies how video frames and audio samples will be written to disk.

Syntax

typedef enum {
    INTERLEAVE_NONE,
    INTERLEAVE_CAPTURE,
    INTERLEAVE_FULL,
    INTERLEAVE_NONE_BUFFERED
} InterleavingMode;

Members

INTERLEAVE_NONE

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.

INTERLEAVE_CAPTURE

Approximate interleaving with less overhead than INTERLEAVE_FULL. 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.

INTERLEAVE_FULL

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.

INTERLEAVE_NONE_BUFFERED

Noninterleaved. This mode is equivalent to INTERLEAVE_NONE but uses less file space and system overhead.

Requirements

  Header: Dshow.h

See Also