Closed GoogleCodeExporter closed 8 years ago
Not really 7 out of 10, its a bit lower. In my test it was only 3 out of 10.
Original comment by arvid.ge...@gmail.com
on 8 Oct 2012 at 6:16
I wrote some code to do this and got the same behavior. The freeze occurs on
the call to
decoder.start()
Original comment by bj...@xowave.com
on 1 Nov 2012 at 8:59
I am looking into core of this problem and find it in "jni
mp3-opencore-decoder.c" -> static long aacd_opencoremp3_start(...):
...
/* pre-init search adts sync */
while (pExt->outputFrameSize == 0) {
...
status = pvmp3_framedecoder(pExt, oc->pMem); // status may never return NO_DECODING_ERROR sometimes
But I'am not C programmer and don't know how to fix it.
Original comment by Maxim.XT@gmail.com
on 5 Jan 2013 at 4:13
I've committed patch #22 (trunk) which fixes the way how the error is handled
in MP3 decoder wrapper. So since now it does not hang up, but it throws an
exception to the Java part.
Unfortunately it seems the root cause of the problem is somewhere in the
underlying MP3 decoder: the error UNSUPPORTED_FREE_BITRATE is returned from it
time to time.
Original comment by vbarta...@gmail.com
on 29 May 2013 at 2:06
Revision 26: retry-loop rewritten in the mp3 wrapper as well in the generic
decode loop (native)
Now the output looks like the following:
V/Decoder[OpenCORE-MP3]( 997): start() buffer=c8a1446a size=5600
D/Decoder[OpenCORE-MP3]( 997): start() Status[0]: 2 - consumed 0 bytes
E/Decoder[OpenCORE-MP3]( 997): start() frame decode error=2
E/Decoder[OpenCORE-MP3]( 997): start() first frame cannot be decoded - trying
to sync again
E/Decoder[OpenCORE-MP3]( 997): start() cannot re-sync the stream after next
1024 bytes, status=12
D/Decoder[OpenCORE-MP3]( 997): start() Status[0]: 0 - consumed 844 bytes
D/Decoder[OpenCORE-MP3]( 997): start() bytesconsumed=1868
D/Decoder ( 997): start() bytesleft=3732
Tested a little bit, seems working.
Original comment by vbarta...@gmail.com
on 30 May 2013 at 9:00
Included in version 0.7
Original comment by vbarta...@gmail.com
on 29 Dec 2013 at 10:37
Original issue reported on code.google.com by
NKuznet...@gmail.com
on 13 Sep 2012 at 4:09