基于Qt Creator图形界面开发环境,采用以音频时间戳为基准的音视频同步播放方案,并利用FFMPEG+SDL解码播放视频,设计了一种跨平台的嵌入式多媒体播放器.经实验证明,该播放器能够很好地支持多种格式的媒体文件播放,系统性能稳定,与当前流行的播放器相比较,在软件启动时间、CPU占用率、内存占用空间、流畅度以及音视频同步效果等方面均具有明显的优势,是一款高性价比的跨平台多媒体播放终端.
In this paper,under the development environment of Qt Creator graphical interface,a crossplatform embedded media player is designed by adopting audio and video synchronous playback scheme which is based on audio time stamp and using FFMPEG+SDL decoder to broadcast video.It is proved that the player is well able to support multiple formats of media file,the system performance is stable,compared with the current popular player,it has more obvious advantages in software startup time,CPU usage,memory footprint,fluency,and synchronization of audio and video effects,etc.This is a cross-platform multimedia player terminal with high cost performance.