WMENC_VIDEO_OPTIMIZATION

Windows Media Encoder SDK banner art

The WMENC_VIDEO_OPTIMIZATION enumeration type defines how video is rendered in the video window.

Syntax

typedef enum WMENC_VIDEO_OPTIMIZATION{
    WMENC_VIDEO_STANDARD = 1,
    WMENC_VIDEO_DEINTERLACE = 2,
    WMENC_VIDEO_INVERSETELECINE = 3,
    WMENC_VIDEO_PROCESS_INTERLACED = 4,
    WMENC_VIDEO_TELECINE_AUTO = 16,
    WMENC_VIDEO_TELECINE_AA_TOP = 32,
    WMENC_VIDEO_TELECINE_BB_TOP = 48,
    WMENC_VIDEO_TELECINE_BC_TOP = 64,
    WMENC_VIDEO_TELECINE_CD_TOP = 80,
    WMENC_VIDEO_TELECINE_DD_TOP = 96,
    WMENC_VIDEO_TELECINE_AA_BOTTOM = 112,
    WMENC_VIDEO_TELECINE_BB_BOTTOM = 128,
    WMENC_VIDEO_TELECINE_BC_BOTTOM = 144,
    WMENC_VIDEO_TELECINE_CD_BOTTOM = 160,
    WMENC_VIDEO_TELECINE_DD_BOTTOM = 176,
    WMENC_VIDEO_FLIPPING_VERTICAL = 256,
    WMENC_VIDEO_INTERLACED_AUTO = 4096,
    WMENC_VIDEO_INTERLACED_TOP_FIRST = 8192,
    WMENC_VIDEO_INTERLACED_BOTTOM_FIRST = 12288
};

Remarks

WMENC_VIDEO_STANDARD applies the standard compression algorithm during the encoding process. Content is assumed to be progressive, and the output is progressive.

WMENC_VIDEO_DEINTERLACE separates the interlaced video source to restore the original frames.

WMENC_VIDEO_INVERSETELECINE removes redundant video data from the video source. The output is progressive film (24 fps).

WMENC_VIDEO_PROCESS_INTERLACED produces interlaced content. However, if the input is clearly marked progressive (such as a progressive file in Windows Media Video format), the output is progressive.

Requirements

Header: wmencode.h

Library: wmenc.exe

See Also