Media Foundation Video/Audio Capture Capabilities

Just like with DirectShow video capture capability information, it is helpful to unerstand what Medfia Foudnation video capture offering is exactly. Specifically:

H.264 realated attributes in media types might be not so obvious and device might report too many types.

  • Major Type: MFMediaType_Video
  • Compressed: 1
  • 25 Attributes
    • MF_MT_MAJOR_TYPE: MFMediaTypeVideo
    • MF_MT_SUBTYPE: MFVideoFormatH264ES
    • MF_MT_COMPRESSED: 1 (Type VTUI4)
    • MF_MT_ALL_SAMPLES_INDEPENDENT: 0 (Type VTUI4)
    • MF_MT_FIXED_SIZE_SAMPLES: 0 (Type VTUI4)
    • MF_MT_FRAME_SIZE: 755914244240 (Type VTUI8) // Width 176, Height 144
    • MF_MT_PIXEL_ASPECT_RATIO: 4294967297 (Type VTUI8) // Numerator 1, Denominator 1
    • MF_MT_INTERLACE_MODE: 2 (Type VTUI4) // MFVideoInterlaceProgressive
    • MF_MT_FRAME_RATE: 128849018881 (Type VTUI8) // Numerator 30, Denominator 1
    • MF_MT_FRAME_RATE_RANGE_MIN: 128849018881 (Type VTUI8) // Numerator 30, Denominator 1
    • MF_MT_FRAME_RATE_RANGE_MAX: 128849018881 (Type VTUI8) // Numerator 30, Denominator 1
    • MF_MT_AVG_BITRATE: 6003500 (Type VTUI4)
    • MF_MT_AM_FORMAT_TYPE: {2017BE05-6629-4248-AAED-7E1A47BC9B9C}
    • MF_MT_VIDEO_PROFILE: 257 (Type VTUI4) // eAVEncH264VProfileUCConstrainedHigh
    • MF_MT_VIDEO_LEVEL: 40 (Type VTUI4) // eAVEncH264VLevel4
    • MF_MT_H264_MAX_MB_PER_SEC: F5 00 00 00 00 00 00 00 F5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    • MF_MT_H264_SUPPORTED_USAGES: 3 (Type VTUI4)
    • MF_MT_H264_SUPPORTED_RATE_CONTROL_MODES: 15 (Type VTUI4)
    • MF_MT_H264_SUPPORTED_SYNC_FRAME_TYPES: 10 (Type VTUI4)
    • MF_MT_H264_SIMULCAST_SUPPORT: 0 (Type VTUI4)
    • MF_MT_H264_CAPABILITIES: 40 (Type VTUI4)
    • MF_MT_H264_SUPPORTED_SLICE_MODES: 14 (Type VTUI4)
    • MF_MT_H264_RESOLUTION_SCALING: 3 (Type VTUI4)
    • MF_MT_H264_MAX_CODEC_CONFIG_DELAY: 1 (Type VTUI4)
    • MF_MT_H264_SVC_CAPABILITIES: 1 (Type VTUI4)

MediaFoundationCaptureCapabilities

Download:

Sample Data:

See Also:

Leave a Reply