基于嵌入式linux的網(wǎng)絡(luò)視頻監(jiān)控.doc
約75頁DOC格式手機(jī)打開展開
基于嵌入式linux的網(wǎng)絡(luò)視頻監(jiān)控,摘 要隨著計算機(jī)網(wǎng)絡(luò)技術(shù)、通信技術(shù)、數(shù)字視頻壓縮編碼技術(shù)的日益成熟,遠(yuǎn)程視頻監(jiān)控技術(shù)有了快速的進(jìn)步,視頻圖像因其信息豐富,內(nèi)容直觀、使用方便而被廣泛地應(yīng)用于工業(yè)控制、交通監(jiān)管、安防系統(tǒng)、小區(qū)安全監(jiān)控等各種領(lǐng)域。本文以s3c2440為核心硬件平臺,將視頻圖像數(shù)據(jù)采集技術(shù)、數(shù)據(jù)壓縮技術(shù)和tcp/ip網(wǎng)絡(luò)數(shù)據(jù)傳輸技術(shù)相結(jié)合,...
內(nèi)容介紹
此文檔由會員 違規(guī)屏蔽12 發(fā)布
摘 要
隨著計算機(jī)網(wǎng)絡(luò)技術(shù)、通信技術(shù)、數(shù)字視頻壓縮編碼技術(shù)的日益成熟,遠(yuǎn)程視頻監(jiān)控技術(shù)有了快速的進(jìn)步,視頻圖像因其信息豐富,內(nèi)容直觀、使用方便而被廣泛地應(yīng)用于工業(yè)控制、交通監(jiān)管、安防系統(tǒng)、小區(qū)安全監(jiān)控等各種領(lǐng)域。
本文以S3C2440為核心硬件平臺,將視頻圖像數(shù)據(jù)采集技術(shù)、數(shù)據(jù)壓縮技術(shù)和TCP/IP網(wǎng)絡(luò)數(shù)據(jù)傳輸技術(shù)相結(jié)合,設(shè)計并實現(xiàn)了一個基于B/S模式的遠(yuǎn)程視頻監(jiān)控系統(tǒng)。主要包括:首先給出了系統(tǒng)總體軟硬件設(shè)計方案,針對本系統(tǒng)硬件對U-boot進(jìn)行了修改和移植,對編譯和移植Linux內(nèi)核以及制作YAFFS文件系統(tǒng)也做了深入的研究;實現(xiàn)V4L2視頻圖像數(shù)據(jù)采集、視頻數(shù)據(jù)壓縮以及視頻數(shù)據(jù)的網(wǎng)絡(luò)傳輸?shù)裙δ苣K的編寫;在分析視頻檢索方法的基礎(chǔ)上,提出了視頻標(biāo)簽技術(shù),以運(yùn)動產(chǎn)生的圖片作為一個事件標(biāo)簽,根據(jù)該事件標(biāo)簽找出其在視頻文件中相對位置。
系統(tǒng)由兩部分構(gòu)成:視頻監(jiān)控服務(wù)器端和視頻監(jiān)控客戶端。服務(wù)器端以嵌入式Linux操作系統(tǒng)和三星公司的S3C2440處理器作為系統(tǒng)的軟硬件核心平臺。客戶端通過IE瀏覽器向服務(wù)器發(fā)送視頻監(jiān)控請求,服務(wù)器收到客戶端請求后,利用Linux內(nèi)核提供的V4L2接口采集視頻圖像數(shù)據(jù),然后使用JPEG壓縮算法對視頻數(shù)據(jù)進(jìn)行壓縮編碼,最后將壓縮后的視頻數(shù)據(jù)通過網(wǎng)絡(luò)傳送到視頻監(jiān)控客戶端??蛻舳送ㄟ^IE瀏覽器接收并實時監(jiān)控遠(yuǎn)程視頻圖像。
本系統(tǒng)采用模塊化設(shè)計方法,使得設(shè)計更加簡潔、高效,具有良好的擴(kuò)展性和易用性,有利于系統(tǒng)升級。實驗測試結(jié)果表明,該系統(tǒng)在處理速度、穩(wěn)定性、實時性等方面和傳統(tǒng)的視頻監(jiān)控系統(tǒng)相比有著突出的優(yōu)勢,達(dá)到了課題預(yù)期設(shè)計目標(biāo)。
關(guān)鍵詞 網(wǎng)絡(luò)視頻監(jiān)控;嵌入式Linux;V4L2;視頻標(biāo)簽
Abstract
With the computer network technology, communication technology and digital video compression technologies become more sophisticated, remote video surveillance technology has developed rapidly. Because of its information-rich, content intuitive, easy to use, video images are widely used in industrial control, traffic control, security systems, community safety and other areas.
This article combines the video image data acquisition technology, data compression and TCP/IP network data transmission technologies, designed and implemented the remote video monitoring system based on B/S mode and S3C2440 as core hardware platform, including: Firstly, the overall hardware and software system design are given, U-boot has been modified and transplanted for the hardware; the transplantation of the compiler and production of Linux kernel, file system of YAFFS also be studied in detail; has been achieved V4L2 video image data acquisition, video image data compression, network transmission of video data; analyzes the method of video retrieva l and hereby brings forward a technique of video label, which takes the motion image as an event label and then find out the position of the event in the video file accordingly.
System consists of two parts: server and video surveillance client. Video surveillance server uses an embedded Linux operating system and Samsung S3C2440A processor as the core platform software and hardware systems. With the IE browser, client-side access to video surveillance servers and sent video surveillance requests to the server. After video surveillance server receives a client request, the system uses theV4L2 Linux video interface to capture image data, and then the video data using JPEG compression, and finally the compressed video data is transmitted through the Internet to video surveillance client. With the IE browser, the client receives and real-time monitors remote video images.
The modular design approach is used in the system which makes the design more compactable, efficient, and ease to upgrade. Experimental results show that compared to traditional video surveillance system, the system has outstanding advantages in processing speed, stability, real time, Etc, to achieve the expected project design goals.
Key words network video surveillance; embedded linux; v4l2; video label
目 錄
摘要 I
Abstract III
第1章 緒論 1
1.1 課題研究背景及意義 1
1.2 嵌入式系統(tǒng) 1
1.2.1 嵌入式系統(tǒng)發(fā)展?fàn)顩r 1
1.2.2 嵌入式系統(tǒng)體系結(jié)構(gòu) 2
1.3 視頻監(jiān)控的發(fā)展現(xiàn)狀及趨勢 3
1.3.1 模擬視頻監(jiān)控系統(tǒng) 3
1.3.2 基于計算機(jī)的多媒體監(jiān)控系統(tǒng) 4
1.3.3 基于嵌入式的網(wǎng)絡(luò)監(jiān)控 4
1.4 論文主要內(nèi)容和組織結(jié)構(gòu) 4
第2章 系統(tǒng)硬件體系結(jié)構(gòu) 6
2.1 嵌入式處理器 6
2.1.1 ARM處理器介紹 6
2.1.2 S3C2440A 7
2.2 系統(tǒng)硬件總體構(gòu)架 8
2.3 本章小結(jié) 10
第3章 系統(tǒng)軟件開發(fā)平臺的建立 11
3.1 Bootloader的設(shè)計 11
3.1.1 Bootloader的基本概念 11
3.1.2 U-boot的移植 13
3.1.3 自動識別Nand Flash/Nor Flash啟動的U-boot實現(xiàn) 20
3.2 Linux內(nèi)核的移植與定制 22
3.2.1 修改內(nèi)核以適應(yīng)Mini2440開發(fā)板 23
3.2.2 內(nèi)核定制 26
3.3 構(gòu)建嵌入式根文件系統(tǒng) 28
3.4 本章小結(jié) 30
第4章 視頻監(jiān)控系統(tǒng)程序設(shè)計 31
4.1 基于V4L2的視頻采集模塊開發(fā) 31
4.1.1 V4L2的API應(yīng)用 31
4.1.2 視頻采集的輸入輸出隊列 33
4.1.3 視頻采集程序的實現(xiàn) 34
4.2 視頻圖像數(shù)據(jù)壓縮 39
4.2.1 常用圖像壓縮算法介紹 39
4.2.2 壓縮算法的選擇 41
4.2.3 MJPEG壓縮算法的實現(xiàn) 41
4.3 視頻數(shù)據(jù)網(wǎng)絡(luò)傳輸?shù)脑O(shè)計 43
4.3.1 基于B/S模式的..
隨著計算機(jī)網(wǎng)絡(luò)技術(shù)、通信技術(shù)、數(shù)字視頻壓縮編碼技術(shù)的日益成熟,遠(yuǎn)程視頻監(jiān)控技術(shù)有了快速的進(jìn)步,視頻圖像因其信息豐富,內(nèi)容直觀、使用方便而被廣泛地應(yīng)用于工業(yè)控制、交通監(jiān)管、安防系統(tǒng)、小區(qū)安全監(jiān)控等各種領(lǐng)域。
本文以S3C2440為核心硬件平臺,將視頻圖像數(shù)據(jù)采集技術(shù)、數(shù)據(jù)壓縮技術(shù)和TCP/IP網(wǎng)絡(luò)數(shù)據(jù)傳輸技術(shù)相結(jié)合,設(shè)計并實現(xiàn)了一個基于B/S模式的遠(yuǎn)程視頻監(jiān)控系統(tǒng)。主要包括:首先給出了系統(tǒng)總體軟硬件設(shè)計方案,針對本系統(tǒng)硬件對U-boot進(jìn)行了修改和移植,對編譯和移植Linux內(nèi)核以及制作YAFFS文件系統(tǒng)也做了深入的研究;實現(xiàn)V4L2視頻圖像數(shù)據(jù)采集、視頻數(shù)據(jù)壓縮以及視頻數(shù)據(jù)的網(wǎng)絡(luò)傳輸?shù)裙δ苣K的編寫;在分析視頻檢索方法的基礎(chǔ)上,提出了視頻標(biāo)簽技術(shù),以運(yùn)動產(chǎn)生的圖片作為一個事件標(biāo)簽,根據(jù)該事件標(biāo)簽找出其在視頻文件中相對位置。
系統(tǒng)由兩部分構(gòu)成:視頻監(jiān)控服務(wù)器端和視頻監(jiān)控客戶端。服務(wù)器端以嵌入式Linux操作系統(tǒng)和三星公司的S3C2440處理器作為系統(tǒng)的軟硬件核心平臺。客戶端通過IE瀏覽器向服務(wù)器發(fā)送視頻監(jiān)控請求,服務(wù)器收到客戶端請求后,利用Linux內(nèi)核提供的V4L2接口采集視頻圖像數(shù)據(jù),然后使用JPEG壓縮算法對視頻數(shù)據(jù)進(jìn)行壓縮編碼,最后將壓縮后的視頻數(shù)據(jù)通過網(wǎng)絡(luò)傳送到視頻監(jiān)控客戶端??蛻舳送ㄟ^IE瀏覽器接收并實時監(jiān)控遠(yuǎn)程視頻圖像。
本系統(tǒng)采用模塊化設(shè)計方法,使得設(shè)計更加簡潔、高效,具有良好的擴(kuò)展性和易用性,有利于系統(tǒng)升級。實驗測試結(jié)果表明,該系統(tǒng)在處理速度、穩(wěn)定性、實時性等方面和傳統(tǒng)的視頻監(jiān)控系統(tǒng)相比有著突出的優(yōu)勢,達(dá)到了課題預(yù)期設(shè)計目標(biāo)。
關(guān)鍵詞 網(wǎng)絡(luò)視頻監(jiān)控;嵌入式Linux;V4L2;視頻標(biāo)簽
Abstract
With the computer network technology, communication technology and digital video compression technologies become more sophisticated, remote video surveillance technology has developed rapidly. Because of its information-rich, content intuitive, easy to use, video images are widely used in industrial control, traffic control, security systems, community safety and other areas.
This article combines the video image data acquisition technology, data compression and TCP/IP network data transmission technologies, designed and implemented the remote video monitoring system based on B/S mode and S3C2440 as core hardware platform, including: Firstly, the overall hardware and software system design are given, U-boot has been modified and transplanted for the hardware; the transplantation of the compiler and production of Linux kernel, file system of YAFFS also be studied in detail; has been achieved V4L2 video image data acquisition, video image data compression, network transmission of video data; analyzes the method of video retrieva l and hereby brings forward a technique of video label, which takes the motion image as an event label and then find out the position of the event in the video file accordingly.
System consists of two parts: server and video surveillance client. Video surveillance server uses an embedded Linux operating system and Samsung S3C2440A processor as the core platform software and hardware systems. With the IE browser, client-side access to video surveillance servers and sent video surveillance requests to the server. After video surveillance server receives a client request, the system uses theV4L2 Linux video interface to capture image data, and then the video data using JPEG compression, and finally the compressed video data is transmitted through the Internet to video surveillance client. With the IE browser, the client receives and real-time monitors remote video images.
The modular design approach is used in the system which makes the design more compactable, efficient, and ease to upgrade. Experimental results show that compared to traditional video surveillance system, the system has outstanding advantages in processing speed, stability, real time, Etc, to achieve the expected project design goals.
Key words network video surveillance; embedded linux; v4l2; video label
目 錄
摘要 I
Abstract III
第1章 緒論 1
1.1 課題研究背景及意義 1
1.2 嵌入式系統(tǒng) 1
1.2.1 嵌入式系統(tǒng)發(fā)展?fàn)顩r 1
1.2.2 嵌入式系統(tǒng)體系結(jié)構(gòu) 2
1.3 視頻監(jiān)控的發(fā)展現(xiàn)狀及趨勢 3
1.3.1 模擬視頻監(jiān)控系統(tǒng) 3
1.3.2 基于計算機(jī)的多媒體監(jiān)控系統(tǒng) 4
1.3.3 基于嵌入式的網(wǎng)絡(luò)監(jiān)控 4
1.4 論文主要內(nèi)容和組織結(jié)構(gòu) 4
第2章 系統(tǒng)硬件體系結(jié)構(gòu) 6
2.1 嵌入式處理器 6
2.1.1 ARM處理器介紹 6
2.1.2 S3C2440A 7
2.2 系統(tǒng)硬件總體構(gòu)架 8
2.3 本章小結(jié) 10
第3章 系統(tǒng)軟件開發(fā)平臺的建立 11
3.1 Bootloader的設(shè)計 11
3.1.1 Bootloader的基本概念 11
3.1.2 U-boot的移植 13
3.1.3 自動識別Nand Flash/Nor Flash啟動的U-boot實現(xiàn) 20
3.2 Linux內(nèi)核的移植與定制 22
3.2.1 修改內(nèi)核以適應(yīng)Mini2440開發(fā)板 23
3.2.2 內(nèi)核定制 26
3.3 構(gòu)建嵌入式根文件系統(tǒng) 28
3.4 本章小結(jié) 30
第4章 視頻監(jiān)控系統(tǒng)程序設(shè)計 31
4.1 基于V4L2的視頻采集模塊開發(fā) 31
4.1.1 V4L2的API應(yīng)用 31
4.1.2 視頻采集的輸入輸出隊列 33
4.1.3 視頻采集程序的實現(xiàn) 34
4.2 視頻圖像數(shù)據(jù)壓縮 39
4.2.1 常用圖像壓縮算法介紹 39
4.2.2 壓縮算法的選擇 41
4.2.3 MJPEG壓縮算法的實現(xiàn) 41
4.3 視頻數(shù)據(jù)網(wǎng)絡(luò)傳輸?shù)脑O(shè)計 43
4.3.1 基于B/S模式的..
TA們正在看...
- 北師大版小學(xué)五年級上冊數(shù)學(xué)教學(xué)計劃.docx
- 北師大版小學(xué)六年級數(shù)學(xué)上冊教學(xué)計劃.docx
- 北師大版小學(xué)四年級數(shù)學(xué)上冊教學(xué)計劃.docx
- 北師大版小學(xué)數(shù)學(xué)二年級下冊說課稿平移與旋轉(zhuǎn).docx
- 北師大版小學(xué)數(shù)學(xué)五年級上冊說課稿:分?jǐn)?shù)混合運(yùn)算.docx
- 北師大版小學(xué)語文三年級上冊《一幅名揚(yáng)中外的畫》...docx
- 北師大版小學(xué)語文三年級上冊《我不能失信》說課稿.docx
- 北師大版小學(xué)語文三年級上冊《灰雀》說課稿.docx
- 北師大版小學(xué)語文三年級上冊《玩出了名堂》說課稿.docx
- 北師大版小學(xué)語文三年級上冊《秋天的雨》說課稿.docx