摘 要
隨著計(jì)算機(jī)的廣泛運(yùn)用,Internet的迅速發(fā)展,各種音頻視頻資源也在網(wǎng)上廣為流傳,這些資源看似平常,但已經(jīng)漸漸成為人們生活中必不可少的一部分了。于是各種播放器也緊跟著發(fā)展起來(lái),但是很多播放器一味追求外觀花哨,功能龐大,對(duì)用戶的電腦造成了很多資源浪費(fèi),比如CPU,內(nèi)存等的占用率過(guò)高,在用戶需要多任務(wù)操作時(shí),受到了不小的影響,帶來(lái)了許多不便,而對(duì)于大多數(shù)普通用戶,許多功能用不上,形同虛設(shè)。針對(duì)以上各種弊端,選擇了開發(fā)多語(yǔ)種的音頻視頻播放器,將各種性能優(yōu)化,繼承播放器的常用功能,滿足一般用戶(如聽(tīng)歌,看電影)的需求,除了能播放常見(jiàn)格式的語(yǔ)音視頻文件,還能播放RM,RMVB格式的視頻文件。此外,還能支持中文、日文、英文等語(yǔ)言界面。
首先研究了各種市場(chǎng)上流行的播放器,如MEDIA PLAYER,REAL ONE等,了解它們各自的插件及編碼方式,還有各種播放器播放的特別格式文件,分析各種編碼的優(yōu)缺點(diǎn)以及各種播放器本身存在的缺陷和特點(diǎn)。其次,選擇了Windows自帶的 Windows Media Player和PPstream的PowerPlayer.dll兩種比較優(yōu)秀的插件進(jìn)行開發(fā),編寫出功能實(shí)用,使用方便快捷的播放器。目前已經(jīng)實(shí)現(xiàn)的功能有能播放常見(jiàn)視頻音頻文件的功能,如MP3,AVI,WMV,RM,RMVB等,擁有播放菜單,能選擇節(jié)目,具備一般播放器的功能,如快進(jìn),快退,音量調(diào)節(jié)等。播放模式也比較完善,有單曲,順序,循環(huán),隨機(jī)播放等模式。此外,界面能支持中文,日文,英文三種語(yǔ)言。
關(guān)鍵詞:計(jì)算機(jī)應(yīng)用技術(shù);音頻視頻;播放器;插件
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