摘 要
隨著計算機的廣泛運用,Internet的迅速發展,各種音頻視頻資源也在網上廣為流傳,這些資源看似平常,但已經漸漸成為人們生活中必不可少的一部分了。于是各種播放器也緊跟著發展起來,但是很多播放器一味追求外觀花哨,功能龐大,對用戶的電腦造成了很多資源浪費,比如CPU,內存等的占用率過高,在用戶需要多任務操作時,受到了不小的影響,帶來了許多不便,而對于大多數普通用戶,許多功能用不上,形同虛設。針對以上各種弊端,選擇了開發多語種的音頻視頻播放器,將各種性能優化,繼承播放器的常用功能,滿足一般用戶(如聽歌,看電影)的需求,除了能播放常見格式的語音視頻文件,還能播放RM,RMVB格式的視頻文件。此外,還能支持中文、日文、英文等語言界面。
首先研究了各種市場上流行的播放器,如MEDIA PLAYER,REAL ONE等,了解它們各自的插件及編碼方式,還有各種播放器播放的特別格式文件,分析各種編碼的優缺點以及各種播放器本身存在的缺陷和特點。其次,選擇了Windows自帶的 Windows Media Player和PPstream的PowerPlayer.dll兩種比較優秀的插件進行開發,編寫出功能實用,使用方便快捷的播放器。目前已經實現的功能有能播放常見視頻音頻文件的功能,如MP3,AVI,WMV,RM,RMVB等,擁有播放菜單,能選擇節目,具備一般播放器的功能,如快進,快退,音量調節等。播放模式也比較完善,有單曲,順序,循環,隨機播放等模式。此外,界面能支持中文,日文,英文三種語言。
關鍵詞:計算機應用技術;音頻視頻;播放器;插件
Design and Implementation of Multilingual Multimedia Player
Abstract
Along with computer widespread application and Internet rapid development, many kinds of audio and video resources also widely spread on-line. These resources look very ordinary, but gradually became an essential part of people’s daily life. Thereafter,verious players were developed. But many designers pursue only the fashionable appearance and versatile functions on players’ design. Hence resources’ waste was caused. For example, CPU and Memory are excessively taken. When users need the multi-task operation, it will bring much more trouble. But regarding the majority average users, many functions are not necessary. Against the shortcomings, a multilingual audio and video player is developed which remain the commonly used functions and optimize the performance. Common users can be satisfied for listening music and watching film. Except for the common form of vocal video files, the RM and RMVB form video files can be played on the player. In addition, these documents can be played in Chinese, Japanese and English.
This graduation project primary mission: Firstly, various popular players are studied such as MEDIAPLAYER, REAL ONE and so on including their embedded modules, encoding methods and data format. Advantages and disadvantages among these players are analyzed. Then two kinds of excellent active components are chosen to develop so that a practical player, which is easy to operate, is implemented. At present, the expect functions have realized such as MP3,WMV,AVI,RM and RMVB documents playing and so on. One can choose the program to play according to the menu. The player has the familiar functions such as fast forward, fast backward, volume control and so on. It has various playing modes such as single, order, circulation, and random mode. In addition, it can be played in Chinese, Japanese and English.
Key words: Computer Application Technology;Audio and Video;Player;Plug-in