VMR (Video Mixing Renderer)

In terms of both performance and breadth of features, the Video Mixing Renderer (VMR) filter represents the next generation in video rendering on the Windows platform. The VMR replaces the Overlay Mixer and Video Renderer, and adds many new mixing features.

The VMR was first made available for the Windows XP platforms only. Beginning with DirectX 9.0, a separate version of the VMR, called the VMR-9, is available for redistribution on all platforms supported by DirectX. The two VMR filters are very similar in their implementation and the interfaces that they expose. The primary difference is that the original VMR (now called the VMR-7) uses DirectDraw 7 internally to control the video hardware, while the new version of VMR (called the VMR-9) uses Direct3D 9.



VMR vs. Previous DirectShow Renderers

With the old filters, different renderers would be required in the graph depending on the hardware configuration.

The Video Renderer filter was used to render a single video stream in non-video port scenarios. It was based on graphics hardware technology which is now over five years old, and on an older version of DirectDraw. In certain scenarios, it uses GDI for rendering. This is done either to conserve video resources, which were much more limited five years ago, or else to overcome limitations in DirectDraw that were related to multi-monitor support. Neither the VMR-7 nor the VMR-9 ever uses GDI for rendering; the VMR-7 is based completely on DirectDraw 7 and the VMR-9 is based on Direct3D 9.

In scenarios involving either a video port or multiple video input streams, prior to the VMR the Overlay Mixer filter was used for rendering. This filter only uses the hardware overlay on the graphics card, and so is generally limited to the one overlay surface provided by most cards. The Overlay Mixer performs destination color keying, but it is not capable of alpha blending. Because it does not have a window manager, it must use a second filter, the Video Renderer, for window management. The VMR is capable of true alpha blending, and can create multiple overlays in software in addition to the hardware overlays.

The VMR is more robust than the earlier renderers, in part because it only uses DirectDraw 7 (or Direct3D 9 if you are using the VMR-9) interfaces, as opposed to the old renderers which used a mixture of interfaces from older and newer versions of DirectDraw. The VMR also employs a new image presentation mechanism which is designed for current and future generations of adapters, which have support for Direct3D, increased VRAM and video memory bandwidth, and hardware acceleration features.



VMR System Requirements

The VMR uses the graphics-processing capabilities of the computer's display card exclusively; the VMR does not perform any blending or rendering of video using the host processor, because to do so would greatly impact the frame rate and quality of the video being displayed. When taking advantage of the new features offered by the VMR, particularly blending of multiple video streams and/or application images, the overall performance obtained is highly dependent on the capabilities of the graphics card being used on the computer. Graphics cards that perform well with the VMR have the following hardware support built into them:

- Support for YUV and "non-power of 2" Direct3D texture surfaces.
- The ability to StretchBlt from YUV to RGB DirectDraw surfaces.
- At least 16MB of video memory if multiple video streams are to be blended together. The actual amount of memory required is dependent on the image size of the video streams and resolution of the display mode being used.
- Support for an RGB overlay or the ability to blend to a YUV overlay surface.
- Hardware-accelerated video (support for DirectX Video Acceleration) decoding.
- High pixel fill rates.

* Note The VMR requires that the system monitor be set for a color depth of at least 16 bits. The VMR cannot be put into a run state if the monitor is set for 256 colors. Also, some video cards cannot perform Direct3D operations when the display is set to 24 bits per pixel.



Choosing the Right Renderer

With DirectX 9.0, DirectShow provides four separate video renderers: the old Video Renderer, the Overlay Mixer, the VMR-7 and the VMR-9. For various reasons, no single renderer is preferable in all scenarios. The following guidelines should help you decide which renderer to use in your application:

- Existing applications that require only basic video rendering, with no mixing
Use the VMR-9 for its improved de-interlacing and ProcAmp support. Use the old default video renderer if you know in advance that the video hardware is not sufficient to support the VMR-7 or VMR-9.

- Applications based on devices that use video ports
Use the Overlay Mixer if support on platforms earlier than Windows XP is required. If the application will only run on Windows XP, then use the VMR-7. The VMR-9 does not support video ports.

- Applications that require any of the special capabilities of the VMR
Use the VMR-9 rather than the VMR-7 because the VMR-9 supports the latest Direct3D capabilities and is supported on all platforms supported by DirectX. If you specifically target the VMR-7, your application will run only on Windows XP.


Extract from MSDN
YOUR COMMENT IS THE CRITICAL SUCCESS FACTOR FOR THE QUALITY OF BLOG POST
  1. Favicon of http://www.dissertation-help.co.uk/ BlogIcon dissertations 2010.11.04 20:48  댓글주소  수정/삭제  댓글쓰기

    it was really great!! your site give us lots of things but specially your general knowledge like this ! that is awesome . keep it up... :)

  2. Favicon of http://www.termpapers-guide.com/ BlogIcon term paper assignment 2011.04.08 20:23  댓글주소  수정/삭제  댓글쓰기

    It’s very rare that you find the relevant information on the net but your article did provide me the relevant information. I am going to save your URL and will definitely visit the site again.

  3. Favicon of http://www.timberlandbaratas.com BlogIcon outlet timberland 2012.12.25 12:35  댓글주소  수정/삭제  댓글쓰기

    Le site "Créateurs de possibles", http://www.timberlandbaratas.com timberland españa, le réseau social de l'UMP mis en place à grands frais et sans succès par l'ancien secrétaire général de l'UMP Xavier Bertrand, http://www.timberlandbaratas.com timberland, sera prochainement fermé, http://www.timberlandbaratas.com Timberland Online, a indiqué mardi l'entourage de son successeur Jean-Fran?ois Copé, http://www.timberlandbaratas.com Timberland shops. "Les créateurs de possibles sont morts-nés", http://www.timberlandbaratas.com barato timberland, a-t-on déclaré de même source, http://www.timberlandbaratas.com Timberland. Politique Longuet sur les 35 heures: "cela arrange le patronat d'avoir des subventions" Politique Woerth : "Matignon a tranché" dans la cession de l'hippodrome de CompiègneRelated articles:


    http://niki.tistory.com/19 La gendarmerie a fait état mercredi matin de plusieurs témoignages "intéressants" apportant "une

    http://leetaey.tistory.com/54 Entreprises Manque de glycol à Roissy: ADP avait prévenu NKM avant la pagaille Economie Les 35 h

  4. Favicon of http://www.timberlandbaratas.com BlogIcon timberland 2012.12.25 16:05  댓글주소  수정/삭제  댓글쓰기

    La Bourse de New York a fini en légère baisse vendredi, http://www.timberlandbaratas.com Timberland, affectée par des chiffres de l'emploi décevants aux Etats-Unis et un accès de faiblesse des valeurs bancaires: le Dow Jones a perdu 0, http://www.timberlandbaratas.com barato timberland,19% et le Nasdaq 0, http://www.timberlandbaratas.com Hombre Timberland,25%, http://www.timberlandbaratas.com Timberland shops. Economie Le "plus vieux bar homosexuel d'Europe" a fait faillite Economie Renault: Besson et la piste chinoiseRelated articles:


    http://program.iamvip.net/135 Face au concert de protestations des fans du Roi de la pop

    http://skablue.tistory.com/353 Quatre mineurs agés entre 14 et 16 ans

  5. Favicon of http://www.moncleroutletespain.com/ BlogIcon moncler outlet 2013.01.04 14:06  댓글주소  수정/삭제  댓글쓰기

    Le gazole non routier, http://www.moncleroutletespain.com/ http://www.moncleroutletespain.com/, un carburant destiné aux tracteurs agricoles ou forestiers et à certains bateaux de plaisance et de navigation intérieure, http://www.moncleroutletespain.com/ moncler chaquetas, va progressivement remplacer le fioul domestique en 2011, http://www.moncleroutletespain.com/ moncler españa, a annoncé mercredi l'Union fran, http://www.moncleroutletespain.com/ moncler outlet?aise des industries pétrolières (Ufip), http://www.moncleroutletespain.com/ moncler online. Economie Les visiteurs médicaux de Sanofi-Aventis manifestent Economie Le Monde: 8 candidats au poste de directeur à ce jourRelated articles:


    http://devbible.tistory.com/117 http://devbible.tistory.com/117

    http://ywpop.tistory.com/182 http://ywpop.tistory.com/182

  6. Favicon of http://www.moncleroutletespain.com/ BlogIcon moncler outlet 2013.01.04 16:46  댓글주소  수정/삭제  댓글쓰기

    La Chine "est favorable" aux "contacts et au dialogue" entre les deux Corées, http://www.moncleroutletespain.com/ moncler online, a déclaré jeudi le ministère des Affaires étrangères au lendemain d'une offre par la Corée du Nord d'ouvrir "sans conditions et rapidement" des pourparlers avec la Corée du Sud, http://www.moncleroutletespain.com/ moncler españa.Related articles:


    http://www.b-mdigital.com/147 http://www.b-mdigital.com/147

    http://jeongsw.tistory.com/422 http://jeongsw.tistory.com/422

  7. Favicon of http://www.moncleroutletespain.com/ BlogIcon moncler chaquetas 2013.01.05 17:06  댓글주소  수정/삭제  댓글쓰기

    Le journaliste-écrivain Patrick Poivre d'Arvor, http://www.moncleroutletespain.com/ moncler online, accusé d'avoir plagié dans sa biographie d'Hemingway un livre de 1985, http://www.moncleroutletespain.com/ http://www.moncleroutletespain.com/, se dit jeudi "sidéré" par ce décha, http://www.moncleroutletespain.com/ moncler outlet?nement de malveillance, http://www.moncleroutletespain.com/ moncler españa, selon lui, http://www.moncleroutletespain.com/ moncler chaquetas, et accrédite la thèse de son éditeur d'une erreur dans la version envoyée aux journalistes, http://www.moncleroutletespain.com/ moncler. Expositions Les primitifs de la photographie Livres PPDA "sidéré" par les accusations de plagiatRelated articles:


    http://808sky.tistory.com/4 http://808sky.tistory.com/4

    http://paragonofjoke.tistory.com/114 http://paragonofjoke.tistory.com/114