The Design and Implementation of H.264Video Surveillance System on the Android Platform

Author
XuJianDong
Advisor
PengHong
School
Zhejiang University of Technology
Major
Communication and Information System
Classification
TN948.6 Television Center Management System
Degree
Master's thesis
Year
2013
Downloads
1
Citations
0

Request the full text

Abstract

As people increasingly pay attention to the security of their property, the video surveillance technology is beginning to play a more and more important role in people’s lives. Meanwhile after more than ten years of development, the processing capability of the mobile terminal and the transmission bandwidth of the network have improved a lot, the video surveillance is beginning to shift from wired network video surveillance to the mobile video surveillance. In the mobile video surveillance system, mobile phones and other camera-equipped mobile terminals can be used as the video capture terminal to get monitoring screen, and they also can be used as the video player client to view the monitoring screen from the video capture terminal.This paper describes video surveillance technologies in different mobile network. Introduce the advantages that can be brought about by selecting H.264as the video codec standard and developing the applications based on the Android platform, and analysis the current mainstream solutions of the H.264application development on the Android platform.On this basis, design and implement the video capture terminal and video play client on the Android platform. According to the requirement analysis, This paper choose to use the Camera class and the Surface View class of Android system to complete the capture and play of the video, use the H.264codec from the multimedia library OpenCore as the video solution, complete the encapsulation of the encoded video data with the RTP format according to RFC3984protocol, use RTP protocol to transport the real-time video data. In the actual development process, use JNI mechanism to transplant the original C++implementation of the H.264codec from OpenCore to a.so dynamic library which is available on the Android platform, design two RTP packetization modes of the single package and the slice package according to the the RFC3984protocol, use open source jlibrtp library to complete RTP packets sent in capture terminal and RTP packets reception in client, and design the RTP, NAL double buffering mechanism to solve the RTP packet loss and out-of-order problems during transmission in the client. Meanwhile, in order to easily add the subsequent audio communication function, this paper optimizes the video encoding in the capture terminal, in the motion estimation section of H.264, use a three-step method to replace the original full search method can effectively reduce the amount of computation.After the actual test, the capture terminal and the player client of this video surveillance system are running stable, easy to operate, good overall performance and can meet the needs of real-time video surveillance, meanwhile the test shows three-step method compared to the full search method can effectively reduce the amount of computation.

Table of contents

Summary 5-6 ABSTRACT 6-10 Chapter 1 Introduction background and significance of the study 10-16 1.1 10 1.2 research status 10-14 1.2.1 mobile Video Monitoring Status development Status 10-12 1.2.2 Android platform 12 -13 1.2.3 Android platform to achieve mainstream H.264 codec scheme research and organizational structure 13-14 1.3 This article 14-16 Chapter 2 mobile video surveillance of key technologies 16-27 2.1 Android platform 16-20 2.1.1 Android platform overview 16-17 2.1.2 Android system architecture 17-19 2.1.3 multimedia Framework OpenCore 19-20 2.2 H.264 video coding standard 20-26 2.2.1 H.264 codec structure 21-22 2.2.2 H.264 technical points 22-24 2.2.3 NAL ( network Abstraction Layer ) 24-26 2.3 Summary 26-27 Chapter 3 system framework and OpenCore transplant 27-38 3.1 system framework design 27-28 3.2 transplant OpenCore 28-37 3.2.1 JNI development environment 29-31 3.2.2 JNI works 31-33 3.2.3 H.264 codec to achieve dynamic library 33-37 3.3 Summary 37-38 Chapter 4 video capture terminal design and Implementation 38-51 4.1 video capture terminal design 38 achieve 4.2 video capture side 38-50 4.2.1 CameraAPI of architecture and use handle sending nbsp 38-42 4.2.2 NAL data ; 42-48 4.2.3 video capture terminal interface 48-50 <br / > 4.3 Summary design and implementation 50-51 Chapter 5 video playback client 51-60 5.1 video playback client design 51 <br / > 5.2 video player to achieve the client's 51-59 5.2.1 double buffer structure 51-52 5.2.2 RTP buffer 52-54 5.2.3 NAL buffer 54-56 5.2.4 video decoding play 56-58 5.2.5 video player client interface 58-59 5.3 Summary 59-60 Chapter 6 H.264 motion estimation optimization grades 60-67 6.1 H.264 standard 60 -61 6.2 motion estimation 61-66 6.2.1 motion estimation introduced 61-62 6.2.2 block matching motion estimation principle 62 -64 6.2.3 full search method and the three-step method 64-66 6.3 summary 66-67 Chapter 7 test , nbsp summary and Outlook ; 67-71 7.1 test tests 67-69 7.1.1 with the full three-step search method 67-68 7.1.2 acquisition client -side and play test 68-69 7.2 summarizes 69 7.3 Prospects 69-71 References 71-73 Thanks 73-74 studying for a degree to participate in research projects and achievements during 74

Related dissertations

  1. Research and Implementation of Intelligent Video Surveillance System Based on Android
  2. Design and Implementation of Intelligence Home System Based on ZigBee
  3. Android-based Remote Control System for Mobile Robot
    YanFei ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  4. Android3D Game Engine Development
    RongTao ·Tianjin University ·2012 ·Master's thesis
  5. Porting and Research on Android Based on CK810
    YuChaoJun ·Zhejiang University ·2014 ·Master's thesis
  6. Design of Remote Mobile Video Monitoring System
  7. Design and Implementation of an Intelligent Monitoring System Based on Mobile Platform
    ChenQi ·Ningbo University ·2013 ·Master's thesis
  8. Design and Research of Video Monitoring System Based on Android
  9. Research on Embedded Network Video Monitoring System Based on the ARM
  10. The Research of Intelligent Mobile Phone Video Surveillance System Based on3G Network
    LiuShuangLin ·Ningxia University ·2014 ·Master's thesis
  11. The Design and Implementation of Screen Sharing System Based on Android Terminal
  12. Design and Implementation of Video Surveillance Systems Based on Android Smartphones
    LangNing ·Northeastern University ·2013 ·Master's thesis
  13. The Design and Implementation of the Wireless Transmission System for H264Video Based on Android
    Zhou ·Anhui University ·2014 ·Master's thesis
  14. The Research on the Video Monitoring Guide System of Machine Laying the Side Mode of the Highway
    XingBaiQiao ·Hebei University of Economics ·2014 ·Master's thesis
  15. Design and Realization of Video Surveillance System of Huairou District City Administratin and Supervision Corps of Beijing Municipal
    ZhengShuang ·Beijing University of Technology ·2012 ·Master's thesis
  16. The design of mobile real-time monitoring system based on Android platform
    XiaoFangYang ·Jiangxi University of Technology ·2012 ·Master's thesis
  17. The Design and Implementation of Embedded Video Surveillance System Based on3G
    LiuChao ·Dalian University of Technology ·2012 ·Master's thesis
  18. The Design of Embedded Digital Video Surveillance System Base on S3C6410and WinCE
    YangZhen ·Yangtze University ·2012 ·Master's thesis
  19. Research and Implementation of the Embedded Wireless Video Surveillance System Based on ARM11
  20. Research on Control Technology of Household Robot Based on Android Phone
    JiLongTao ·Harbin Institute of Technology ·2013 ·Master's thesis