{"id":2245,"date":"2022-06-06T18:03:19","date_gmt":"2022-06-06T16:03:19","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=2245"},"modified":"2022-06-06T18:03:19","modified_gmt":"2022-06-06T16:03:19","slug":"windows-11-virtual-video-camera","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/2245","title":{"rendered":"Windows 11 Virtual Video Camera"},"content":{"rendered":"\n<p>Just a quick hookup of my test Media Foundation media source into new Windows 11 <code><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/mfvirtualcamera\/nf-mfvirtualcamera-mfcreatevirtualcamera\">MFCreateVirtualCamera<\/a><\/code> API.<\/p>\n\n\n\n<p>Software video source is presented by Windows 11 as a video capture device. Finally, there is a nice way to create virtual cameras, even though Windows 11 (Windows Build 22000) is a minimal requirement.<\/p>\n\n\n\n<p>Application produced video stream is accepted by both Media Foundation and DirectShow APIs:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"760\" height=\"600\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-A-760x600.png\" alt=\"\" class=\"wp-image-2246\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-A-760x600.png 760w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-A-320x253.png 320w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-A-768x606.png 768w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-A-600x474.png 600w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-A-1040x821.png 1040w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-A.png 1206w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><figcaption>Media Foundation API based Windows Camera application showing virtual camera<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"544\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-B-800x544.png\" alt=\"\" class=\"wp-image-2247\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-B-800x544.png 800w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-B-320x217.png 320w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-B-768x522.png 768w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-B-600x408.png 600w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-B-1040x707.png 1040w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/20220606-B.png 1126w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption>DirectShow API based GraphStudioNext application showing virtual camera<\/figcaption><\/figure>\n\n\n\n<p>The new API works throough earlier introduced Frame Server subsystem: the new API pulls video frames from provided Media Foundation media sources and distributes data among the connected applications, the same way things happen with regular driver backed video sources.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Download <a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2022\/06\/MediaFoundationVirtualCamera-20220606-59c00c4e8f0549bfb165e33ffb6adfe83ff0ca94.7z\">MediaFoundationVirtualCamera.7z<\/a> and extract the contents<\/li><li>Run &#8220;regsvr32 MediaFoundationVirtualCameraMediaSource.dll&#8221; from elevated command line prompt<\/li><li>Run MediaFoundationVirtualCamera.exe<\/li><li>While MediaFoundationVirtualCamera.exe is running, a new camera is registered with the system and is available for the applications<\/li><\/ol>\n\n\n\n<p><a href=\"https:\/\/github.com\/roman380\/tmhare.mvps.org-vcam\">Vivek&#8217;s VCam<\/a> is finally to be phased out, but it will still take some time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just a quick hookup of my test Media Foundation media source into new Windows 11 MFCreateVirtualCamera API. Software video source is presented by Windows 11 as a video capture device. Finally, there is a nice way to create virtual cameras, even though Windows 11 (Windows Build 22000) is a minimal requirement. Application produced video stream&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/2245\">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":[78,424,132,486],"class_list":["post-2245","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-directshow","tag-media-foundation","tag-utility","tag-video"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/2245","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=2245"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/2245\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=2245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=2245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=2245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}