Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
DirectShow
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Video rendering filters== Originally, in [[Windows 9x]], DirectShow used the ''Video Renderer'' filter. This drew the images using [[DirectDraw]] 3, but could also fall back to [[Graphics Device Interface|GDI]] or [[Video overlay|overlay]] drawing modes in some circumstances (depending upon the visibility of the video window and the video card's capabilities).<ref name="DShowFAQ"/><ref>{{cite web|url=https://msdn.microsoft.com/en-us/library/aa916593.aspx|title=DirectShow Video Renderer Filter|work=MSDN Library|publisher=Microsoft|access-date=2010-08-17}}</ref> It had limited access to the video window.{{Citation needed|date=August 2010}} [[Video for Windows]] had been plagued with [[Deadlock (computer science)|deadlock]]s caused by applications' incorrect handling of the video windows, so in early DirectShow releases, the handle to the playback window was hidden from applications. There was also no reliable way to draw caption text or graphics on top of the video.{{Citation needed|date=March 2010}} DirectShow 6.0, released as part of [[DirectX Media]] introduced the ''Overlay Mixer'' renderer designed for [[DVD]] playback and [[Broadcasting|broadcast]] video streams with [[closed captioning]] and [[Subtitle (captioning)|subtitles]].{{Citation needed|date=August 2010}} The ''Overlay Mixer'' uses DirectDraw 5 for rendering.<ref name="DShowFAQ"/> Downstream connection with the ''Video Renderer'' is required for window management.{{Citation needed|date=August 2010}} ''Overlay Mixer'' also supports Video Port Extensions (VPE), enabling it to work with analog [[TV tuner card|TV tuners]] with overlay capability (sending video directly to a video card via an analog link rather than via the [[Peripheral Component Interconnect|PCI bus]]). ''Overlay Mixer'' also supports [[DXVA]] connections.{{Citation needed|date=August 2010}} Because it always renders in [[Video overlay|overlay]], full-screen video to [[TV-out]] is always activated. Starting with [[Windows XP]], a new filter called the ''Video Mixing Renderer 7'' (''VMR-7'' or sometimes just referred to as ''VMR'') was introduced. The number 7 was because VMR-7 only used [[DirectDraw]] version 7 to render the video and did not have the option to use GDI drawing. The main new feature of VMR-7 was the ability to mix multiple streams and graphics with alpha blending, allowing applications to draw text and graphics over the video and support custom effects.<ref name="VMR-7">{{cite web|url=https://msdn.microsoft.com/en-us/library/ms787917.aspx|title=Video Mixing Renderer 7 (VMR-7)|access-date=September 11, 2005}}</ref> It also featured a "windowless mode" (access to the composited image before it is rendered) which fixed the problems with access to the window handle.<ref name="windowless mode">{{cite web|url=https://msdn.microsoft.com/en-us/library/ms788128.aspx|title=VMR Windowless Mode|work=MSDN Library|publisher=Microsoft|access-date=2005-09-11}}</ref> DirectX 9 introduced ''VMR-9'', which is included in Windows XP SP2 and newer.<ref>{{cite web |url=http://msdn.microsoft.com/en-gb/library/ee416979(VS.85).aspx |title=Programming Guide for the DirectX SDK |website=msdn.microsoft.com |access-date=11 January 2022 |archive-url=https://web.archive.org/web/20101018035741/http://msdn.microsoft.com/en-gb/library/ee416979(VS.85).aspx |archive-date=18 October 2010 |url-status=dead}}</ref> This version uses [[Direct3D]] 9 instead of DirectDraw, allowing developers to transform video images using the Direct3D pixel shaders.<ref name="VMR-9">{{cite web|url=https://msdn.microsoft.com/en-us/library/ms787918.aspx|title=Video Mixing Renderer 9 (VMR-9)|work=MSDN Library|publisher=Microsoft|access-date=2005-09-11}}</ref> It is available for all Windows platforms as part of the DirectX 9 redistributable.{{Citation needed|date=August 2010}} As ''VMR-7'' it provides a Windowless Mode. However, unlike ''Overlay mixer'' or ''VMR-7'' it does not support video ports.<ref>{{cite web|url=https://msdn.microsoft.com/en-us/library/dd407344(VS.85).aspx|title=Video Mixing Renderer Filter 9|work=MSDN Library|publisher=Microsoft|access-date=2005-09-11}}</ref> Using the [[NTLDR#NT kernel switches|/3GB boot option]] may cause VMR-9 to fail.<ref>{{Cite web|url=http://forum.videohelp.com/threads/292160-Loss-of-DirectDraw-Overlay-and-VMR9-after-upgrade-update|title = Loss of DirectDraw Overlay and VMR9 after upgrade/Update}}</ref> [[Windows Vista]] and [[Windows 7]] ship with a new renderer, available as both a [[Media Foundation]] component and a DirectShow filter, called the ''Enhanced Video Renderer'' (''EVR'').<ref name="EVR">{{cite web|url=https://msdn.microsoft.com/en-us/library/ms694916.aspx|title=Enhanced Video Renderer|work=MSDN Library|publisher=Microsoft|access-date=2007-02-28}}</ref> EVR is designed to work with [[Desktop Window Manager]] and supports [[DXVA|DXVA 2.0]], which is available on Windows Vista and Windows 7.<ref>{{cite web |url=http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2079713&SiteID=1 |title=DXVA 1.0 translator |author=Various |work=MSDN Media Foundation forum |publisher=Microsoft |access-date=2010-08-18 |url-status=dead |archive-url=https://web.archive.org/web/20090113003558/http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2079713&SiteID=1 |archive-date=2009-01-13 }}</ref>{{Citation needed|date=August 2010}} It offers better performance and better quality according to Microsoft.<ref>{{cite web|url=https://msdn.microsoft.com/en-us/library/dd374574(VS.85).aspx|title=Choosing the Right Video Renderer|work=MSDN Library|publisher=Microsoft|access-date=2005-09-11}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)