Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

Video Mixing Renderer Filter 7

Feedback

In this article

[The feature associated with this page,DirectShow, is a legacy feature. It has been superseded byMediaPlayer,IMFMediaEngine, andAudio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code useMediaPlayer,IMFMediaEngine andAudio/Video Capture in Media Foundation instead ofDirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

This topic applies to Windows XP or later.

In Windows XP and later, the Video Mixing Renderer 7 (VMR-7) is the default video renderer. It is called the VMR-7 because internally it uses DirectDraw 7. In DirectX 9, a similar but separate filter, the VMR-9, is available for redistribution on non-XP systems. The VMR-9 uses Direct3D 9.

Note

The VMR is available on Windows XP and later. It is not available through the DirectX redistributable, or on previous versions of Windows. For most scenarios, applications should use theVideo Mixing Renderer 9.

 

Features of the VMR include:

  • True alpha blending of up to 16 input streams
  • Access to the composited image before it is rendered
  • A plug-in model that enables third-parties to implement custom video effects.
  • Support for up to 15 monitors.

During graph building on Windows XP and later, the Filter Graph Manager will not use the older Video Renderer or Overlay Mixer filters, unless the application explicitly creates them and adds to the graph.

For more information, seeUsing the Video Mixing Renderer.

LabelValue
Filter InterfacesAll modes:Windowed mode:
Windowless mode:
Renderless mode:
Mixer mode:
For information about the various VMR-7 modes, seeVMR Modes of Operation.
Input Pin Media TypesMajor type: MEDIATYPE_VideoSubtype: Depends on the graphics hardware. Must be uncompressed video.
Input Pin Interfaces
Output Pin Media TypesNot applicable.
Output Pin InterfacesNot applicable.
Filter CLSIDThere are two CLSIDs associated with this filter:
  • CLSID_VideoMixingRenderer: Creates the VMR-7. If there are not enough system resources to create the VMR-7, the call toCoCreateInstance fails.
  • CLSID_VideoRendererDefault: Creates the VMR-7 if system resources are available, or else creates the oldVideo Renderer filter.
Use CLSID_VideoMixingRenderer if you need the specific capabilities of the VMR-7. Otherwise, use CLSID_VideoRendererDefault, which is almost certain not to fail, because it falls back to the old Video Renderer filter.
Property Page CLSIDNot applicable.
ExecutableQuartz.dll
MeritMERIT_PREFERRED + 1
Filter CategoryCLSID_LegacyAmFilterCategory

 

Remarks

The input pin exposes theIOverlay interface only when the VMR-7 filter is in windowed mode. The onlyIOverlay method that the pin implements isGetWindowHandle, which enables an application to obtain a handle to the filter's video window. All otherIOverlay methods return E_NOTIMPL. In windowless mode, the filter does not create a video window, so the pin does not expose the interface.

An application can provide a custom allocator-presenter object that exposes the following interfaces:

For more information about custom allocator-presenters, seeSupplying a Custom Allocator-Presenter for VMR-7.

An application can also provide a custom plug-in compositor that exposes the following interface:

To configure the VMR with a custom compositor, callIVMRFilterConfig::SetImageCompositor.

Related topics

DirectShow Filters

 

 


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?