marwen2 / aacdecoder-android

Automatically exported from code.google.com/p/aacdecoder-android
GNU Lesser General Public License v3.0
0 stars 0 forks source link

MP3 file play problem #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. MP3Player multiPlayer = new MP3Player();
2. multiPlayer.playAsync("/mnt/sdcard/example.mp3");
3. playing not starts.

What is the expected output? What do you see instead?
I can play 128k bitrate mp3 files, but can't play 192k bitrate mp3 files.(128k 
higher)

What version of the product are you using? On which device ?
2.3.6 samsung galaxy player, 4.0 samsung galaxy2

What is the URL of the stream ?
mp3 files in sdcard(128k, 192k, 256k)

Please provide any additional information below.

    09-28 16:48:16.929: D/dalvikvm(1454): Trying to load lib /mnt/asec/com.spoledge.aacplay-2/lib/libaacdecoder.so 0x405147f0
    09-28 16:48:16.949: D/dalvikvm(1454): Added shared lib /mnt/asec/com.spoledge.aacplay-2/lib/libaacdecoder.so 0x405147f0
    09-28 16:48:16.949: D/dalvikvm(1454): No JNI_OnLoad found in /mnt/asec/com.spoledge.aacplay-2/lib/libaacdecoder.so 0x405147f0, skipping init
    09-28 16:48:16.953: E/MP3Player(1454):  find decoder by name 'OpenCORE-MP3'
    09-28 16:48:16.960: E/AACPlayerActivity(1454): playerStarted : 
    09-28 16:48:16.972: I/Decoder(1454): start() starting native decoder - OpenCORE-MP3

No more messages prints in log

Please provide any additional information below.

Original issue reported on code.google.com by supp...@vercoop.com on 28 Sep 2012 at 7:58

GoogleCodeExporter commented 8 years ago
Is this a duplicate of issue 23?

Original comment by bj...@xowave.com on 1 Nov 2012 at 9:01

GoogleCodeExporter commented 8 years ago
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.

Original comment by vbarta...@gmail.com on 29 May 2013 at 2:08

GoogleCodeExporter commented 8 years ago
This is related to issue 23, but I'd like to keep open both as this issue is 
about stream with bitrate > 128kbs, but issue 23 is about "decoder not starting 
time to time for 128kbs streams".

Original comment by vbarta...@gmail.com on 29 May 2013 at 2:10

GoogleCodeExporter commented 8 years ago
I've committed revision 26 (see also issue 23).
Now trying 192 kbps stream at http://78.24.9.110:10778/ and it is working

Original comment by vbarta...@gmail.com on 30 May 2013 at 9:26

GoogleCodeExporter commented 8 years ago

Original comment by vbarta...@gmail.com on 30 May 2013 at 9:26

GoogleCodeExporter commented 8 years ago
Play http URL works, but when I play local file like /sdcard/example.mp3, 
nothing happens. The log shows:

BufferReader     next() waiting...
BufferReader     run() started...
BufferReader     next() awaken
BufferReader     run() stopped.

Then no any further log output.

Original comment by Liu.Bin....@gmail.com on 8 Jul 2013 at 10:49