当前位置:主页 > 科技论文 > 网络通信论文 >

基于Android实时视频监控客户端设计与实现

发布时间:2018-05-19 10:46

  本文选题:Android平台 + 视频监控 ; 参考:《宁波大学》2014年硕士论文


【摘要】:随着网络技术和智能终端技术的飞速发展,移动智能终端用户数量逐年增加,人们开始基于智能终端完成更多的事务,移动智能终端的视频监控逐渐进入人们的视野。传统的视频监控已经在平安城市建设、电力水利观测、森林防火监控、工厂自动化生产等方面得到了广泛应用。目前,人们更加倾向视频监控的方便灵活性,传统基于PC端观看监控视频已经无法满足用户的需求,这种背景下,本文提出基于Android实时视频监控客户端的设计与实现,实现随时随地的查看监控视频。该方案的提出具有非常好的现实意义,并且能够产生一定的商业价值。 课题基于FFmpeg提出分层设计方案,将客户端的结构分为三层,它们分别为数据接收层、数据解码层、UI显示层。数据接收层通过与远程服务器建立连接,移动终端设备接收服务器传递的RTP数据包;数据解码层调用FFmpeg解码库,实现对接收RTP数据包解码;UI显示层调用SDL完成解码数据包组帧和图像的绘制。Android自带的媒体库opencore支持播放视频格式少,只能支持播放3gp和mp4格式的视频,FFmpeg实现了对Android多媒体库opencore解码库拓展,使其支持更多的视频格式。 本论文对视频监控终端相关技术进行了分析,分析了RTSP、RTP、RTCP等相关流媒体协议,阐述了主流的视频编码技术H.26编码标准;通过对比各种终端操作系统选择开放性好,用户基数大的Android平台作为开发平台;由于FFmpeg是针对PC机开发的开源多媒体解决方案,,并且代码实现基于C语言。针对Android移动终端设备内存小,应用程序上层采用java实现等特点,本文采用AndroidNDK实现对FFmpeg裁剪和移植。本课题详细叙述java代码调用c代码的JNI机制,分析了JNI如何调用经过编译FFmpeg生成的动态库,完成压缩数据包的解码。搭建UI界面过程,阐述如何采用SDL完成绘图表面创建过程,以及如何通过布局文件美化界面。视频监控客户端开发完成后对其实用性进行测试,分别测试监控视频和本地视频播放效果,测试结果显示该软件能够正常完成监控视频和本地视频播放。
[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.
【学位授予单位】:宁波大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TN948.6

【参考文献】

相关期刊论文 前10条

1 朱得旭;;数字监控的新秀——移动视频监控技术及其应用[J];安防科技;2005年05期

2 吴斌;郭树旭;王明江;郑凡;陈玫玫;;H.264标准中Exp-Golomb编解码器的VLSI设计[J];吉林大学学报(信息科学版);2008年03期

3 郑世宝;;智能视频监控技术与应用[J];电视技术;2009年01期

4 吴伟;UMTS移动流媒体业务及其关键技术[J];电信网技术;2005年09期

5 马艳;王磊;席岩;郭晓霞;汪瑛;王亚男;;流媒体实验平台搭建与研究[J];广播与电视技术;2011年11期

6 宋春光;孔德静;;视频监控技术研究及应用探讨[J];黑龙江科技信息;2008年23期

7 王小燕;;一种高效点播流媒体服务器的设计与实现[J];计算机工程与科学;2010年02期

8 王海军,刘彩霞,程东年;一种基于UDP的可靠传输协议分析与研究[J];计算机应用研究;2005年11期

9 刘双红;张劳模;;无线视频监控系统的网络传输容错策略研究[J];制造业自动化;2011年07期

10 王荣生;SDP协议在视频点播系统中的应用[J];计算机应用与软件;2005年01期



本文编号:1909803

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/wltx/1909803.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户614e2***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com