{"id":1917,"date":"2019-03-17T20:28:11","date_gmt":"2019-03-17T18:28:11","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=1917"},"modified":"2019-03-17T20:28:11","modified_gmt":"2019-03-17T18:28:11","slug":"directshow-vmr-7-bug-in-windows-10","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/1917","title":{"rendered":"DirectShow VMR-7 bug in Windows 10"},"content":{"rendered":"\n<p>DirectShow <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/desktop\/directshow\/video-mixing-renderer-filter-7\">Video Mixing Renderer (VMR-7) filter<\/a> exhibits a (regression?) bug in Windows 10 systems. When aspect ratio preservation is enabled in <code><a href=\"https:\/\/technet.microsoft.com\/en-us\/dd390954(v=vs.71)\">VMR_ARMODE_LETTER_BOX<\/a><\/code> mode, which makes overall sense as default mode quote so often, the letterboxing does not work as expected.<\/p>\n\n\n\n<p>The problem is easy to reproduce with a well known <code><a href=\"https:\/\/github.com\/Microsoft\/Windows-classic-samples\/tree\/master\/Samples\/Win7Samples\/multimedia\/directshow\/players\/dshowplayer\">DShowPlayer<\/a><\/code>SDK sample application, with an edit enforcing VMR-7 mode. Once video is started, just resize the window and the parts not covered by video will not be erased as expected.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"475\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2019\/03\/Clipbrd1-1-800x475.png\" alt=\"\" class=\"wp-image-1918\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2019\/03\/Clipbrd1-1-800x475.png 800w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2019\/03\/Clipbrd1-1-320x190.png 320w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2019\/03\/Clipbrd1-1-768x456.png 768w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2019\/03\/Clipbrd1-1-600x356.png 600w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2019\/03\/Clipbrd1-1.png 1439w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>Apparently this worked well earlier.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DirectShow Video Mixing Renderer (VMR-7) filter exhibits a (regression?) bug in Windows 10 systems. When aspect ratio preservation is enabled in VMR_ARMODE_LETTER_BOX mode, which makes overall sense as default mode quote so often, the letterboxing does not work as expected. The problem is easy to reproduce with a well known DShowPlayerSDK sample application, with an&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/1917\">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":[63,78,150],"class_list":["post-1917","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-bug","tag-directshow","tag-windows"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1917","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=1917"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1917\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=1917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=1917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=1917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}