摘要
Microsoft DirectShow是一个基于Microsoft Windows平台的流媒体体系结构,它把应用程序与数据传输、硬件差异、同步等复杂工作分离开来,使开发流媒体应用更加高效.本文介绍了用DirectShow从USB摄像头捕获视频数据以及实现视频预览、压缩、写入文件的方法,并给出了在Microsoft Visual C++.Net中实现这些功能的主要代码片断.
Microsoft DirectShow is architecture for streaming media on Windows platform. It makes the task of creating streaming media applications more efficient by isolating applications from the complexities of data transports, hardware differences, and synchronization. It is introduced in this article how to capture video data from a USB camera with DirectShow, as well as some other techniques, including preview, video compression, and writing video data into file. Some important code fragment to implement these tasks in Microsoft Visual C++. Net is also provided.
出处
《山东理工大学学报(自然科学版)》
CAS
2006年第1期96-98,共3页
Journal of Shandong University of Technology:Natural Science Edition