| IPTV set-top box uses home TV as a terminal display device, through using the Internet and Digital television broadcast to provide digital television, web browsing, online game and other entertainment services. Let user and television interaction.This study mainly about IPTV user interface design and media player construction.Hardware platform is Intel's CE3100 hardware reference board. CE3100 chip is Intel's new X86 architecture-based consumer SoC chip. It includes a Pentium Dothan processor core, supports full-HD 1080P hardware decoder and 2D/3D graphics acceleration. It also provides a software development kit, developers can use it for rapid products development.Software platform's design uses Clutter and Gstreamer packages. Clutter is an open source graphics library, uses OpenGL for graphics rendering, hidden Open GL API's complexity. With it, developers can quickly create hardware acceleration based dazzling 3D user interface. Gstreamer is a open source media application framework, based on the pipeline architecture. For different media formats, developers only need design and add the special demuxer and decoder elements, and clips can be play. Clutter and Gstreamer are constructed on the basis of Glib, which provides useful data structures, event loop and thread, etc.In this paper, the main research works are as follows:(1) Finish writing shell building scripts from the underlying dependences like glib, pango, cairo to the top applications like clutter, gst-plugin-*, gst-ffmpeg software packages. Achieve the goal of development Automated cross-compiling environment.(2)This article uses Clutter build a stable user interface. The main menu includes the "movie", "music", "image", "game", "settings" function components. Achieve the key mapping, and enable the keyboard controls.(3) This article constructs a media player using Gsteamer. It can play media files in the local and network. As related to intellectual property, code written in the focus of the implementation of open source container Ogg, video format Theora and audio format Vorbis, Flac, Speex file playback support. For the other commercial media formats, I use the gst-ffmpeg packages which includes many demuxers and decoders.(4) In this paper, Ogg and Glib are detailed theoretical analysed. |