In the issue of the multimedia player in the new generation of the intelligent terminal, theauthor focuses on the most popular platform Android. On basis of the research about Androidmultimedia framework such as Opencore, FFmpeg and other technology on multimedia player, theauthor mainly research of the synchronization of the audio and video, clipping of the FFmpeg,porting and optimization technology and developing technology of Client player case.The specificcontent and innovation are as follows:(1) This paper first deeply analyzed the framework of Android platform, then focused onthe JNI technology on FFmpeg framework, and finally designed a multimedia playerplatform through combined the features of FFmpeg with the JNI, the platform is acode-efficient platform and can be easily extended and maintained. The upper layer ofthe multimedia player platform is implemented by Java, which can take advantage ofthe object orientation feature of Java. The bottom layer of the multimedia playerplatform is the decoding core layer,and it is implemented by C,which can takeadvantage of the real-time and efficiency of C.The author by combined the two layerthrough JNI, finally designed this user-friendly, real-time and stability platform.(2) According to the limited resources and low handle ability of the embedded hardware,the author studied the decoding of multimedia streams in video container on FFmpegand combined the parallel algorithm model and negative feedback algorithm model,proposed the synchronized algorithm of the audio and video based on time-stamps.The experiments have shown that this algorithm can efficiently assure thesynchronization of the audio and video on embedded environment.(3) In order to assure the multimedia player software platform to effectively completedecoding and play video files(mainly high stream), the author proposed a cross-layeroptimization program based on platfrom framework,including the code layer, theplatform algorithm layer,the hardware memory layer and the external data loadinglayer. In the platform algorihm layer, according to the low efficiency of the traditionalHuffman decoding algorithm, the author proposed an improved Huffman decodingalgorithm based on column offset. In the hardware memory layer, the author proposed the memory schedule optimization algorithm based on producer-consumer models,which effectively improved the data throughput.In the external data loading layer, theauthor proposed the data loading optimization technology based on adaptor accordingto massive data.The experiments have shown that the program proposed above makethe work efficiency of the multimedia player platform improved by less than30percent.(4) On android2.2, the author have finished the developement and port of the wholemultimedia player platform, and designed the player test case including the userinterface design, file browser design, user events and player control and so on. Finally,the multimedia player platform have been ported to a real machine and the test resultsshowed that this platform own good properties. |