天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

基于Android實時視頻監(jiān)控客戶端設(shè)計與實現(xiàn)

發(fā)布時間:2018-05-19 10:46

  本文選題:Android平臺 + 視頻監(jiān)控; 參考:《寧波大學(xué)》2014年碩士論文


【摘要】:隨著網(wǎng)絡(luò)技術(shù)和智能終端技術(shù)的飛速發(fā)展,移動智能終端用戶數(shù)量逐年增加,人們開始基于智能終端完成更多的事務(wù),移動智能終端的視頻監(jiān)控逐漸進入人們的視野。傳統(tǒng)的視頻監(jiān)控已經(jīng)在平安城市建設(shè)、電力水利觀測、森林防火監(jiān)控、工廠自動化生產(chǎn)等方面得到了廣泛應(yīng)用。目前,人們更加傾向視頻監(jiān)控的方便靈活性,傳統(tǒng)基于PC端觀看監(jiān)控視頻已經(jīng)無法滿足用戶的需求,這種背景下,本文提出基于Android實時視頻監(jiān)控客戶端的設(shè)計與實現(xiàn),實現(xiàn)隨時隨地的查看監(jiān)控視頻。該方案的提出具有非常好的現(xiàn)實意義,并且能夠產(chǎn)生一定的商業(yè)價值。 課題基于FFmpeg提出分層設(shè)計方案,將客戶端的結(jié)構(gòu)分為三層,它們分別為數(shù)據(jù)接收層、數(shù)據(jù)解碼層、UI顯示層。數(shù)據(jù)接收層通過與遠程服務(wù)器建立連接,移動終端設(shè)備接收服務(wù)器傳遞的RTP數(shù)據(jù)包;數(shù)據(jù)解碼層調(diào)用FFmpeg解碼庫,實現(xiàn)對接收RTP數(shù)據(jù)包解碼;UI顯示層調(diào)用SDL完成解碼數(shù)據(jù)包組幀和圖像的繪制。Android自帶的媒體庫opencore支持播放視頻格式少,只能支持播放3gp和mp4格式的視頻,F(xiàn)Fmpeg實現(xiàn)了對Android多媒體庫opencore解碼庫拓展,使其支持更多的視頻格式。 本論文對視頻監(jiān)控終端相關(guān)技術(shù)進行了分析,分析了RTSP、RTP、RTCP等相關(guān)流媒體協(xié)議,闡述了主流的視頻編碼技術(shù)H.26編碼標(biāo)準(zhǔn);通過對比各種終端操作系統(tǒng)選擇開放性好,用戶基數(shù)大的Android平臺作為開發(fā)平臺;由于FFmpeg是針對PC機開發(fā)的開源多媒體解決方案,,并且代碼實現(xiàn)基于C語言。針對Android移動終端設(shè)備內(nèi)存小,應(yīng)用程序上層采用java實現(xiàn)等特點,本文采用AndroidNDK實現(xiàn)對FFmpeg裁剪和移植。本課題詳細敘述java代碼調(diào)用c代碼的JNI機制,分析了JNI如何調(diào)用經(jīng)過編譯FFmpeg生成的動態(tài)庫,完成壓縮數(shù)據(jù)包的解碼。搭建UI界面過程,闡述如何采用SDL完成繪圖表面創(chuàng)建過程,以及如何通過布局文件美化界面。視頻監(jiān)控客戶端開發(fā)完成后對其實用性進行測試,分別測試監(jiān)控視頻和本地視頻播放效果,測試結(jié)果顯示該軟件能夠正常完成監(jiān)控視頻和本地視頻播放。
[Abstract]:With the rapid development of network technology and intelligent terminal technology, the number of mobile intelligent terminal users increases year by year, people begin to complete more affairs based on intelligent terminal, and the video monitoring of mobile intelligent terminal gradually enters people's vision. Traditional video surveillance has been widely used in the construction of Pingan city, the observation of electric water conservancy, forest fire prevention and control, factory automation and so on. At present, people are more inclined to the convenient flexibility of video surveillance, the traditional PC-based video monitoring can no longer meet the needs of users. Under this background, this paper proposes the design and implementation of real-time video monitoring client based on Android. Realize anytime, anywhere view surveillance video. The proposal has very good practical significance and can produce certain commercial value. Based on FFmpeg, a hierarchical design scheme is proposed in this paper. The client structure is divided into three layers: data receiving layer, data decoding layer and UI display layer. The data receiving layer receives the RTP packets transmitted by the server by establishing a connection with the remote server, and the data decoding layer invokes the FFmpeg decoding library. Implementation of receiving RTP packet decoding UI display layer calling SDL to complete decoding packet frame and image drawing .Android-based media library opencore supports less video format. FFmpeg, which can only support 3gp and mp4 format, extends the opencore decoding library of Android multimedia library to support more video formats. In this paper, the related technologies of video surveillance terminal are analyzed, and the related streaming media protocols such as RTSPN RTP / RTCP are analyzed, the main video coding technology H.26 coding standard is expounded, and by comparing various terminal operating systems, the choice of openness is good. Because FFmpeg is an open source multimedia solution for PC, and the code implementation is based on C language. Aiming at the small memory of Android mobile terminal equipment and the java realization of the upper application program, this paper uses AndroidNDK to cut and transplant FFmpeg. This paper describes the JNI mechanism of java code calling c code in detail, and analyzes how JNI calls the dynamic library generated by compiled FFmpeg to complete the decoding of compressed data packets. The process of constructing UI interface, how to use SDL to complete the process of drawing surface creation, and how to beautify the interface through layout file are expounded. After the development of video surveillance client, the practicability of the video monitoring client is tested, and the effect of monitoring video and local video playing is tested respectively. The test results show that the software can complete the monitoring video and local video playback normally.
【學(xué)位授予單位】:寧波大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TN948.6

【參考文獻】

相關(guān)期刊論文 前10條

1 朱得旭;;數(shù)字監(jiān)控的新秀——移動視頻監(jiān)控技術(shù)及其應(yīng)用[J];安防科技;2005年05期

2 吳斌;郭樹旭;王明江;鄭凡;陳玫玫;;H.264標(biāo)準(zhǔn)中Exp-Golomb編解碼器的VLSI設(shè)計[J];吉林大學(xué)學(xué)報(信息科學(xué)版);2008年03期

3 鄭世寶;;智能視頻監(jiān)控技術(shù)與應(yīng)用[J];電視技術(shù);2009年01期

4 吳偉;UMTS移動流媒體業(yè)務(wù)及其關(guān)鍵技術(shù)[J];電信網(wǎng)技術(shù);2005年09期

5 馬艷;王磊;席巖;郭曉霞;汪瑛;王亞男;;流媒體實驗平臺搭建與研究[J];廣播與電視技術(shù);2011年11期

6 宋春光;孔德靜;;視頻監(jiān)控技術(shù)研究及應(yīng)用探討[J];黑龍江科技信息;2008年23期

7 王小燕;;一種高效點播流媒體服務(wù)器的設(shè)計與實現(xiàn)[J];計算機工程與科學(xué);2010年02期

8 王海軍,劉彩霞,程東年;一種基于UDP的可靠傳輸協(xié)議分析與研究[J];計算機應(yīng)用研究;2005年11期

9 劉雙紅;張勞模;;無線視頻監(jiān)控系統(tǒng)的網(wǎng)絡(luò)傳輸容錯策略研究[J];制造業(yè)自動化;2011年07期

10 王榮生;SDP協(xié)議在視頻點播系統(tǒng)中的應(yīng)用[J];計算機應(yīng)用與軟件;2005年01期



本文編號:1909803

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/wltx/1909803.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶614e2***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com