【正文】
器的對數(shù)據(jù)的高速處理能力進(jìn)行視頻的采集和編碼等處理,利用彩色視頻技術(shù)在高分辨率的顯示器上實(shí)現(xiàn)多畫面的清晰顯示,大大提高了視頻監(jiān)控系統(tǒng)的質(zhì)量。而且數(shù)字通信的快速發(fā)展,也保障了數(shù)字化的可能性。由于系統(tǒng)各部分獨(dú)立運(yùn)行,相互之間的協(xié)議不能發(fā)生通信,造成聯(lián)動只能在很小的范圍內(nèi)進(jìn)行,不便對系統(tǒng)進(jìn)行有效的掌控。對于已建立好的監(jiān)控系統(tǒng),由于其組網(wǎng)架構(gòu)以及系統(tǒng)功能架構(gòu)的局限,若要去增添設(shè)備,則需要大范圍的修改系統(tǒng),甚至重建系統(tǒng)。模擬監(jiān)控系統(tǒng)的主要缺陷是:(1) 系統(tǒng)監(jiān)控區(qū)域有限。隨著多媒體技術(shù)編解碼技術(shù)發(fā)展,微處理器性能的提高以及網(wǎng)絡(luò)帶寬的提高,視頻監(jiān)控系統(tǒng)在硬件結(jié)構(gòu)方式、功能實(shí)現(xiàn)、性能以及擴(kuò)展性方面都有了重大的變化,視頻在系統(tǒng)構(gòu)成上更加靈活個性化,功能上更加豐富、全面,人機(jī)交互更加友好易于操作,系統(tǒng)的外圍接口更加豐富且統(tǒng)一,便于系統(tǒng)的功能拓展。近年來個人化、智能化和網(wǎng)絡(luò)化將是未來視頻監(jiān)控市場主要的發(fā)展趨勢[1]。從技術(shù)角度上研究視頻監(jiān)控系統(tǒng),可以將視頻監(jiān)控系統(tǒng)劃分為三個階段,分別是:第一階段的模擬視頻監(jiān)控系統(tǒng)(CCTV),第二階段的數(shù)模結(jié)合的視頻監(jiān)控系統(tǒng)(DVR)。 In video coding module, the design and implementation based on the Codec Engine mechanism of h. 264 coding, the main work including h. 264 encoder the implementation of the construction and coding applications. In construction of h. 264 encoder mainly pleted in the process of x. 264 encoding algorithm of xDM encapsulation, Codec Server generate, Codec Engine Engine configuration, etc., in coding the application by calling the h. 264 encoder VISA API interface, realize the acquisition of video data real time coding。在測試階段,通過對系統(tǒng)的整體測試,驗(yàn)證了課題成功完成了模塊設(shè)計(jì)的預(yù)期目標(biāo)。分別在視頻采集子模塊中,設(shè)計(jì)與實(shí)現(xiàn)基于V4L2采集驅(qū)動規(guī)范的多路視頻的復(fù)合采集;在視頻編碼子模塊中,設(shè)計(jì)與實(shí)現(xiàn)基于Codec 。接下來論文研究了DaVinci開發(fā)平臺的硬件和軟件開發(fā)環(huán)境,并根據(jù)開發(fā)需求完成嵌入式開發(fā)環(huán)境搭建,主要工作包括嵌入式Linux服務(wù)器搭建、開發(fā)工作站配置、嵌入式Linux內(nèi)核移植等。論文首先研究了應(yīng)用在無線視頻監(jiān)控系統(tǒng)中的關(guān)鍵的技術(shù),包括DaVinci技術(shù)、V4L2視頻采集驅(qū)動規(guī)范、。本文基于DM6467平臺,使用TVP5158芯片實(shí)現(xiàn)多路視頻復(fù)合采集,經(jīng)過解復(fù)用后,最后利用RTP協(xié)議封裝視頻數(shù)據(jù)并通過MF210無線模塊實(shí)現(xiàn)視頻的無線傳輸。本人授權(quán) 重慶郵電大學(xué) 可以將學(xué)位論文的全部或部分內(nèi)容編入有關(guān)數(shù)據(jù)庫進(jìn)行檢索,可以采用影印、縮印或掃描等復(fù)制手段保存、匯編學(xué)位論文。與我一同工作的同志對本研究所做的任何貢獻(xiàn)均已在論文中作了明確的說明并表示謝意。 分類號密級重慶郵電大學(xué)碩士學(xué)位論文論文題目基于嵌入式Linux的視頻采集編碼發(fā)送模塊的設(shè)計(jì)與實(shí)現(xiàn)英文題目The Design and Realization of Video Capturing and Encoding and Transiting Module Based on Embedded Linux碩士研究生指導(dǎo)教師學(xué)科專業(yè)電子與通信工程論文提交日期年 月 日論文答辯日期年 月 日論文評閱人 答辯委員會主席年月日獨(dú) 創(chuàng) 性 聲 明本人聲明所呈交的學(xué)位論文是本人在導(dǎo)師指導(dǎo)下進(jìn)行的研究工作及取得的研究成果。據(jù)我所知,除了文中特別加以標(biāo)注和致謝的地方外,論文中不包含其他人已經(jīng)發(fā)表或撰寫過的研究成果,也不包含為獲得 重慶郵電大學(xué) 或其他教育機(jī)構(gòu)的學(xué)位或證書而使用過的材料。學(xué)位論文作者簽名: 簽字日期: 年 月 日學(xué)位論文版權(quán)使用授權(quán)書本學(xué)位論文作者完全了解 重慶郵電大學(xué) 有關(guān)保留、使用學(xué)位論文的規(guī)定,有權(quán)保留并向國家有關(guān)部門或機(jī)構(gòu)送交論文的復(fù)印件和磁盤,允許論文被查閱和借閱。(保密的學(xué)位論文在解密后適用本授權(quán)書)學(xué)位論文作者簽名: 導(dǎo)師簽名:簽字日期: 年 月 日 簽字日期: 年 月 日重慶郵電大學(xué)碩士論文 摘要摘要隨著人們對安全要求的不斷提高、嵌入式微處理器和多媒體壓縮技術(shù)以及無線傳輸技術(shù)的快速發(fā)展,無線實(shí)時視頻監(jiān)控系統(tǒng)得到了快熟的發(fā)展與應(yīng)用。論文最終設(shè)計(jì)實(shí)現(xiàn)了一種應(yīng)用在無線實(shí)時視頻監(jiān)控系統(tǒng)中的多路視頻采集編碼發(fā)送方案。隨后分析了模塊的功能需求,并根據(jù)需求分析設(shè)計(jì)了視頻采集編碼發(fā)送模塊的總體架構(gòu)。在以上基礎(chǔ)上,完成視頻采集、視頻編碼、視頻發(fā)送三個子模塊具體的設(shè)計(jì)與實(shí)現(xiàn)。、Codec Server生成、Codec Engine引擎配置等,在編碼應(yīng)用程序中, API接口,實(shí)現(xiàn)采集的視頻數(shù)據(jù)的實(shí)時編碼;在視頻發(fā)送子模塊中,先構(gòu)建WCDMA網(wǎng)絡(luò)的傳輸鏈路,主要工作是完成MF210驅(qū)動移植、PPP移植與PPP撥號實(shí)現(xiàn),然后在應(yīng)用層利用RTP(實(shí)時傳輸協(xié)議)封裝編碼后的NAUL數(shù)據(jù),最后創(chuàng)建socket,將打包而成RTP數(shù)據(jù)包發(fā)送到wcdma網(wǎng)絡(luò)中。關(guān)鍵字:視頻采集編碼發(fā)送模塊;Davinci,V4L2,H264,xDM,WCDMA69重慶郵電大學(xué)碩士論文 AbstractAbstractWith the constant improvement of the people to safety requirements, the embedded microcontroller processor and multimedia pression technology and the rapid development of wireless transmission technology, wireless realtime video monitoring system for the development and application of cook. DM6467 based platform, this paper use TVP5158 chip to realize the collection of multichannel video posite, after solution reuse, remote call DSP end of h. 264 encoder plete video streaming realtime encoding, finally using RTP protocol encapsulation video data and realize the wireless transmission of video by MF210 wireless module. Final design thesis implements a application in wireless realtime video monitoring system of multichannel video acquisition coding send package. Paper first studied the application of key technology in wireless video monitoring system, including the DaVinci technology, V4L2 video acquisition drive standard, h. 264 encoding algorithm and RTP streaming media realtime transmission protocol and WCDMA technology, etc. Then analyzed the module function demand, and according to the demand analysis and design the overall architecture of the encoding video collection is sending module. The paper studied the DaVinci development platform of hardware and software development environment, and according to the development needs to plete embedded development environment set up, the main work includes embedded Linux server set up, develop the workstation configuration, embedded Linux kernel transplantation, etc. On the basis of above, plete the video acquisition, video coding, video sent three child module detailed design and implementation. In video acquisition module, the design and implementation based on V4L2 acquisition drive specification posite of multichannel video acquisition。 In video send sub module, transmission link of the construction of WCDMA network first, main job is to plete MF210 drive, the PPP to transplant with the PPP dialup, and then in the application layer using RTP (realtime transport protocol) encapsulation encoded NAUL data, finally create a socket, will be packaged into RTP packets sent to the WCDMA network. During the testing period, through the whole system testing,it verify that this paper successfully pleted the anticipated target of the module design.Keywords: module of video Capturing and Encoding and Transmiting, Davinci, H264, xDM, V4L2, WCDMA重慶郵電大學(xué)碩士論文 目錄目錄摘要 IAbstract II目錄 IV第一章 緒論 1 視頻監(jiān)控系統(tǒng)行業(yè)背景 1 課題研究背景及意義 3 論文組織架構(gòu) 4 本章小結(jié) 5第二章 視頻采集編碼發(fā)送模塊的總體設(shè)計(jì) 6 模塊相關(guān)的關(guān)鍵技術(shù)研究 6 Davinci技術(shù) 6 V4L2視頻采集驅(qū)動接口 7 7 8 9 9 模塊的需求分析 10 模塊硬件平臺的選擇 11 模塊總體架構(gòu)的設(shè)計(jì) 12 本章小結(jié) 13第三章 搭建嵌入式開發(fā)環(huán)境平臺 14 DaVinci硬件開發(fā)環(huán)境 14 DM6467處理器特點(diǎn) 14 采集譯碼器TVP5158功能概述 15 DaVinci軟件開發(fā)環(huán)境 16 xDM算法標(biāo)準(zhǔn)介紹 17 Engine概述 18 嵌入式開發(fā)環(huán)境搭建 21 Linux服務(wù)器搭建 21 23 Davinci平臺初始化 23 本章小結(jié) 27第四章 視頻采集編碼發(fā)送模塊的設(shè)計(jì)與實(shí)現(xiàn) 28 28 視頻采集模塊的設(shè)計(jì) 28 V4L2編程接口 29 30 34 視頻編碼模塊的設(shè)計(jì) 34 34 46 48 48 視頻傳輸鏈路實(shí)現(xiàn) 48 51 本章小結(jié) 53第五章 系統(tǒng)測試 55 測試內(nèi)容和預(yù)期目標(biāo) 55 測試過程 56 測試網(wǎng)絡(luò)環(huán)境搭建 56 測試步驟 57 測試結(jié)果及分析 58 本章小結(jié) 60第六章 總結(jié)與展望 61