摘 要

随着越来越多的场合正向自动化无人职守迈进,尤其在安全、监控等领域。为了进一步降低成本,减少人力的投资,以及更集中、更方便的掌握现场情况,许多场合都采用了电子监控设备,如办公室,发电站,机场,海关等等领域。而这些电子设备的设计无疑涉及到这些领域的安全性,这就对监控设备的成本,稳定性,以及性能三方面都提出了更高的要求。

本系统的研究背景主要是根据现有视频监控系统的不足,旨在降低系统的成本和提高系统的性能。它采用了价格低廉的三星应用处理器S3C2410,并使用软件音、视频编解码器,能实现以250Kbps和350Kbps的编码位流速进行网络传输,并以160*128和320*240两种显示分辩率,可以进行良好的视频监控。同时,它的一个最大的特点是可以在终端上进行录像,而不需要通过PC机,这样既适合低功耗的场合,又可以减少的系统的复杂性。

图像采集终端则采用性价比很高的USB型摄像头,在市场上很容易买到,同时,USB型摄像头具有很好的通用性,驱动程序丰富,可以减少代码的编写。由于本系统使用标准的以太网进行传输,因此系统支持无限个终端进行级联,监控区域可以很轻易的进行扩大。

综上所述,本系统采用ARM9处理器,USB摄像头,标准以太网传输,实现了一个性能良好的视频监控系统。

关键词:嵌入式;Linux;ARM;CODEC;视频监控

 

 

 

 

Abstract

As more and more occasions no positive duty towards automation, especially in security, monitoring, and other fields. To further reduce costs and reduce manpower investment and more focused, more convenient to grasp the situation on many occasions used the electronic monitoring equipment, such as offices, power stations, airports, customs and so on the field. These electronic devices undoubtedly related to the design of these areas of security, which the monitoring equipment, the cost, stability and performance of all three areas a higher demand.

The system of background are mainly based on existing video surveillance system inadequate, aimed at reducing the cost and improve system performance. It uses the low price of Samsung’s application processor S3C2410, the use of software and audio and video codecs, to achieve 250 Kbps to 350 Kbps encoding and digital transmission network velocity, and  160 *128 and 320 * 240 two display resolution, Can be a good video surveillance. At the same time, one of its greatest feature is the terminal on the video, rather than through a PC, this is suitable for low power consumption of the occasion, can also reduce the complexity of the system.

Image Collection Terminal is a high cost-effective use of the USB-based camera, in the market is readily available, at the same time, USB-based camera has a good GM, driver rich, can reduce the preparation of the code. Since this system uses standard Ethernet transmission, the system supports an unlimited number of terminal cascade, the region can easily monitor the conduct of expansion.

In a word, this system uses ARM9 processor, USB camera, standard Ethernet transmission, to achieve a good performance of the video surveillance system.

Keyword:Embedded;Linux;ARM;CODEC;Video Surveillance

 

 

 

 

目  录

引言… 6

2 绪论… 7

2.1     课题研究的目的和意义… 7

3 网络监控系统概述… 8

3.1     系统简介… 8

3.2     系统组成… 8

3.3     系统框图… 8

4 嵌入式系统简介… 10

4.1     主流嵌入式操作系统的比较… 10

4.1.1Windows CE. 10

4.1.2Linux. 10

4.1.3VxWorks. 11

4.1.4μC/OS. 11

4.2     常用的嵌入式处理器… 11

4.2.1ARM… 11

4.2.2MIPS. 12

4.2.3PowerPC.. 12

5 ARM处理器… 13

5.1       ARM构架特点… 13

5.1.1ARM的特点… 13

5.1.2ARM的模式… 13

5.1.3ARM的状态    13

5.1.4ARM寄存器映射… 13

5.1.5ARM寻址方式… 14

5.2       现有主流ARM处理器… 15

5.2.1Samsung S3C2410. 15

5.2.2Atmel AT91RM9200. 16

5.2.3TI OMAP. 17

5.2.4Intel Xscale. 18

5.3       S3C2410硬件设计要点… 19

5.3.1S3C2410电源设计… 20

5.3.2S3C2410 USB接口设计… 20

5.3.3S3C2410 网络接口电路设计… 20

6 嵌入式Linux开发步骤… 22

6.1       GNU GCC简介… 22

6.2       开发环境的搭建… 22

6.2.1二进制文件的安装… 22

6.2.2源码文件的安装… 23

6.3       Linux内核配置编译… 23

6.3.1内核配置… 23

6.4       Linux内核构架详解… 25

6.4.1进程和内核模式… 26

6.4.2进程的实现… 27

6.4.3内核同步机制和临界区… 28

6.5       Linux设备驱动层… 28

6.5.1设备驱动概述… 28

6.5.2设备驱动的分类… 28

6.5.3设备驱动重要的数据结构… 29

6.5.4Linux驱动程序设备号… 33

6.5.5OV511摄像头驱动… 33

6.5.6V4L视频标准… 34

6.6       Linux文件系统… 35

6.6.1cramfs. 35

6.6.2JFFS/JFFS2. 35

6.6.3ext2/ext3. 36

6.6.4ramdisk  36

6.7       摄像头应用程序的编写… 37

7 常用的视频编码格式… 40

7.1       常用视频格式… 40

7.1.1AVI格式    40

7.1.2ASF格式… 40

7.1.3RM(Real Media)格式… 41

7.1.4MPEG格式    41

7.2       ASF格式特点… 41

7.2.1可扩展的媒体类型… 41

7.2.2部件下载… 42

7.2.3可伸缩的媒体类型… 42

7.2.4多语言    42

7.2.5目录信息… 42

7.3       ASF格式结构… 42

7.3.1ASF 对象定义… 42

7.3.2高层文件结构… 43

7.3.3ASF头对象    44

7.3.4ASF数据对象… 45

7.3.5ASF索引对象… 45

8 ffmpeg 视频CODEC库… 46

8.1       ffmpeg简介… 46

8.2       ffmpeg移植要点… 46

8.3       fmpeg常用命令… 46

9 ffserver视频服务器… 51

9.1       ffserver简介… 51

9.2       ffserver移植要点… 51

9.3       ffserver配置和使用详解… 51

10 系统测试… 52

10.1     ffmpeg测试… 52

10.1.1查看支持的格式… 52

10.1.2从视频文件中截图… 52

10.1.3用摄像头录像… 53

10.2     ffserver测试… 54

10.2.1启动ffserver 54

10.2.2载入摄像头视频流… 55

10.2.3启动Windows Media Player进行远程监控… 55

10.3     测试注意事项… 56

11 总结… 58

谢  辞… 59

参考文献… 60

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源