This paper first introduces the AVICAP component of VFW and the implementation of video capture, then explains the implementation of the media control interface (MCI) and recording and the implementation of U12 and U12 signal acquisition, and finally describes the principle of multi-threading and the implementation of synchronous acquisition of image, sound and U12 data. With the improvement of computer performance and the development of people\'s needs, multimedia technology has developed rapidly and has been or will be widely used in multimedia services and various monitoring systems. In these services or systems, obtaining audio and video data is a very important part. In addition, in some monitoring systems, there are some signals that need to be collected. The car monitoring system described in this article not only needs to collect audio and video data to monitor the driver\'s field of view and sound information, but also needs to record the driver\'s operation information (such as braking, clutch) and various state information of the car\'s driving (such as vehicle speed), and all these data (including audio and video data) need to be synchronized. It can be seen that the research and implementation of synchronous acquisition of audio and video and other data has important application value. The data acquisition principle of the developed automobile monitoring system is as follows: In video capture, the video source we use is a computer eye based on the USB port, which supports VFW (Video for Windows). VFW is a video service library added to the Windows operating system, which contains components such as MCIAVI, DRAWDIB, AVIFILE and AVICAP. Our video acquisition is completed through the messages, macro functions, structures and callback functions in the AVICAP component; in recording, the recording source we use is an ordinary MIC (microphone), and MCI is used to realize sound recording. MCI (MediaControl Interface) media control interface is a set of standard interfaces for multimedia devices and files provided by Microsoft; other data are collected by U12 (full name JK-U12), which is a multi-functional data acquisition and control module based on the USB port. In realizing the synchronous acquisition of the above data, we use the multi-threading technology of VC++. The following introduces the implementation process of each part.
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore