|
发表于 2005-12-3 12:48:16
|
显示全部楼层
[quote=heyuqi]呵呵,不评论这个了。等放假后自己写一个试试就知道了[/quote]
java最难解决的是解码器问题,我说的 Java Media Framework 支持的编码不够全面:
Q: What media types does JMF 2.1.1 support?
JMF 2.1.1 supports a wide array of media types, including
protocols: FILE, HTTP, FTP, RTP
audio: AIFF, AU, AVI, GSM, MIDI, MP2, MP3*, QT, RMF, WAV
video: AVI, MPEG-1, QT, H.261, H.263
other: HotMedia
*MP3 is supported only on the Windows platform.
For a complete set of formats, check out: http://java.sun.com/products/java-media/jmf/2.1.1/formats.html
mp3 只在windows下支持,wma更是不可能支持了,所以 jmf 等于没用.
去这里看看java 的mp3 player : http://www.javazoom.net/index.shtml
好像只有这里有第三方的 mp3 ogg 解码器: http://www.javazoom.net/jlgui/about.html
实话说,这个java player 已经不错了.
如果你能写解码器,那就当我没说过上面的话. |
|