Hardware Dev Center

VMRPlayer Sample

Microsoft DirectShow 9.0

VMRPlayer Sample

This sample uses the Video Mixing Renderer 9 (VMR-9) filter to alpha blend one or two running videos and a static image.

User Guide's

To open the first video, choose Open Primary Stream from the File menu. To open a second video, choose Open Secondary Stream from the File menu (you must open the primary stream first). To play the video, click the Play button.

You can set the position, size, and alpha values of the videos by selecting Primary Stream or Secondard Stream from the VMR Properties menu.

To add a static bitmap over the video, choose Static App Image from the VMR Properties menu and click the Display App Image box. You can use the same dialog to control the position, size, and alpha value of the bitmap.

To capture the blended video image, choose Capture Bitmap Image from the VMR Properies menu.

You can also specify the primary image stream from the command line:

VMRPlayer /P filename

See Also

© 2015 Microsoft