AMR Converter

There are some idea how to convert audio files(au,wav) into amr audio files and vice versa?thank you
[114 byte] By [gambellid] at [2007-9-27 19:57:24]
# 1
You can find such converter on the Ericsson site ...
alexil78 at 2007-7-6 23:41:50 > top of Java-index,Security,Cryptography...
# 2
but, I want to user java to realize the convertor , How ? thanks
tailon at 2007-7-6 23:41:50 > top of Java-index,Security,Cryptography...
# 3
if u have a good idea or method , please mail to me , ok? my mail address is :tailon2000@sina.com
tailon at 2007-7-6 23:41:50 > top of Java-index,Security,Cryptography...
# 4

If you try to implement a new format supported by JMF (to export) you will need to implement a new DataSink and a new Codec. The codec just do the translation between Wav and AMR, and the Datsink say to JMF how to serialize the output flux of the Codec into a file. So I guess you will have 2 or three bases classes :

- AMRExportCodec (implements Codec)

- AMRSerializer (implement DataSink)

- and something like AMRFormat who extends AudioFormat can help you too.

The plugin mechanism allow you to register your plugin, so after you just have to test (just.... :)).

I don't wanna lie, it's difficult and difficult to test. The JMF hierarchy is very powerful because you can re-implement all the component if you want. But if you don't know when each methods is calling it's very long to debug.

Don't hesitate to download the pdf of JMF, it's very useful (http://java.sun.com/products/java-media/jmf/2.1.1/specdownload.html).

I didn't do the job for a DataSink, but I did for a Demultiplexer and a Codec, so I don't have any source code for you. But if i can help you, just ask.

I don't know if someone did a plugin to save a AMR file with JMF, but if this plugin exist focus on it you will win a lot of time.

good luck

nradde at 2007-7-6 23:41:50 > top of Java-index,Security,Cryptography...
# 5
Hi!Have you found a solution? I need to do an WAV->AMR conversion too.Have you any already developed classes written in java?Please help me if you got something...Thx.
becu at 2007-7-6 23:41:50 > top of Java-index,Security,Cryptography...
# 6

Hi,

We have developed such converter.

Some info below;

Ankanet Audio Converter written in Java to make conversions as;

- WAV to AMR conversion

- AMR to WAV conversion

- MIDI to WAV conversion

- MIDI to AMR conversion

- monoWAV to monoMIDI conversions

You can easily use the Converter in any java program or as command line application.

please contact us for further details;

ankames@ankanet.com.tr

http://mobile.ankanet.com.tr

kind regards.

ankames

antrasit at 2007-7-6 23:41:50 > top of Java-index,Security,Cryptography...