Design of Embedded Media Player Based on FFmpeg Library

Author
ZhangDaYun
Advisor
WangHanXin
School
Central South University for Nationalities
Major
Communication and Information System
Classification
TP368.1 Microprocessor
Degree
Master's thesis
Year
2011
Downloads
146
Citations
3

Request the full text

Abstract

At present, the related policies about developing the emerging and strategical industry released by the national twelfth five-year-plan, have definitely announced that we will accelerate tri-networks integration and launch a pilot project, which has been a trend of the communications industry. With the growth of demand for the embedded terminals, it is particularly important for the software develop of the embedded terminals. For the family media devices(such as High-Definition Digital TV Set-Top-Box, family media gateways and so on), the streaming media format supported by the embedded media player need to be more comprehensive and perfect. However the present situation is not very optimistic. This thesis proposes a solution based on FFmpeg library for the embedded media player, which is built on the platform with the low costs of the MIPS hardware architecture and the compact ITRON operating system. In addition, the proposed scheme is not only compatible with the popular audio and video formats such as MP3, DivX and so on, but also adapts for the FLV, MP4 format widely used by youku, tudou, sohu vedio websites.The central hardware device in our proposed solution isμPD61326 chip from Japanese NEC Company. The chip with a high-performance MIPS32 4KEc core and 32-bit RISC MIPS architecture supports both MIPS-I and MIPS-II instructions set. The ITRON operating system, which is quite popular in Japan, is embedded in the MIPS architecture circuit board, the API interfaces are provided by the adaptation layer above the operating system. Then the FFmpeg library is introduced as the middleware upon the adaptation layer and cut out based on understanding its operating principle and process. At the same time, the clipping can reduce the occupation of memory space in condition of guaranteeing the functions demand of users. Moreove, we package the FFmpeg library and reserve the programming interfaces for the application design and development of the upper layer.In the software design of the embedded media player, the modular design solutions are adopted to make the developing easy and make the process structured. The entire design is divided into four modules: file Parsing, Demux, Decoding and Interface of the player. The file parsing model, which is used for reading and parsing the documents and controling the player, is implemented through the API interfaces reserved by the FFmpeg library. The Demux model utilizes the Demux devices and Demux threads to separate the audio and vedio stream from the stream information of the output file parsing model. The Decoding module utilizes the inner hardware decoder to decode the audio and vedio streams. The Interface module finishes interactive operation and performs data transmission with other modules. The interface module can scan and read the audio and vedio documents, receive the user response and enable the users to manipulate the player via the remote controller or key set.The embedded player designed in the paper has been tested and verified via the High-Definition Digital TV Set-Top-Box. The experimental results demonstrate the advantages as follow. First of all, the Set-Top-Box is less expensive and lower occupancy rate of CPU, which well supports various media formats of the tri-networks. Secondly, it provides certain reference value for the tri-networks integration which can be carried out and popularized as soon as possible. Last but not least, it lays a fundation for the rapid expansion of Set-Top-Box in the tri-networks integration business.

Related dissertations

  1. Research and Implementation of Intelligent Video Surveillance System Based on Android
  2. EJTAG Debugging in Loongson3A System
  3. Research on System of Total Hip-arthroplasty Based on Pattern Recognition
    KongXiangZong ·Zhejiang University ·2014 ·Master's thesis
  4. Research and Application of Key Technology for Multimedia Player Based on Imbedded Linux System
  5. The Design and Implement of Network Streaming Media Player
  6. The Linux system based on freerdp multimedia redirection
    HuPingHua ·Wuyi University ·2013 ·Master's thesis
  7. The Design of Vehicle Video Real-time Monitoring Management System and the Android Client
    GuoXiaoFei ·Tianjin University ·2012 ·Master's thesis
  8. Design and Implementation of32-bit RISC Microprocessor Based on FPGA
    ZhengYongGui ·Hebei University of Technology ·2012 ·Master's thesis
  9. The Implementation and Research of IPTV Application Based on Android Browser
  10. Design of Mobile Video Surveillance Based on iPhone OS
  11. Design of Video Monitor Based on Android
  12. Desing and Implementation of Cross Platform Media Player in Intelligent Surveillance System
    PengShuang ·Zhejiang University ·2014 ·Master's thesis
  13. The Research of Intelligent Mobile Phone Video Surveillance System Based on3G Network
    LiuShuangLin ·Ningxia University ·2014 ·Master's thesis
  14. The Research and Design of the Smart Phone Based Mobile Learning Platform
    FanJing ·Harbin Engineering University ·2013 ·Master's thesis
  15. Based on Ffmpeg Vedio Format Conversion Design under Embedded Linux Platform
    DingFeng ·Harbin Engineering University ·2013 ·Master's thesis
  16. Research on Joint Parallel Algorithm of H.264Encoders and Decoders
    ZhuXiaoYu ·Central South University ·2013 ·Master's thesis
  17. The Research and Application of CAVLC Improvement Algorithm Based on H.264
  18. Research and Application of FFMPEG Transcoding Technology Based on HTML5Video System
    ZhaoShuMan ·Donghua University ·2014 ·Master's thesis
  19. The Design and Implementation of32Bits SOC Based on MIPS
    PengDan ·WRI ·2012 ·Master's thesis
  20. The Research of Perimeter Security Technology Based on TMS320DM6437
    ZhangDong ·Northeast Agricultural University ·2013 ·Master's thesis