如果我想向主持人/ VMR提供应在交付后立即渲染的帧。
1.)如何将帧发送给演示者?
2.)在这种情况下,我是否必须实现自己的演示者?这令人难以置信,整个MSDN都没有说何时或为什么实现自己的演示者。
最佳答案
底线:您不需要,也许您不应该在明确了解其用途之前不进行自定义A / P。
earlier topics中关于自定义分配器/演示者对您有用的一些信息:
In renderless playback mode, the VMR does not perform the rendering. Instead, it uses a custom allocator-presenter supplied by the application. This mode is useful for games and other types of applications that have sophisticated video effects. Renderless playback mode enables the applications to create and control its own DirectDraw surface (VMR-7) or Direct3D surface (VMR-9), and to access the video bits at presentation time.
关于audio - Windows Media Foundation中的EVR的自定义演示者,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17307358/