Postby shuyuan » 19 Dec 2014 08:17
I have already successfully build out a VLC.apk with ANDROID APL-21, and play a rtsp media, the result is still can't play
build flow:
1.git clone git://git.videolan.org/vlc-ports/android.git
2.config
ANDROID_SDK : SDK API 21
ANDROID_NDK : android-ndk-r10
ANDROID_ABI : armeabi-v7a
2. run sh compile.sh
the last it show BUILD SUCCESSFUL
next is logcat Error message:
can someone can analysis the log? find a way that fix this bug.
12-19 14:35:13.243: I/VLC/MainActivity(15263): onOpenMRL() is click.[------>this is i added]
12-19 14:35:19.414: W/libOpenSLES(15263): class OutputMix interface 0 requested but unavailable MPH=43
12-19 14:35:33.202: E/VLC(15263): core input: ES_OUT_RESET_PCR called
12-19 14:35:34.130: E/VLC(15263): mediacodec decoder: color-format not recognized
12-19 14:37:36.068: E/VLC(15263): core input: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1500 ms)
12-19 14:37:36.068: E/VLC(15263): core input: ES_OUT_RESET_PCR called
12-19 14:37:44.881: W/VLC(15263): live555 demux: no data received in 10s, eof ?
12-19 14:37:44.924: W/VLC/AudioService(15263): Warning: invalid next index, aborted !
next is detail message about Error meesag
12-19 14:35:33.188: D/VLC(15263): core input: `rtsp://218.204.223.237:554/live/1/66251FC11353191F/e7ooqwcfbqjoo80j.sdp' successfully opened
12-19 14:35:33.188: D/dalvikvm(15263): threadid=15: interp stack at 0x61bc1000
12-19 14:35:33.188: D/dalvikvm(15263): threadid=15: bye!
12-19 14:35:33.199: D/ACodec(15263): [OMX.MTK.VIDEO.DECODER.MPEG4] Now handling output port settings change
12-19 14:35:33.202: D/VLC(15263): live555 demux: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
12-19 14:35:33.202: E/VLC(15263): core input: ES_OUT_RESET_PCR called
12-19 14:35:33.202: D/dalvikvm(15263): threadid=15: interp stack at 0x61bc1000
12-19 14:35:33.204: D/ACodec(15263): Input[0], 0x6242f000(0x6242f000)
12-19 14:35:34.000: I/SurfaceTextureClient(15263): [STC::queueBuffer] (this:0x5f94db00) fps:5.10, dur:1176.38, max:688.02, min:17.21
12-19 14:35:34.124: D/dalvikvm(15263): threadid=15: interp stack at 0x61bd1000
12-19 14:35:34.124: D/VLC(15263): core input: Buffering 38%
12-19 14:35:34.124: D/VLC(15263): core input: Buffering 49%
12-19 14:35:34.125: D/VLC(15263): core input: Buffering 50%
12-19 14:35:34.127: D/VLC(15263): core input: Buffering 63%
12-19 14:35:34.129: D/VLC(15263): mediacodec decoder: output format changed: {height=288, what=1869968451, color-format=2130706433, slice-height=288, crop-left=0, width=352, crop-bottom=287, crop-top=0, mime=video/raw, stride=352, crop-right=351}
12-19 14:35:34.130: E/VLC(15263): mediacodec decoder: color-format not recognized
12-19 14:35:34.130: D/dalvikvm(15263): threadid=15: bye!
12-19 14:35:34.144: D/VLC(15263): core input: Buffering 64%
12-19 14:37:35.099: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:35.389: I/SurfaceTextureClient(15263): [STC::queueBuffer] (this:0x5f94db00) fps:1.01, dur:1983.92, max:998.81, min:985.11
12-19 14:37:35.399: D/dalvikvm(15263): threadid=15: interp stack at 0x61c0a000
12-19 14:37:35.411: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:35.411: D/dalvikvm(15263): threadid=15: interp stack at 0x61c0a000
12-19 14:37:35.411: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:35.712: D/dalvikvm(15263): threadid=15: interp stack at 0x61c0a000
12-19 14:37:35.727: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:35.739: D/dalvikvm(15263): threadid=15: interp stack at 0x61c0a000
12-19 14:37:35.740: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:36.040: D/dalvikvm(15263): threadid=15: interp stack at 0x61c0a000
12-19 14:37:36.061: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:36.067: D/dalvikvm(15263): threadid=15: interp stack at 0x61c0a000
12-19 14:37:36.067: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:36.068: E/VLC(15263): core input: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1500 ms)
12-19 14:37:36.068: E/VLC(15263): core input: ES_OUT_RESET_PCR called
12-19 14:37:36.376: D/VLC(15263): core input: Buffering 0%
12-19 14:37:36.395: I/SurfaceTextureClient(15263): [STC::queueBuffer] (this:0x5f94db00) fps:0.99, dur:1005.90, max:1005.90, min:1005.90