新手上路
二星級會員
- 舊站積分
- 17
- 舊站發表文章數
- 126
|
發表於 2007-8-12 14:26:50
|
顯示全部樓層
底下也是從網路找到的,有興趣就看看吧!
====================================================
什麼是VMR9未渲染
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.
In renderless mode, the VMR-9 does not automatically load its mixer component.
In renderless playback mode, the application does the following tasks:
* Manages the playback window.
* Allocates the DirectDraw or Direct3D object and the final frame buffer.
* Notifies the rest of the playback system of the object being used.
* Presents the frame buffer at the correct time.
* Handles all resolution-mode changes, monitor changes, and surface losses. It must advise the rest of the playback system of these events.
The VMR does the following:
* Handles all timing related to presenting the video frame.
* Provides quality-control information to the application and the rest of the playback system.
* Presents a consistent interface to the upstream components of the playback system, which are not aware that the application is providing the frame buffer allocation and performing the rendering.
* Provides any mixing of video streams that may be required prior to rendering.
====================================================
顯示視頻
DirectShow 提供了如下過濾器來顯示視頻:
l Video Renderer 過濾器. 該過濾器可用於所有的支持DirectX的平台,它對平台沒有其它特殊的要求。可以是它,或GDI來顯示視頻。它是在WindowsXP之前操作系統的默認視頻顯示過濾器。
l Video Mixing Renderer Filter 7 (VMR-7). VMR-7可用於WindowsXP操作系統,並且是該系統下的默認視頻顯示過濾器。與老的視頻顯示過濾器相比,它具有一些更強大的性能,包括採用插件模式來控制DirectShow顯示。
l Video Mixing Renderer Filter 9 (VMR-9). VMR-9是一個更新的視頻混合顯示過濾器,它採用了Direct3D來顯示。它可用於所有的支持DirectX的平台。它不是默認的顯示過濾器,因為它與其它的顯示過濾器相比,對系統要求更高。
一般來說,在視頻顯示應用上,VMR-9是首選。因為,它使用了最新的圖像API,並且提供了最好的性能。
窗體模式和非窗體模式
DirectShow視頻顯示可以選擇在窗體模式或者非窗體模式下進行。
l 在窗體模式下,視頻將創建一個它自己的窗體來顯示。
l 在非窗體模式下,視頻可以自己在你程序的一個窗口上顯示,而不讓視頻自己區創建窗體來顯示。
Video Renderer過濾器只支持窗體模式,VMR-7和VMR-9支持這兩種模式。它們默認狀態是窗體模式。
====================================================
這有也有些中文說明
Direct3D 環境中的 DirectShow 影片
關於Video Renderer和Overlay Mixer(簡體的) |
|