{"id":1579,"date":"2015-12-14T11:01:55","date_gmt":"2015-12-14T09:01:55","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=1579"},"modified":"2015-12-14T11:02:22","modified_gmt":"2015-12-14T09:02:22","slug":"1579","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/1579","title":{"rendered":"Media Foundation Video\/Audio Capture Capabilities"},"content":{"rendered":"<p>Just like with <a href=\"https:\/\/alax.info\/blog\/1531\">DirectShow video capture capability information<\/a>, it is helpful to unerstand what Medfia Foudnation video capture offering is exactly. Specifically:<\/p>\n<ul>\n<li>Video and audio sources available with <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/dd388503\"><code>MFEnumDeviceSources<\/code><\/a> and <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/dd388091\"><code>MFCreateDeviceSource<\/code><\/a><\/li>\n<li>Source attributes, streams, media types<\/li>\n<li>DirectShow compatible representations<\/li>\n<\/ul>\n<p>H.264 realated attributes in media types might be not so obvious and device might report too many types.<\/p>\n<blockquote>\n<ul>\n<li>Major Type: MFMediaType_Video<\/li>\n<li>Compressed: 1<\/li>\n<li>25 Attributes\n<ul>\n<li><code>MF_MT_MAJOR_TYPE<\/code>: MFMediaType<em>Video<\/em><\/li>\n<li><code>MF_MT_SUBTYPE<\/code>: MFVideoFormat<em>H264<\/em>ES<\/li>\n<li><code>MF_MT_COMPRESSED<\/code>: 1 (Type VTUI4)<\/li>\n<li><code>MF_MT_ALL_SAMPLES_INDEPENDENT<\/code>: 0 (Type VT<em>UI4)<\/em><\/li>\n<li><code>MF_MT_FIXED_SIZE_SAMPLES<\/code>: 0 (Type VTUI4)<\/li>\n<li><code>MF_MT_FRAME_SIZE<\/code>: 755914244240 (Type VT<em>UI8) \/\/ Width 176, Height 144<\/em><\/li>\n<li><code>MF_MT_PIXEL_ASPECT_RATIO<\/code>: 4294967297 (Type VTUI8) \/\/ Numerator 1, Denominator 1<\/li>\n<li><code>MF_MT_INTERLACE_MODE<\/code>: 2 (Type VT<em>UI4) \/\/ MFVideoInterlace<\/em>Progressive<\/li>\n<li><code>MF_MT_FRAME_RATE<\/code>: 128849018881 (Type VT<em>UI8) \/\/ Numerator 30, Denominator 1<\/em><\/li>\n<li><code>MF_MT_FRAME_RATE_RANGE_MIN<\/code>: 128849018881 (Type VTUI8) \/\/ Numerator 30, Denominator 1<\/li>\n<li><code>MF_MT_FRAME_RATE_RANGE_MAX<\/code>: 128849018881 (Type VT<em>UI8) \/\/ Numerator 30, Denominator 1<\/em><\/li>\n<li><code>MF_MT_AVG_BITRATE<\/code>: 6003500 (Type VTUI4)<\/li>\n<li><code>MF_MT_AM_FORMAT_TYPE<\/code>: {2017BE05-6629-4248-AAED-7E1A47BC9B9C}<\/li>\n<li><code>MF_MT_VIDEO_PROFILE<\/code>: 257 (Type VT<em>UI4) \/\/ eAVEncH264VProfile<\/em>UCConstrainedHigh<\/li>\n<li><code>MF_MT_VIDEO_LEVEL<\/code>: 40 (Type VT<em>UI4) \/\/ eAVEncH264VLevel4<\/em><\/li>\n<li><code>MF_MT_H264_MAX_MB_PER_SEC<\/code>: 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<\/li>\n<li><code>MF_MT_H264_SUPPORTED_USAGES<\/code>: 3 (Type VTUI4)<\/li>\n<li><code>MF_MT_H264_SUPPORTED_RATE_CONTROL_MODES<\/code>: 15 (Type VT<em>UI4)<\/em><\/li>\n<li><code>MF_MT_H264_SUPPORTED_SYNC_FRAME_TYPES<\/code>: 10 (Type VTUI4)<\/li>\n<li><code>MF_MT_H264_SIMULCAST_SUPPORT<\/code>: 0 (Type VT<em>UI4)<\/em><\/li>\n<li><code>MF_MT_H264_CAPABILITIES<\/code>: 40 (Type VTUI4)<\/li>\n<li><code>MF_MT_H264_SUPPORTED_SLICE_MODES<\/code>: 14 (Type VT<em>UI4)<\/em><\/li>\n<li><code>MF_MT_H264_RESOLUTION_SCALING<\/code>: 3 (Type VTUI4)<\/li>\n<li><code>MF_MT_H264_MAX_CODEC_CONFIG_DELAY<\/code>: 1 (Type VT<em>UI4)<\/em><\/li>\n<li><code>MF_MT_H264_SVC_CAPABILITIES<\/code>: 1 (Type VTUI4)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/blockquote>\n<p><a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/12\/MediaFoundationCaptureCapabilities.png\" rel=\"attachment wp-att-1580\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1580\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/12\/MediaFoundationCaptureCapabilities.png\" alt=\"MediaFoundationCaptureCapabilities\" width=\"527\" height=\"489\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/12\/MediaFoundationCaptureCapabilities.png 527w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/12\/MediaFoundationCaptureCapabilities-320x297.png 320w\" sizes=\"auto, (max-width: 527px) 100vw, 527px\" \/><\/a><\/p>\n<p>Download:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.alax.info\/svn\/public\/trunk\/Toolbox\/MediaFoundationCaptureCapabilities-Win32.exe\">MediaFoundationCaptureCapabilities-Win32.exe<\/a> (32-bit)<\/li>\n<li><a href=\"https:\/\/www.alax.info\/svn\/public\/trunk\/Toolbox\/MediaFoundationCaptureCapabilities-x64.exe\">MediaFoundationCaptureCapabilities-x64.exe<\/a> (64-bit)<\/li>\n<\/ul>\n<p>Sample Data:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.alax.info\/svn\/public\/trunk\/Utilities\/MediaFoundation\/CaptureCapabilities\/Data\/Logitech%20Webcam%20C930e,%20Blackmagic%20WDM%20Capture.md\">Logitech Webcam C930e, Blackmagic WDM Capture.md<\/a><\/li>\n<\/ul>\n<p>See Also:<\/p>\n<ul>\n<li><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/dd317912\">Audio\/Video Capture in Media Foundation<\/a><\/li>\n<li><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/dd940326\">Enumerating Video Capture Devices<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Just like with DirectShow video capture capability information, it is helpful to unerstand what Medfia Foudnation video capture offering is exactly. Specifically: Video and audio sources available with MFEnumDeviceSources and MFCreateDeviceSource Source attributes, streams, media types DirectShow compatible representations H.264 realated attributes in media types might be not so obvious and device might report too&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/1579\">Read the full article<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[424,486,70],"class_list":["post-1579","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-media-foundation","tag-video","tag-winapi"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/comments?post=1579"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1579\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=1579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=1579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=1579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}