基于Android系統(tǒng)的可視電話中的圖像采集與傳輸
發(fā)布時(shí)間:2018-08-07 16:21
【摘要】:可視電話以其直觀有效的溝通方式,相對于傳統(tǒng)電話而言,極大的豐富了人們的溝通。寬帶互聯(lián)網(wǎng)技術(shù)的廣泛應(yīng)用及嵌入式技術(shù)的飛速發(fā)展,更加提升了人們對于視頻通信系統(tǒng)用戶體驗(yàn)的要求。這些需求使得人們不得不更加專注于大力研發(fā)各類相關(guān)的技術(shù),例如用于捕獲更加高質(zhì)量的高清視頻的采集技術(shù)、用以提高視頻數(shù)據(jù)壓縮率的視頻編解碼技術(shù)。本論文以S5pv210開發(fā)板為開發(fā)硬件平臺,研究在Android系統(tǒng)上實(shí)現(xiàn)視頻通信等實(shí)際需求中所需要的視頻圖像采集技術(shù)、視頻數(shù)據(jù)發(fā)送的相關(guān)協(xié)議以及它們代碼實(shí)現(xiàn)。本論文將通過開發(fā)一個(gè)Android應(yīng)用程序來實(shí)現(xiàn)以上功能,可以將本應(yīng)用安裝在任何帶有攝像頭的Android設(shè)備上,如平板電腦、智能手機(jī)、智能電視機(jī)頂盒等。本論文在對相關(guān)通信協(xié)議及編碼標(biāo)準(zhǔn)進(jìn)行研究后,依照協(xié)議流程實(shí)現(xiàn)了Android系統(tǒng)上RTSP視頻流服務(wù)器的建立。如何在Android設(shè)備上實(shí)現(xiàn)RTSP服務(wù)器,建立RTSP會話,阻塞并等待用戶發(fā)來的控制信息,然后由服務(wù)器端返回正確的響應(yīng)報(bào)文及視頻數(shù)據(jù)包是本次研究的重點(diǎn)。實(shí)現(xiàn)這些功能需要實(shí)現(xiàn)連接建立過程中所依賴的RTP協(xié)議。同時(shí)運(yùn)用多線程處理的方式,實(shí)現(xiàn)了從攝像頭獲取數(shù)據(jù)并打包發(fā)送這一過程。通過相應(yīng)的Android應(yīng)用開發(fā),完成了包括應(yīng)用界面的設(shè)計(jì)和相關(guān)代碼及方法的調(diào)用等方面的工作,最終完成了RTSP視頻流服務(wù)器建立的整個(gè)過程。作為發(fā)送視頻流數(shù)據(jù)之前的準(zhǔn)備工作,還依照H.264編碼標(biāo)準(zhǔn)及MP4文件的格式結(jié)構(gòu),完成了RTSP服務(wù)器所需發(fā)送的視頻參數(shù)集的提取。本論文所研究的主要內(nèi)容在可視電話的軟件架構(gòu)的層次中位于中間層,通過調(diào)用Android系統(tǒng)的API實(shí)現(xiàn)控制攝像頭獲取視頻數(shù)據(jù),并開啟另一線程,通過檢測NALU頭的方式將數(shù)據(jù)分割,并經(jīng)由RTP協(xié)議傳送。本研究內(nèi)容可為多種高級應(yīng)用提供基礎(chǔ)服務(wù),不僅限于建立雙線可視電話,還可用于家庭監(jiān)護(hù)、視頻會議等相關(guān)高級應(yīng)用的搭建。
[Abstract]:Compared with traditional telephone, videophone enriches people's communication greatly because of its direct and effective communication. With the wide application of broadband Internet technology and the rapid development of embedded technology, the requirement of user experience in video communication system has been raised. These requirements force people to devote more attention to the research and development of various related technologies, such as the capture technology for capturing more high-quality high-definition video, and the video coding and decoding technology to improve the compression rate of video data. This paper takes the S5pv210 development board as the development hardware platform, studies the video image acquisition technology needed to realize the video communication and other practical requirements on the Android system, the related protocols of the video data transmission and their code implementation. This paper will develop a Android application to achieve the above functions, which can be installed on any Android device with camera, such as tablet computer, smart phone, smart TV set-top box and so on. In this paper, after researching the related communication protocols and coding standards, the establishment of RTSP video streaming server on Android system is realized according to the protocol flow. How to implement the RTSP server on the Android device, establish the RTSP session, block and wait for the control information from the user, and then return the correct response message and video packet from the server is the key point of this research. The implementation of these functions requires the implementation of the RTP protocol that is relied upon during the connection establishment process. At the same time, multithread processing is used to realize the process of acquiring data from the camera and packaging and sending it. Through the corresponding Android application development, including the design of the application interface and the related code and method call, the whole process of establishing the RTSP video stream server is completed. As the preparation work before sending video stream data, according to H.264 coding standard and format structure of MP4 file, the extraction of video parameter set required by RTSP server is completed. The main content of this paper lies in the middle layer of the software architecture of videophone. The video data is obtained by calling the API control camera of Android system, and another thread is opened, and the data is segmented by detecting the NALU header. And transmitted by RTP protocol. The content of this study can provide basic services for many advanced applications, not only for the establishment of dual-line videophone, but also for the construction of related advanced applications such as family monitoring, video conferencing and so on.
【學(xué)位授予單位】:哈爾濱工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TN949.28;TN919.81
本文編號:2170619
[Abstract]:Compared with traditional telephone, videophone enriches people's communication greatly because of its direct and effective communication. With the wide application of broadband Internet technology and the rapid development of embedded technology, the requirement of user experience in video communication system has been raised. These requirements force people to devote more attention to the research and development of various related technologies, such as the capture technology for capturing more high-quality high-definition video, and the video coding and decoding technology to improve the compression rate of video data. This paper takes the S5pv210 development board as the development hardware platform, studies the video image acquisition technology needed to realize the video communication and other practical requirements on the Android system, the related protocols of the video data transmission and their code implementation. This paper will develop a Android application to achieve the above functions, which can be installed on any Android device with camera, such as tablet computer, smart phone, smart TV set-top box and so on. In this paper, after researching the related communication protocols and coding standards, the establishment of RTSP video streaming server on Android system is realized according to the protocol flow. How to implement the RTSP server on the Android device, establish the RTSP session, block and wait for the control information from the user, and then return the correct response message and video packet from the server is the key point of this research. The implementation of these functions requires the implementation of the RTP protocol that is relied upon during the connection establishment process. At the same time, multithread processing is used to realize the process of acquiring data from the camera and packaging and sending it. Through the corresponding Android application development, including the design of the application interface and the related code and method call, the whole process of establishing the RTSP video stream server is completed. As the preparation work before sending video stream data, according to H.264 coding standard and format structure of MP4 file, the extraction of video parameter set required by RTSP server is completed. The main content of this paper lies in the middle layer of the software architecture of videophone. The video data is obtained by calling the API control camera of Android system, and another thread is opened, and the data is segmented by detecting the NALU header. And transmitted by RTP protocol. The content of this study can provide basic services for many advanced applications, not only for the establishment of dual-line videophone, but also for the construction of related advanced applications such as family monitoring, video conferencing and so on.
【學(xué)位授予單位】:哈爾濱工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TN949.28;TN919.81
【參考文獻(xiàn)】
相關(guān)期刊論文 前1條
1 鄒璇;視頻通信中三類可視電話系統(tǒng)介紹[J];常州信息職業(yè)技術(shù)學(xué)院學(xué)報(bào);2003年04期
相關(guān)碩士學(xué)位論文 前1條
1 黃路;IPv6網(wǎng)絡(luò)下的視頻電話[D];重慶大學(xué);2006年
,本文編號:2170619
本文鏈接:http://sikaile.net/kejilunwen/wltx/2170619.html
最近更新
教材專著