Application Software Design for Webcam Monitor System in Android Mobile Platform
- Author
- WuJing
- Advisor
- QiZhengWei , JinBangFei
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TN929.53 Cellular mobile communications systems (mobile phones, mobile phone handsets )
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 649
- Citations
- 1
Abstract
Since the users have the strong demand use the mobile to be able to watch the real timemonitoring that is used to be on the Windows platform. In another hand, there is scarcely anyreal-time network monitor playing software with good performance on Android mobileplatform, as there is no proper file parser. So I decided to fill the blank.So far, the professional surveillance camera usually supports using MJPEG, MPEG-4orH.264standard to compress image data and send. MJPEG format data are based on HTTPprotocol for transmission. It used to transmit data by RTP protocol when the camera compressvideo data by MPEG-4standard or H.264standard. This paper designs an application whichcould play real-time video send by network camera. The application runs on the mobile phonewhich use Android Platform.This software uses JAVA code to implement the receiver of image data that cameratransmitted by following the HTTP protocol and unicast RTP protocol. The software usesHTTP protocol to get MJPEG flow data, and analysis the flow data in JAVA layer. Then, itsplits the flow data into lots of single JPEG image data, and decode the JPEG image data oneby one with Android own decoding library. Video codec of the use of surveillance camerasare relatively more widely used video standard. However, due to real-time video streamingdata to send by side to side, the length of the file cannot be calculated. It is different withvideo files which stored in the disk. So that the MPEG-4stream and H.264stream cannotplayback because file parser error.The interface that parser MPEG-4stream of data and call decoding library is coded by C.The TS stream parser of H.264which used for camera is coded by JAVA. And the softwareuse JAVA to split the mixing data into the audio data and the video data which parsed into NAL unit. Then decode the NAL unit data by JNI decoding libraries. Now most of the mobilephone can’t directly display the real-time streaming video that the camera caught, because itwas no corresponding file parser.Playback monitoring image need to ensure the correctness of the image data, and ensurethe real-time in time. But the correctness of the image data and the real-time in time aremutual restraint. In this paper it would be use frame dropping manager to achieve it. As thenetwork transmission environment complex, it will lost packet. Packet loss will lead to imagedecode error. If found this issue, it needs to discarded the related data together. Plus, it need toensure that the delta-T between display image with cameras capture image not be too big. Soit has to discard some data when the software or hardware could not process it in time. In thispaper, it design three buffer in different threads to control it for avoid the decode error whichcaused by frame dropping. In addition, this software use Multi-Touch and gesture recognitionto implement the function of control network camera action by mobile phone. The differentmanufacturer designs the different API. It will cause the application’s compatibility is poor,and cannot be a product. In this paper, define external standard configuration files to solvethis problem.
Table of contents
Summary 3-5
ABSTRACT 5-9
1 Introduction market situation and development 9-12
1.1 Android system 9 market prospects -10
1.2 Android mobile client for remote monitoring applications 10
1.3 technical feasibility 10-11
1.4 development process 11-12
2 technical preparation 12-19
2.1 Android system software architecture 12-14
2.1.1 application Layer 12-13 <br / > 2.1.2 application framework layer 13
2.1.3 system runtime layer 13-14
2.1.4 Linux kernel layer 14 <br / > 2.2 image and video encoding format 14-17
2.2.1 BMP 14-15
2.2.2 JPEG 15
2.2.3 MJPEG 15
2.2.4 MPEG-4 15-16
2.2.5 H.264 16
2.2.6 Conclusion 16 -17
2.3 network streaming protocols 17-19
2.3.1 HTTP 17-18
2.3.2 RTP 18 <br / > 2.3.3 RTCP 18
2.3.4 RTSP 18-19
3 Android phones end network monitoring system design 19-45
3.1 remote camera configuration information acquisition 19
3.2 streaming media image acquisition and analysis of network packets 19-24
3.2.1 Get the camera sending network packets analytic 20-22
3.2.2 packet 22-24
3.3 multimedia codec technology 24-39
3.3.1 multimedia codec processing structure 24-27
3.3.2 still image coding techniques 27-28
3.3.3 dynamic image coding theory 28-30
3.3. 4 multimedia decoding technology 30-31
3.3.5 MJPEG format decoding Android platform 31-32
3.3.6 MPEG-4 decoding on the Android platform 32-36
3.3.7 H.264 decoding format on the Android platform 36-39
3.4 data accuracy control 39-43
3.4.1 passive frame loss management 39-41
3.4.2 active frame dropping control 41-43
3.4.3 Summary 43
3.5 phone control away action side of the camera 43-44
3.5.1 control the direction of rotation of the camera 43
3.5.2 camera depth of field control 43-44
3.6 compatibility of different brands and models of a number of manufacturers camera 44-45
4 functional test system implementation and verification 45-56
4.1 monitoring screenshots 46-49
4.2 external network camera connection test 49-51
4.3 HTC Dream (G1) 51-52
4.4 HTC Nexus One 52-53
4.5 Samsung Galaxy Nexus 53-54
4.6 comparison 54-56
5 summary and improve 56-58
references 58-60
Thanks published during 60-61
pursue a degree academic catalog 61-64
accessories 64
Related dissertations
- Research on the development of the concept of sustainable development of Rizhao City transportation
- Research Project "Intermodal Transports in China"
- The Research on the Relationship of Transport and Economic Growth in China
- Design and Implementation of a Android-based Home Security Remote Monitoring Terminal System
- Research and Implementation of Vedio Surveillance System Based on Android Architecture and Smoke Detection
- Design and Implementation of Crane Monitoring System Based on Android
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- Design and Research of Mobile Video Surveillance System Based on MJPG-Streamer
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Security Detection System Based on the Android Paltform
- Research on Meteorological Data Acquisition and Processing System
- The Research of Fall Detection Based on Mobile Terminal
- Based on the Embedded Platform Multimedia Data Processing Middleware Technology
- Design and Implementation of a Human Activity Monitoring System Based on Smart Mobile Terminal
- The Smart Home Control System Based on Android System
- The Design and Implementation of Android Smart Home Control System
- Embedded System Applications in the Smart Home
- Design and Implementation of Intelligence Home System Based on ZigBee
- Design and Implementation of Smart Home System Based on Android Platform
- Research and Design of Embedded Intelligent Bus Station Guideboard Control System