刘意先++邹鹏
摘要: 为了在网络条件较好的局域网或专用网络上快速开发视频监控系统,提出一种不需要视频编码协议和特殊监控摄像设备的设计方案。该方案在Windows平台上使用普通摄像头进行图像的视频采集,并使用开源的图像处理库程序CxImage对图像帧进行处理,通过网络套接字接口进行传输并在Windows系统上进行显示,并能对监控系统的接入进行身份验证。经过测试该方案能提供稳定的视频监控效果,说明该方法能在网络状态稳定的局域网条件下通过无视频编码协议的方式进行应用,降低了系统开发的复杂度和成本。
关键词: 视频监控; 局域网; 视频编码; JPEG
中图分类号: TN919⁃34; TN964⁃34 文献标识码: A文章编号: 1004⁃373X(2014)08⁃0035⁃03
Design and implementation of video surveillance system based on LAN
LIU Yi⁃xian1, ZHOU Peng2
(1. Information Security and Countermeasure Experiment Teaching Center, Xian University of Posts and Telecommunications, Xian 710121, China;
2. Lanzhou Branch Company of Gansu Subsidiary, China Telecom Corporation Limited, Lanzhou 730030, China)
Abstract: For rapidly developing a video surveillance system on LAN or special network which has good condition, a design approach which doesnt need video encoding protocol and special surveillance camera device is proposed in this paper. In this approach, a normal camera is used in Windows platform to capture the video image, the open source image processing library program CxImage to compress the image frames, and then the data is transfered through network socket interface and displayed on Windows operating system. It also can verify the identity of accesser which wants to access the surveillance system. The testing result indicates that the approach can provide stable video surveillance effect, and shows that this approach can be used in the mode without video encoding protocol under the condition of LAN with stable network state. This approach decreased the development complexity and cost.
Keywords: video surveillance; LAN; video encode; JPEG
0引言
随着网络技术发展和相关基础设施的完善,网络监控技术的应用得到了越来越多的应用。目前视频监控技术研究的方向包括如何对视频图像的内容进行智能的处理,提高监控的效果[1⁃3],另一方面是针对视频数据进行编码,降低需要传输的数据量[4⁃7]。而对于基于网络的监控系统在实际应用中,为了保证监控的实时性,多将系统架设在网络条件较好的局域网或专用网上。本文设计并实现了一个在常用的Windows系统下借助高速以太网,利用现有的摄像头等硬件设备,来实施快速架设的远程监控系统。系统利用VFW(Video for Windows)来捕捉视频。将视频的每一帧通过CxImage库压缩成JPEG图像格式,很大程度的减小数据体积便于网络传输。服务器在进行数据链接时,还要对客户端进行必要的质询握手验证措施。……