Audio converting with Xuggler
I'm trying to convert aac/wav/wma audio files to mp3 with Xuggler in Java. Unfortunately, I have a big loss of quality. My input file size is about 7MB and my output file size is only 1,5MB. The sample rate is set to 44100 Hz, is there other parameters to set? Thank you for your answers. if (args.length <= 1) throw new IllegalArgumentException("must pass an input filename and output filename as argument"); IMediaWriter writer = ToolFactory.makeWriter(args[1]); String filename = args[0]; // Create a Xuggler container object IContainer container = IContainer.make(); // Open up the container if