在Java中转换3GP / AMR音频文件到MP3 [英] Converting 3gp/amr audio file to mp3 in java
本文介绍了在Java中转换3GP / AMR音频文件到MP3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要转换录制的音频文件,该文件是3gp格式为MP3格式。任何建议请。
I need to convert the recorded audio file which is in 3gp format to mp3 format. Any suggestions pls.
推荐答案
相当混乱,但你可以尝试这样的:
Rather messy, but you could try this:
- 使用isobox4j(见 https://contributions.coremedia.com/isobox4j/wiki/IsoParser )来读取AMR音频输出3GP文件的。
- 使用的<一个列出的选项之一href=\"http://stackoverflow.com/questions/3641920/how-to-en$c$c-a-wav-to-a-mp3-on-a-android-device/\">How为en code进行WAV,以在Android设备一个MP3来恩code吧。
- Use isobox4j (see https://contributions.coremedia.com/isobox4j/wiki/IsoParser) to read the AMR audio out of the 3gp file.
- Use one of the options listed in How to encode a WAV to a mp3 on a Android device to encode it.
没用过isobox4j:它开始工作,但我做之前转移到一个不同的项目,但它看起来像它会给你的东西,看起来像原始的PCM,你可以连接code
Never used isobox4j: started working with it but moved on to a different project before I was done but it looks like it will give you something that looks like raw PCM that you can encode.
让我知道它是否适合你。
Let me know if it works for you.
这篇关于在Java中转换3GP / AMR音频文件到MP3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文