Research and Implementation of Embedded Media Player Based on Linux
- Author
- FanChengZe
- Advisor
- ChenShuYu
- School
- Chongqing University
- Major
- Computer Software and Theory
- Classification
- TN946 Video recording, playback system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 244
- Citations
- 0
Abstract
With the rapid development of embedded technology and multimedia technology, more and more embedded devices use embedded Linux which is powerful and cheap and become to use complex GUI systems. For its reliable performance and good portability, GTK+ has become a widely used GUI system. By the development of embedded systems and the corresponding graphical user interfaces, embedded software development is to be more and more important, because the embedded media players can meet people’s requirements. Therefore, the multimedia components in an embedded system is becoming an important component. A solution of media player based on Linux and embedded system will be meaningful in practical usage.In this thesis, based on the requirements of implementing a media player on the Network Computer system, an embedded media player based on Linux and GTK + graphical user interface is designed; it supports kinds of media formats and protocols and meets the needs of the embedded equipment. The main work consists of three parts:①Researched and designed the architecture and modular structure of player. According to the flow chart of player on the program, completed the four main modules of the overall design, focused on the detailed implementation mechanism of each module.②Designed the main key modules. Graphical user interface module based on the GTK + system uses the event driven and signal callback mechanism as the creation of an application framework for users to receive and process a variety of player operations. Data access module highlights the network streaming media server to read the data as well as the work of the local media to read the data. System management and control module is mainly responsible for the coordinated management of the interaction of other modules to work, It can realizes the separation between the media player’s playing and controling, so that the structure of the media player is even more clear. Audio and video decoding modules uses decoder interface to expand, it improves player on the media format and transport protocol expansibility.③Emphased on the realization of the audio queue and of audio and video synchronization. In the realization of audio playback, a queue to complete the audio data packet storage is used, it protects the shared resources and improves the efficiency of the player. By using PTS(Presentation Time Stamp) which indicates the usage of precise relative timing between audio and video data streams to carry out audio and video synchronization, a better sound and image effects could be got. Finally, the author designed a test scheme to validate media player’s capability, And the test results show that it completely meets the play demand.To sum up, this dissertation started on related theory, analyses and compares prepared theories and achievements, and dissertated the architecture and build mechanism of an embedded media player based on GTK+.
Table of contents
Abstract 3-4
ABSTRACT 4-9
1 Introduction 9-12
1.1 topics of the background and significance 9 < br /> 1.2 research status 9-10
1.3 In this paper, the content and organization 10-11
1.4 chapter Summary 11-12
2 embedded media player related technologies 12-28
2.1 audio and video codec technology 12-14
2.1.1 MPEG standard 12-13 < br /> 2.1.2 H.264 standard 13-14
2.1.3 WMV standard 14
2.2 mainstream media file format 14-16 <br / > 2.2.1 Real Media 's rm and ra format 14-15
2.2.2 Windows Media the asf format 15
2.2.3 QuickTime in qt format 15-16
2.3 streaming media technology 16-20
2.3.1 Definition and streaming mainstream technology 16-19
2.3.2 to realize the transmission of streaming media principle 19-20
2.4 embedded graphical user interface 20-27
2.4.1 several common GUI system 21-23
2.4 .2 GTK Introduction 23-27
2.5 chapter Summary 27-28
3 embedded media player structural design 28-34
3.1 player system architecture 28-30
3.2 player functionality into modules 30-31
3.2.1 graphical user interface module 31
3.2.2 system Management control module 31
3.2.3 audio and video decoding module 31
3.2.4 data Access module 31
3.3 playback the program flow 31-33
3.4 Summary 33-34
4 embedded media player development and implementation 34-59
4.1 Data access Module 34-36
4.1.1 receive streaming media data to achieve 34-35
4.1.2 URL class interface package 35-36
4.2 graphical user interface 36-41
4.2.1 division of functional areas 36-38
4.2.2 top-level interface and control the creation 38-41
4.3 system management Console 41-44
4.3.1 event and Signal Processing 41-43
4.3.2 playback Control 43-44
4.4 audio and video decoding module 44-49
4.5 audio and video playback 49-58
4.5.1 video playback 49 - 51
4.5.2 audio playback 51-53
4.5.3 queue using 53-55
4.5.4 audio and video synchronization processing 55-58
4.6 chapter Summary 58-59
5 media player in the NC machine test 59-64
5.1 player testing environment 59-60
5.1.1 NC machine environment 59-60
5.1.2 test environment to build 60
5.2 player function test 60-63
5.2.1 testing process 62
5.2.2 test Results 62-63
5.3 test results 63
5.4 Summary 63-64
6 Summary and Outlook 64-66
6.1 design Summary 64
6.2 Prospects 64-66
Thanks 66-67
References 67-69
Appendix 69
A. the authors of papers published during the study for a degree directory 69
Related dissertations
- Wireless Sensor Network and Virtual Cloud Desktop System Base on Zigbee and Arm-Linux
- Application and Study of Key Techniques of Embedded Wireless Multimedia Terminal
- The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
- Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
- Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
- Research and Design of Harmonic Detecting Device Based on ARM9
- The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
- Development of Small Smart Controller Software Technology Based on ARM9
- Design of the Paper Quality Control System Based on Industrial Ethernet
- The Research of Embeded Intelligent Household Based on ARM
- Research on Intelligent Home Furnishing system based on Android
- Research and Development of Intelligent Board Based on Multi-sensor Fusion
- Design and Implementaiton of a Human-computer Interaction System Train Monitoirng Device
- Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
- Design and Implementation of Chinese Handwritten Input Method Based on ARM9and Qt
- The Design and Implementation of Electronic License Plate Recognition System Based on Embedded Linux
- Research and Application of Key Technology for Multimedia Player Based on Imbedded Linux System
- Design and Implementation of an Embedded Multi-media Player Based on Intel CE4100
- The Design and Implement of Network Streaming Media Player
- The Research and Design of Embedded Linux Based on ST-E9500