Reputation: 18586
What (stable) encoding libraries exist that can encode an uncompressed or lossless audio file to a common lossy format such as aac, mp3 or ogg?
If it is possible to do this without a library, that would be a valid option, too!
Upvotes: 1
Views: 160
Reputation: 1277
Vorbis-java is my recommendation, because it is free and avoids the patent / licensing issues you may come across with aac or mp3.
LAMEOnJ is a Java api for mp3 en/decoding, but you'll need to get the LAME library separately, due to the licensing concerns.
Upvotes: 2