Hi Lubo, Jean and Emil,
I have finished writing and testing of the JavaEncoder and JavaDecoder. With
them, I encode a .raw audio file and then use JavaDecoder to decode the
compressed file back to .raw file. Again it sounds fine.
Because i am not quite familiar with the JMF/FMJ usage in SIP( i can't find
an application example of using JMF codec, but can only refer to the API
documentation and make some assumptions of how to use it), there may be
some misunderstanding of FMJ in the code. I have written detailed comments
about my understanding of FMJ and the assumptions about the usage in the
source code (see the attachment), could you please help me review it and
point out my misunderstanding. Thanks in advance.
And another problem I think I should report to you. I did another test
"tandom" these two days, which do the encode-decode and feed the output of
decoder back to encoder, all these again and again for several loops, to
see if the final output increase or decrease too much in energy. And there
are still some results not pass the threshold suggested by the author of
celt. I don't know how important is this (confirm this for me?), but I'll
try to see more about it.
The next two days I will be busy moving to my new dormitory, so I may have
less time to do this, and may reply a little slowly. I will try to fix these
problems once everything settled down.
JavaEncoder.java (16.5 KB)
JavaDecoder.java (14.6 KB)