用JMF 播放一个mp3时出现,错误Unable to handle format: mpeglayer3。
原来由于版权问题JMF中没有带mp3插件。像sox一样没带没带解码插件lame.
于是在SUN网站上下了一下http://java.sun.com/javase/technologies/desktop/media/jmf/mp3/download.html
,这个网站真他妈的慢。下了半天。安装很简单,双击就可以。
The reason you are being able to play some of the mp3 files is that they are mpeg1 version or lower than mpeglayer3.So what you have to do is to download mp3plugin for jmf.It is a jar file put it into your jre/s /lib/ ext folder.Just follow the steps given on the download page.Run the command Java JavaEncoder something of that sort, it is given on the download page.What this command actually does is register this plugin into your jmf.preoperties file which is a binary file.Once you have modified your properties file then go to ur project and paste this file.Also put jmf.jar+mp3plgun.jar in your classpath.And see the magic.Cheers
分享到:
相关推荐
mp3plugin.jar 是 MP3转wav必备的包,如果没有这个包会报错,could not get audio input stream from input stream
Configure your prefix and postfix besides your mp3 name And Press Start Button. so nickname changer listener will be started. [Configure] If I m listening Marilyn Manson - This Is The New Shit , ...
Sourceforge-org.farng.mp3(Java音频处理): 音乐:歌手名+歌曲名等元信息,以MP3文件大体分为三部分: a) TAG_V2(ID3V2) 包含了作者、作曲、专辑等信息,长度不固定,扩充ID3V1信息 b) Frame 一系列的帧,由帧...
用于提取 android 平台元数据的 mp3 音频文件的开发存储库。
Red5 is an Open Source Flash Server written in Java that supports: Streaming Video (FLV, F4V, MP4, 3GP) Streaming Audio (MP3, F4A, M4A, AAC) Recording Client Streams (FLV and AVC AAC in FLV container...
Media Player is a plugin for eclipse writed by java. Now it can only play audio, and play video will come soon. 0.0.2 (20030617) 1. Support mouse right click. 2. You can refresh the play ...
一般的顺序是先安装 JDK 然后 解压 ant 压缩包,然后设置 java 环境变量和 ant 环境变量, 然后是解压 Android SDK ,再设置 Android SDK的环境变量。 总之就是把 JDK, ANT, Android SDK的路径添加到 path 里。 ...
� Google 提供了一套 Java 核心包 (J2SE 5,J2SE 6) 的有限子集,尚不承诺遵守 Java 任何 Java 规范 , 可能会造 成J ava 阵营的进一步分裂。 � 现有应用完善度不太够,需要的开发工作量较大。--------------------...
音频播放器Flutter音频插件(Swift / Java),可在iOS / Android / MacOS和Web上播放远程或本地音频文件。特征 Android / iOS / MacOS / Web 播放远程文件 播放本地文件(不适用于网络) 停止 暂停 onComplete ...
■CHAPTER 18 Example: MP3 Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297 ■APPENDIX Important NetBeans Extension Points and Configuration DTDs . . . . . . . . . ...
".mp3"="audio/mp3" ".mp4"="video/mpeg4" ".mpa"="video/x-mpg" ".mpd"="application/vnd.ms-project" ".mpe"="video/x-mpeg" ".mpeg"="video/mpg" ".mpg"="video/mpg" ".mpga"="audio/rn-mpeg" ".mpp"=...