Fundamentals of Audio and Video Programming for Games (Pro-Developer)

So far, we ve been glossing over the fact that DirectShow has more than one video rendering filter. In our filter graph diagram, we just labeled one of the boxes video renderer and left it at that. However, for historical reasons, and because each release of DirectShow needed to remain backward-compatible , there are no fewer than five distinct video renderer filters to choose from:

All the video applications in this book use the VMR-9, because it has the features needed to combine video and 3-D graphics. By default, however, the RenderFile method will always use either the old Video Renderer filter or the VMR-7. To use the VMR-9, therefore, an application must explicitly select it. You ll learn how to do that shortly.

Note  

When we refer to the VMR in this book, we always mean the VMR-9 unless we specify the VMR-7. The two filters use different COM interfaces and have somewhat different capabilities. However, much of the information in this book can be applied to the VMR-7 as well.

Категории