<dependency>
<groupId>it.sauronsoftware</groupId>
<artifactId>jave</artifactId>
<version>1.0.2</version>
</dependency>
maven下载不成功的话, 可以手动下载, 下载地址: http://www.sauronsoftware.it/projects/jave/jave-1.0.2.zip
String fileName ="D:\\pcm2\\back.wav";
File wav = new File( fileName );
Encoder encoder = new Encoder();
try {
MultimediaInfo mul = encoder.getInfo(wav);
int bit = mul.getAudio().getBitRate();
System.out.println(bit);
} catch (EncoderException e) {
e.printStackTrace();
}
标签:jave,java,音频,比特率,wav,1.0,sauronsoftware From: https://www.cnblogs.com/treeofb/p/17698188.html