With the development of embedded system and media technology, the embedded multimedia system has gained more and more attention. At the same time, the market demand for embedded multimedia system is bigger. The embedded media player functions have to develop to meet the need from the early MP3player and mobile phone player to the emerging digital TV system. As the development of coding and decoding technology, the fixed type of broadcasting systems gradually showed its limitation and the playback system will be eliminated. The existing embedded media playing system are available for specific application, which has its limitation. Therefore, the embedded system which supports multiple standards and decoder with high efficiency and ductility is needed.This paper is part of the laboratory’s streaming media middleware project. For the upper application developers of middleware layer, they do not want put much attention to the detail of the media playing. Thus, a set of general media player system needs to be designed and implemented, the system must meet the characteristics of new types of player framework.Besides, it needs to fit a variety of coding and decoding and output hardware on the bottom and support many audio and video coding standards. On the other hand, quality monitoring and control of real-time streaming media applications requires the system support to flexible data filtering and module restructuring.Based on the above conclusion and the existing research, this essay discusses the following topics. At first, it does the hardware abstraction for the data decoding, audio and video output, since these three modules are associated with the underlying platform. The implementation of hardware abstraction could be different in each device, developers should inherits corresponding virtual function and complete their common operation. Secondly, Custom Media plug-in mechanism is used for the control process and management of the media data flow.The framework uses data combination method based on the plug-in mechanism, which can customize the internal logic of each module in play process.It also make it convenient to integrate hardware abstraction layer and add streaming media quality plug-ins to acquire real-time monitoring data feedback and error control. In addition, the general player provides the unified media interface which can be extended for the developer application.The experimental results show that the design can be implemented in a variety of embedded platform.Providing smooth streaming media services, the system itself can also be easily extended. On the other hand, the streaming media service quality monitoring and control functions are also available through the plug-in integration, in order to provide better user experience. |