摘要
隨著多媒體技術的發展和人們對音頻,視頻數據的需求,越來越多的軟件加入了多媒體功能。
JMF(Java Media Framework API)是一種采用Java語言開發流式媒體應用應用程序接口。它作為Java Media API技術家族的一個重要組成部分,對Java平臺進行了擴展,為媒體應用開發人員提供了增強的媒體開發能力。Java多媒體框架中包含了許多用于處理多媒體的API,所支持的功能包括:可以在Java Applet和應用程序中播放各種媒體文件,例如AU、AVI、MIDI、MPEG、QuickTime和WAV等文件;可以播放從互聯網上下載的媒體流;可以利用麥克風和攝像機一類的設備截取音頻和視頻,并保存成多媒體文件;處理多媒體文件,轉換文件格式;向互聯網上傳音頻和視頻數據流;在互聯網上廣播音頻和視頻數據等。
本系統旨在使用JMF編寫一個音頻播放器,實現一般播放器的功能,并加入一些當前的播放器不支持的功能。
關鍵詞:Java2標準版;Java多媒體框架;MP3播放器
Design And Implementation Of Mp3 Player Based-on J2SE
Abstract
With the development of multimedia technology and the urgent requirement of people to multimedia data, more and more applications integrate multimedia functionality.
JMF is an application program interface which adopts Java language to develop stream media application. As an important part of Java Media API family, it greatly extends Java language and provides enhanced media process ability for media application developers. JMF contains many APIs used to process multimedia, it supports: plays different kinds of media files in Java Applets and Java applications, including AU, AVI, MIDI, MPEG, QuickTime, WAV and so on; plays media stream downloaded from the Internet; uses devices such as microphone and video camera to capture audio or video, and saves them as multimedia files; processes media files, converts format among different types; uploads audio or video data stream to Internet; broadcasts audio or video data stream.
This system is supposed to write a program based-on JMF to play audio file, it implements functionalities just as the other typical mp3 player has done, and it also has some features that unsupported by those players.