In order to solve the problem that Android system only supports a few video formats , we develop a video player which uses FFm-peg as its audio and video decoder .It can play back the videos in format of most kinds .In this paper , a detailed description of the overall so-lution is given, and the implementation methods of some modules are also described , such as audio and video decoding , video display, audio and video synchronisation.The video player is tested on Tiny210, a development board.The test results show that the video player can meet users’ needs of playing back local video files .%为了解决Android系统对视频格式支持较少的问题,开发一款采用FFmpeg作为音视频解码器的视频播放器,该视频播放器可以播放多种格式的视频。对该视频播放器的整体方案以及音视频解码、视频显示、音视频同步等模块的实现方法作了具体阐述。该视频播放器在Tiny210开发板上进行测试,测试结果表明该视频播放器可以满足用户播放本地视频文件的需求。
展开▼