Font Size: a A A

The Design And Implementation Of H.264Video Surveillance System On The Android Platform

Posted on:2014-09-01Degree:MasterType:Thesis
Country:ChinaCandidate:J D XuFull Text:PDF
GTID:2268330401482573Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:video surveillance, android, h.264, jni, camera, nal
PDF Full Text Request
Related items