WES7相关杂记
来源:互联网 发布:设计网页的软件 编辑:程序博客网 时间:2024/05/29 08:35
DirectShow:
DirectShow (sometimes abbreviated as DS or DShow), codename Quartz, is a multimedia framework and API produced by Microsoft for software developers to perform various operations with media files or streams. DirectShow provides a common interface for media across various programming languages, and is an extensible, filter-based framework that can render or record media files on demand at the request of the user or developer. DirectShow development tools and documentation are distributed as part of the Windows SDK.
DirectShow's counterparts on other platforms include Apple's QuickTime framework and various Linux multimedia frameworks such as GStreamer or Xine. Microsoft plans to completely replace DirectShow gradually with Media Foundation in future Windows versions.
DirectShow divides a complex multimedia task (e.g. video playback) into a sequence of fundamental processing steps known as filters. Each filter — which represents one stage in the processing of the data — has input and/or output pins that may be used to connect the filter to other filters. To implement a specific complex task, a developer must first build a filter graph by creating instances of the required filters, and then connecting the filters together.
During the rendering process, the filter graph searches the Windows Registry for registered filters and builds its graph of filters based on the locations provided. After this, it connects the filters together, and, at the developer's request, executes (i.e., plays, pauses, etc.) the created graph. DirectShow filter graphs are widely used in video playback (in which the filters implement functions such as file parsing, video and audio demultiplexing, decompressing and rendering) as well as for video and audio recording, editing, encoding, transcoding or network transmission of media. Interactive tasks such as DVD navigation may also be controlled by DirectShow.
Depending on the filter, data is either "pulled" from an input pin or "pushed" to an output pin in order to transfer data between filters. Each pin can only connect to one other pin and they have to agree on what kind of data they are sending.
Most filters are built using a set of C++ classes provided in the DirectShow SDK, called the DirectShow Base Classes. These handle much of the creation, registration and connection logic for the filter. For the filter graph to use filters automatically, they need to be registered in a separate DirectShow registry entry as well as being registered with COM.
By default, DirectShow includes a number of filters for decoding some common media file formats. Since the associated patented technologies are licensed in Windows, no license fees are required.
DirectShow Editing Services (DES), introduced in DirectX 8.0/Windows XP is an API targeted at video editing tasks and built on top of the core DirectShow architecture.
Video rendering filters: Windows Vista and Windows 7 ship with a new renderer, available as both a Media Foundation component and a DirectShow filter, called the Enhanced Video Renderer (EVR). EVR is designed to work with Desktop Window Manager and supports DXVA 2.0, which is available on Windows Vista and Windows 7. It offers better performance and better quality according to Microsoft.
src: http://en.wikipedia.org/wiki/DirectShow
- WES7相关杂记
- Java相关知识点杂记
- 杂记 数据库相关
- 面试相关杂记1
- 面试相关杂记2
- Vlan相关知识杂记
- “中间件”相关杂记
- TeleService相关杂记
- 数学相关概念杂记
- 编程杂记--事务相关
- WES7构建
- android 图片缓存相关杂记
- ue4 动画相关方法杂记
- WES7添加Touch功能
- NetworkLocation for WES7
- WES7去掉IE
- lzg_ad: WES7 技术概览
- 跟pp模块相关的开发杂记
- JSTL使用说明
- jsp 验证码
- log4j简介(二)
- DataGridView 列宽和行高自动调整的设定
- 【转 SQL 查询效率】无意间搜到,有点长,如果耐心看完,对你会有帮助
- WES7相关杂记
- Apache 代理服务的配置方法
- Log4j简介(三)
- 我的第一个U盘的XPE
- Linux0.11内核--指针的指针 任务结构体
- apache URL 转发
- Android将允许纯C/C++开发应用
- 删除C语言程序中所以的注释语句(有疑问)
- Apache commons project