问题
Actually, we need to convert a WMA audio file into FLAC. But there's a lack of ways to convert WMA into more convenient formats. Can you recommend us a library, that can help us, or something like that?
回答1:
What you need is JAVE:
The JAVE (Java Audio Video Encoder) library is Java wrapper on the ffmpeg project. Developers can take take advantage of JAVE to transcode audio and video files from a format to another. In example you can transcode an AVI file to a MPEG one, you can change a DivX video stream into a (youtube like) Flash FLV one, you can convert a WAV audio file to a MP3 or a Ogg Vorbis one, you can separate and transcode audio and video tracks, you can resize videos, changing their sizes and proportions and so on. Many other formats, containers and operations are supported by JAVE.
回答2:
MFSampledSP supports WMA. It's suitable for Windows 7 or later.
来源:https://stackoverflow.com/questions/11633093/wma-support-in-java