摘要
隨著計算機性能和網絡通信技術的發展,人們開始借助于網絡瀏覽信息、交換數據和商業交易。而圖像、視頻等多媒體業務已逐漸成為信息處理領域中主要的信息媒體形式。微軟公司為軟件開發人員提供了一個專門用于視頻開發的工具包VFW。同時給出了其他幾種捕捉視頻的方法與采用VFW方法相比較。
Windows Socket在網絡編程方面發揮著很大的作用,在VC6.0編程環境下無論設計網絡數據傳輸程序還是網絡嗅探器都是簡潔高效的。在傳輸數據時應注意網絡傳輸的安全性問題,避免重要信息(如用戶名、密碼)的泄露。
本文介紹了基于Windows Socket的網絡數據傳輸,TCP和UDP協議,同時對 Video for windows 軟件中AVICap窗口類提供的主要函數和功能進行描述,以及如何使用AVICap窗口類進行視頻捕捉。主要闡述了使用VC++6.0進行軟件開發,利用VFW軟件開發視頻應用程序的基本原理,設計在WINDOWS平臺實現基于VFW的視頻采集壓縮傳輸與播放系統。本文給出了部分代碼。
關鍵詞:VFW;視頻;壓縮;傳輸
Abstract
Along With the computer performance and development of network communication development, people start with network browsing information 、data exchange and business transactions. Image, video and so on multimedia services has become the main information processing information media forms. Microsoft for software developers to provide a video devoted to the development of the tool kit VFW. Also given several other video capture methods and methods used VFW comparison.
Windows Socket plays an important role in network programming. in VC++6.0 environment,It’ all
Concise and effective No matter design network data transmission program or network sniffer. In data transmission should pay attention to the safety of network transmission, Avoid important information (such as the user name and password) Leakage.
This paper introduces based on the network data transmission ,TCP and UDP protocol ,Also Description on Video for Windows software AVICap window class for the main function and function, as well as how to use AVICap window class for video capture. Mainly expounds using VC++ 6.0 software development, and using VFW software to develop the basic principle of video applications, Design how to realize the system based on the collected VFW video compression transmission and broadcast in WINDOWS platforms. This paper presents some of the code.
Keywords: video for windows, video, compress, transmit