yixia / VitamioBundle

Vitamio for Android
http://www.vitamio.org/en/
Other
5.27k stars 2.07k forks source link

what is wrong? #22

Closed alexliyu closed 11 years ago

alexliyu commented 11 years ago

the logcat show: 07-27 22:48:22.152: E/OMXCodec(18763): [OMX.google.h264.decoder] Codec lied about its buffer size requirements, sending a buffer larger than the originally advertised size in FILL_BUFFER_DONE!

09-27 15:52:05.928: D/VitamioPlayer: CPU implementer:0x41 09-27 15:52:05.928: D/VitamioPlayer: Serial:0541ce82575548488071825016236784 09-27 15:52:05.938: D/VitamioPlayer: CPU architecture:7 09-27 15:52:05.948: D/VitamioPlayer: Hardware:sun4i 09-27 15:52:05.948: D/VitamioPlayer: CPU revision:2 09-27 15:52:05.958: D/VitamioPlayer: CPU variant:0x3 09-27 15:52:05.958: D/VitamioPlayer: CPU part:0xc08 09-27 15:52:05.968: D/VitamioPlayer: Revision:0000 09-27 15:52:05.968: D/VitamioPlayer: BogoMIPS:1001.88 09-27 15:52:05.978: D/VitamioPlayer: Features:swp half thumb fastmult vfp edsp neon vfpv3 09-27 15:52:05.978: D/VitamioPlayer: Processor:ARMv7 Processor rev 2 (v7l) 09-27 15:52:05.988: D/VitamioPlayer: CPU architecture: 7 09-27 15:52:05.998: D/VitamioPlayer: GET CPU FATURE: V5TE V6 VFP V7A VFPV3 NEON 09-27 15:52:05.998: D/dalvikvm(7721): Trying to load lib /data/data/io.vov.vitamio.demo/lib/libvinit.so 0x41044ed0 09-27 15:52:05.998: D/dalvikvm(7721): Added shared lib /data/data/io.vov.vitamio.demo/lib/libvinit.so 0x41044ed0 09-27 15:52:06.028: I/VitamioPlayer: isNativeLibsInited, APP VERSION: 2, Vitamio Library version: 2 09-27 15:52:06.218: D/libEGL(7721): loaded /system/lib/egl/libGLES_android.so 09-27 15:52:06.228: D/libEGL(7721): loaded /system/lib/egl/libEGL_mali.so 09-27 15:52:06.238: D/libEGL(7721): loaded /system/lib/egl/libGLESv1_CM_mali.so 09-27 15:52:06.238: D/libEGL(7721): loaded /system/lib/egl/libGLESv2_mali.so 09-27 15:52:06.268: D/OpenGLRenderer(7721): Enabling debug mode 0 09-27 15:52:12.658: D/OpenGLRenderer(7721): Flushing caches (mode 0) 09-27 15:52:13.938: I/VitamioPlayer: isNativeLibsInited, APP VERSION: 2, Vitamio Library version: 2 09-27 15:52:13.998: D/SurfaceView(7721): pckname = io.vov.vitamio.demo 09-27 15:52:14.088: I/SurfaceView(7721): Changes: creating=true format=true size=true visible=true mLeft=-1 mTop =-1 mLocation[0]=0 mLocation[1]=56 left=true top=true 09-27 15:52:14.088: I/SurfaceView(7721): Cur surface: Surface(name=null, identity=-1) 09-27 15:52:14.098: I/SurfaceView(7721): New surface: Surface(name=null, identity=1171), vis=true, frame=Rect(0, 56 - 1280, 720) 09-27 15:52:14.098: I/SurfaceView(7721): visibleChanged -- surfaceCreated 09-27 15:52:14.098: D/MediaPlayerDemo(7721): surfaceCreated called 09-27 15:52:14.108: I/VitamioPlayer: LIB ROOT: /data/data/io.vov.vitamio.demo/libs/ 09-27 15:52:14.108: D/dalvikvm(7721): Trying to load lib /data/data/io.vov.vitamio.demo/libs/libstlport_shared.so 0x41044ed0 09-27 15:52:14.108: D/dalvikvm(7721): Added shared lib /data/data/io.vov.vitamio.demo/libs/libstlport_shared.so 0x41044ed0 09-27 15:52:14.108: D/dalvikvm(7721): No JNI_OnLoad found in /data/data/io.vov.vitamio.demo/libs/libstlport_shared.so 0x41044ed0, skipping init 09-27 15:52:14.108: D/dalvikvm(7721): Trying to load lib /data/data/io.vov.vitamio.demo/libs/libvplayer.so 0x41044ed0 09-27 15:52:14.108: D/dalvikvm(7721): Added shared lib /data/data/io.vov.vitamio.demo/libs/libvplayer.so 0x41044ed0 09-27 15:52:14.118: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.118: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.118: I/VitamioPlayer: LOAD FFMPEG START: /data/data/io.vov.vitamio.demo/libs/libffmpeg.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD FFMPEG END: /data/data/io.vov.vitamio.demo/libs/libffmpeg.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD VVO START: /data/data/io.vov.vitamio.demo/libs/libvvo.9.so 09-27 15:52:14.128: E/VitamioPlayer: FIND_NAME_SYM vvo, render_yuv 09-27 15:52:14.128: I/VitamioPlayer: LOAD VVO END: /data/data/io.vov.vitamio.demo/libs/libvvo.9.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD VAO START: /data/data/io.vov.vitamio.demo/libs/libvao.0.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD VAO END: /data/data/io.vov.vitamio.demo/libs/libvao.0.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD OMX START: /data/data/io.vov.vitamio.demo/libs/libOMX.14.so 09-27 15:52:14.138: I/VitamioPlayer: LOAD OMX END: /data/data/io.vov.vitamio.demo/libs/libOMX.14.so 09-27 15:52:14.138: I/VitamioPlayer: VPLAYER INIT BEGIN 09-27 15:52:14.138: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.138: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.138: I/VitamioPlayer: Application package name: io.vov.vitamio.demo 09-27 15:52:14.138: D/VitamioPlayer: RENDER RGB 09-27 15:52:14.158: D/VitamioPlayer: THREAD NOTIFY START 09-27 15:52:14.178: I/VitamioPlayer: VPLAYER INIT END 09-27 15:52:14.178: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.178: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.178: I/VitamioPlayer: Application package name: io.vov.vitamio.demo 09-27 15:52:14.178: D/VitamioPlayer: SURFACE INIT OK 09-27 15:52:14.178: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.178: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.178: I/VitamioPlayer: Application package name: io.vov.vitamio.demo 09-27 15:52:14.178: D/VitamioPlayer: SURFACE INIT OK 09-27 15:52:14.178: D/VitamioPlayer: prepare 09-27 15:52:14.178: I/VitamioPlayer: PREPARE SIG: 0 09-27 15:52:14.178: I/VitamioPlayer: THREAD PREPARE START 09-27 15:52:14.188: I/VitamioPlayer: THREAD PREPARE ATTACHED 09-27 15:52:14.188: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.188: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.188: I/VitamioPlayer: OPEN FILE /mnt/sdcard/33.mp4 09-27 15:52:14.278: D/VitamioPlayer: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/sdcard/33.mp4': 09-27 15:52:14.278: D/VitamioPlayer: Metadata: 09-27 15:52:14.278: D/VitamioPlayer: major_brand : 09-27 15:52:14.278: D/VitamioPlayer: isom 09-27 15:52:14.278: D/VitamioPlayer: minor_version : 09-27 15:52:14.278: D/VitamioPlayer: 1 09-27 15:52:14.278: D/VitamioPlayer: compatible_brands: 09-27 15:52:14.278: D/VitamioPlayer: isomavc1 09-27 15:52:14.288: D/VitamioPlayer: creation_time : 09-27 15:52:14.288: D/VitamioPlayer: 2010-10-31 11:57:00 09-27 15:52:14.288: D/VitamioPlayer: Duration: 09-27 15:52:14.288: D/VitamioPlayer: 00:04:13.09 09-27 15:52:14.288: D/VitamioPlayer: , start: 09-27 15:52:14.288: D/VitamioPlayer: 0.000000 09-27 15:52:14.288: D/VitamioPlayer: , bitrate: 09-27 15:52:14.288: D/VitamioPlayer: 2132 kb/s 09-27 15:52:14.298: D/VitamioPlayer: Stream #0:0 09-27 15:52:14.298: D/VitamioPlayer: (und) 09-27 15:52:14.298: D/VitamioPlayer: : Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 40:33 DAR 20:11], 1999 kb/s 09-27 15:52:14.298: D/VitamioPlayer: , SAR 109:90 DAR 109:60 09-27 15:52:14.298: D/VitamioPlayer: , 29.97 fps 09-27 15:52:14.298: D/VitamioPlayer: , 29.97 tbr 09-27 15:52:14.298: D/VitamioPlayer: , 30k tbn 09-27 15:52:14.298: D/VitamioPlayer: , 59.94 tbc 09-27 15:52:14.298: D/VitamioPlayer: Metadata: 09-27 15:52:14.298: D/VitamioPlayer: creation_time : 09-27 15:52:14.298: D/VitamioPlayer: 2010-10-31 11:57:00 09-27 15:52:14.298: D/VitamioPlayer: handler_name : 09-27 15:52:14.298: D/VitamioPlayer: GPAC ISO Video Handler 09-27 15:52:14.298: D/VitamioPlayer: Stream #0:1 09-27 15:52:14.298: D/VitamioPlayer: (und) 09-27 15:52:14.298: D/VitamioPlayer: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s 09-27 15:52:14.298: D/VitamioPlayer: Metadata: 09-27 15:52:14.298: D/VitamioPlayer: creation_time : 09-27 15:52:14.298: D/VitamioPlayer: 2010-10-31 11:57:02 09-27 15:52:14.298: D/VitamioPlayer: handler_name : 09-27 15:52:14.298: D/VitamioPlayer: GPAC ISO Audio Handler 09-27 15:52:14.298: I/VitamioPlayer: METADATA: isom1isomavc12010-10-31 11:57:00 09-27 15:52:14.298: I/VitamioPlayer: META AUDIO: 1. und. 2010-10-31 11:57:02, META SUBTITLE: 09-27 15:52:14.298: D/VitamioPlayer: FIND CODEC_ID 86018 09-27 15:52:14.298: I/VitamioPlayer: OOPS: ONLY 1 09-27 15:52:14.328: D/VitamioPlayer: OPEN CODEC aac 09-27 15:52:14.328: I/VitamioPlayer: OPEN STREAM AUDIO BEGIN 09-27 15:52:14.328: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.328: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.328: I/VitamioPlayer: Application package name: io.vov.vitamio.demo 09-27 15:52:14.328: I/VitamioPlayer: 2, 44100, 0 09-27 15:52:14.338: I/VitamioPlayer: OPEN STREAM AUDIO END 09-27 15:52:14.338: D/VitamioPlayer: SURFACE RELEASEED OK 09-27 15:52:14.338: D/VitamioPlayer: THREAD AUDIO_DECODE START 09-27 15:52:14.358: I/OMXCodec(7721): [OMX.google.h264.decoder] AVC profile = 77 (Main), level = 30 09-27 15:52:14.358: D/VitamioPlayer: THREAD AUDIO_OUTPUT START 09-27 15:52:14.358: I/OMXCodec(7721): [OMX.google.h264.decoder] video dimensions are 320 x 240 09-27 15:52:14.358: I/OMXCodec(7721): [OMX.google.h264.decoder] Crop rect is 320 x 240 @ (0, 0) 09-27 15:52:14.368: E/VitamioPlayer: Unknown video color format: 32315659 09-27 15:52:14.368: A/OMXCodec(7721): frameworks/base/media/libstagefright/OMXCodec.cpp:1594 CHECK(mState == LOADED || mState == ERROR || mState == LOADED_TO_IDLE) failed. 09-27 15:52:14.368: A/libc(7721): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1) 09-27 15:52:14.448: D/dalvikvm(7721): GC_CONCURRENT freed 195K, 5% free 6809K/7111K, paused 2ms+13ms 09-27 15:52:15.418: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:16.498: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:17.578: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:18.658: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:19.738: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:20.828: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:22.228: D/VitamioPlayer: CPU implementer:0x41 09-27 15:52:22.248: D/VitamioPlayer: Serial:0541ce82575548488071825016236784 09-27 15:52:22.248: D/VitamioPlayer: CPU architecture:7 09-27 15:52:22.258: D/VitamioPlayer: Hardware:sun4i 09-27 15:52:22.258: D/VitamioPlayer: CPU revision:2 09-27 15:52:22.258: D/VitamioPlayer: CPU variant:0x3 09-27 15:52:22.258: D/VitamioPlayer: CPU part:0xc08 09-27 15:52:22.258: D/VitamioPlayer: Revision:0000 09-27 15:52:22.258: D/VitamioPlayer: BogoMIPS:1001.88 09-27 15:52:22.268: D/VitamioPlayer: Features:swp half thumb fastmult vfp edsp neon vfpv3 09-27 15:52:22.268: D/VitamioPlayer: Processor:ARMv7 Processor rev 2 (v7l) 09-27 15:52:22.268: D/VitamioPlayer: CPU architecture: 7 09-27 15:52:22.278: D/VitamioPlayer: GET CPU FATURE: V5TE V6 VFP V7A VFPV3 NEON 09-27 15:52:22.278: D/dalvikvm(7753): Trying to load lib /data/data/io.vov.vitamio.demo/lib/libvinit.so 0x410457f8 09-27 15:52:22.278: D/dalvikvm(7753): Added shared lib /data/data/io.vov.vitamio.demo/lib/libvinit.so 0x410457f8 09-27 15:52:22.298: I/VitamioPlayer: isNativeLibsInited, APP VERSION: 2, Vitamio Library version: 2

alexliyu commented 11 years ago

07-27 22:48:22.152: E/MediaBuffer(18763): offset = 0, length = 522240, mSize = 518400 07-27 22:48:22.152: A/MediaBuffer(18763): frameworks/base/media/libstagefright/MediaBuffer.cpp:140 (mGraphicBuffer != NULL) || (offset + length <= mSize) 07-27 22:48:22.152: A/libc(18763): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)

crossle commented 11 years ago

What's your Android Versioin?

alexliyu commented 11 years ago

android version:4.0.3 the detail: 07-28 00:29:04.259: D/VitamioPlayer: Processor : ARMv7 Processor rev 2 (v7l) 07-28 00:29:04.279: D/VitamioPlayer: BogoMIPS : 1001.88 07-28 00:29:04.279: D/VitamioPlayer: Features : swp half thumb fastmult vfp edsp neon vfpv3 07-28 00:29:04.289: D/VitamioPlayer: CPU implementer : 0x41 07-28 00:29:04.289: D/VitamioPlayer: CPU architecture: 7 07-28 00:29:04.289: D/VitamioPlayer: CPU variant : 0x3 07-28 00:29:04.289: D/VitamioPlayer: CPU part : 0xc08 07-28 00:29:04.299: D/VitamioPlayer: CPU revision : 2 07-28 00:29:04.299: D/VitamioPlayer: Hardware : sun4i 07-28 00:29:04.299: D/VitamioPlayer: Revision : 0000 07-28 00:29:04.299: D/VitamioPlayer: Serial : 0541ce82575548488071825016236784 07-28 00:29:04.309: D/VitamioPlayer: CPU implementer:0x41 07-28 00:29:04.319: D/VitamioPlayer: Serial:0541ce82575548488071825016236784 07-28 00:29:04.319: D/VitamioPlayer: CPU architecture:7 07-28 00:29:04.319: D/VitamioPlayer: Hardware:sun4i 07-28 00:29:04.319: D/VitamioPlayer: CPU revision:2 07-28 00:29:04.329: D/VitamioPlayer: CPU variant:0x3 07-28 00:29:04.339: D/VitamioPlayer: CPU part:0xc08 07-28 00:29:04.339: D/VitamioPlayer: Revision:0000 07-28 00:29:04.339: D/VitamioPlayer: BogoMIPS:1001.88 07-28 00:29:04.349: D/VitamioPlayer: Features:swp half thumb fastmult vfp edsp neon vfpv3 07-28 00:29:04.349: D/VitamioPlayer: Processor:ARMv7 Processor rev 2 (v7l) 07-28 00:29:04.349: D/VitamioPlayer: CPU architecture: 7 07-28 00:29:04.349: D/VitamioPlayer: GET CPU FATURE: V5TE V6 VFP V7A VFPV3 NEON

alexliyu commented 11 years ago

this error is in some android box.......

crossle commented 11 years ago

You used HW decode? It's can't show video?

alexliyu commented 11 years ago

yes,hw decode....

alexliyu commented 11 years ago

It's can't show video

alexliyu commented 11 years ago

please help me!

pimenovoleg commented 11 years ago

Your tested this app on real phone or emulator ? You tried running samples (from this repo) ? Please, check all reference to libs in project.

alexliyu commented 11 years ago

test on 5 real android box.All devices have this error. yes,i tried running samples

all source from this repo.

martomo commented 11 years ago

Can you list device specifications of the devices you have tested it on, like manufacturer, model, Android version.

alexliyu commented 11 years ago

android version:4.0.3 the detail: 07-28 00:29:04.259: D/VitamioPlayer: Processor : ARMv7 Processor rev 2 (v7l) 07-28 00:29:04.279: D/VitamioPlayer: BogoMIPS : 1001.88 07-28 00:29:04.279: D/VitamioPlayer: Features : swp half thumb fastmult vfp edsp neon vfpv3 07-28 00:29:04.289: D/VitamioPlayer: CPU implementer : 0x41 07-28 00:29:04.289: D/VitamioPlayer: CPU architecture: 7 07-28 00:29:04.289: D/VitamioPlayer: CPU variant : 0x3 07-28 00:29:04.289: D/VitamioPlayer: CPU part : 0xc08 07-28 00:29:04.299: D/VitamioPlayer: CPU revision : 2 07-28 00:29:04.299: D/VitamioPlayer: Hardware : sun4i 07-28 00:29:04.299: D/VitamioPlayer: Revision : 0000 07-28 00:29:04.299: D/VitamioPlayer: Serial : 0541ce82575548488071825016236784 07-28 00:29:04.309: D/VitamioPlayer: CPU implementer:0x41 07-28 00:29:04.319: D/VitamioPlayer: Serial:0541ce82575548488071825016236784 07-28 00:29:04.319: D/VitamioPlayer: CPU architecture:7 07-28 00:29:04.319: D/VitamioPlayer: Hardware:sun4i 07-28 00:29:04.319: D/VitamioPlayer: CPU revision:2 07-28 00:29:04.329: D/VitamioPlayer: CPU variant:0x3 07-28 00:29:04.339: D/VitamioPlayer: CPU part:0xc08 07-28 00:29:04.339: D/VitamioPlayer: Revision:0000 07-28 00:29:04.339: D/VitamioPlayer: BogoMIPS:1001.88 07-28 00:29:04.349: D/VitamioPlayer: Features:swp half thumb fastmult vfp edsp neon vfpv3 07-28 00:29:04.349: D/VitamioPlayer: Processor:ARMv7 Processor rev 2 (v7l) 07-28 00:29:04.349: D/VitamioPlayer: CPU architecture: 7 07-28 00:29:04.349: D/VitamioPlayer: GET CPU FATURE: V5TE V6 VFP V7A VFPV3 NEON

alexliyu commented 11 years ago

[OMX.google.h264.decoder] Codec lied about its buffer size requirements, sending a buffer larger than the originally advertised size in FILL_BUFFER_DONE!

but vlc for android is ok

crossle commented 11 years ago

Oh, Please waiting next version. or send use your android box, we'll debug it.

alexliyu commented 11 years ago

when?

crossle commented 11 years ago

Try use Vitamio 4.1.0, you need tell use chips type

alexliyu commented 11 years ago

when used hw decoder.also error 09-27 15:52:05.928: D/VitamioPlayer: CPU implementer:0x41 09-27 15:52:05.928: D/VitamioPlayer: Serial:0541ce82575548488071825016236784 09-27 15:52:05.938: D/VitamioPlayer: CPU architecture:7 09-27 15:52:05.948: D/VitamioPlayer: Hardware:sun4i 09-27 15:52:05.948: D/VitamioPlayer: CPU revision:2 09-27 15:52:05.958: D/VitamioPlayer: CPU variant:0x3 09-27 15:52:05.958: D/VitamioPlayer: CPU part:0xc08 09-27 15:52:05.968: D/VitamioPlayer: Revision:0000 09-27 15:52:05.968: D/VitamioPlayer: BogoMIPS:1001.88 09-27 15:52:05.978: D/VitamioPlayer: Features:swp half thumb fastmult vfp edsp neon vfpv3 09-27 15:52:05.978: D/VitamioPlayer: Processor:ARMv7 Processor rev 2 (v7l) 09-27 15:52:05.988: D/VitamioPlayer: CPU architecture: 7 09-27 15:52:05.998: D/VitamioPlayer: GET CPU FATURE: V5TE V6 VFP V7A VFPV3 NEON 09-27 15:52:05.998: D/dalvikvm(7721): Trying to load lib /data/data/io.vov.vitamio.demo/lib/libvinit.so 0x41044ed0 09-27 15:52:05.998: D/dalvikvm(7721): Added shared lib /data/data/io.vov.vitamio.demo/lib/libvinit.so 0x41044ed0 09-27 15:52:06.028: I/VitamioPlayer: isNativeLibsInited, APP VERSION: 2, Vitamio Library version: 2 09-27 15:52:06.218: D/libEGL(7721): loaded /system/lib/egl/libGLES_android.so 09-27 15:52:06.228: D/libEGL(7721): loaded /system/lib/egl/libEGL_mali.so 09-27 15:52:06.238: D/libEGL(7721): loaded /system/lib/egl/libGLESv1_CM_mali.so 09-27 15:52:06.238: D/libEGL(7721): loaded /system/lib/egl/libGLESv2_mali.so 09-27 15:52:06.268: D/OpenGLRenderer(7721): Enabling debug mode 0 09-27 15:52:12.658: D/OpenGLRenderer(7721): Flushing caches (mode 0) 09-27 15:52:13.938: I/VitamioPlayer: isNativeLibsInited, APP VERSION: 2, Vitamio Library version: 2 09-27 15:52:13.998: D/SurfaceView(7721): pckname = io.vov.vitamio.demo 09-27 15:52:14.088: I/SurfaceView(7721): Changes: creating=true format=true size=true visible=true mLeft=-1 mTop =-1 mLocation[0]=0 mLocation[1]=56 left=true top=true 09-27 15:52:14.088: I/SurfaceView(7721): Cur surface: Surface(name=null, identity=-1) 09-27 15:52:14.098: I/SurfaceView(7721): New surface: Surface(name=null, identity=1171), vis=true, frame=Rect(0, 56 - 1280, 720) 09-27 15:52:14.098: I/SurfaceView(7721): visibleChanged -- surfaceCreated 09-27 15:52:14.098: D/MediaPlayerDemo(7721): surfaceCreated called 09-27 15:52:14.108: I/VitamioPlayer: LIB ROOT: /data/data/io.vov.vitamio.demo/libs/ 09-27 15:52:14.108: D/dalvikvm(7721): Trying to load lib /data/data/io.vov.vitamio.demo/libs/libstlport_shared.so 0x41044ed0 09-27 15:52:14.108: D/dalvikvm(7721): Added shared lib /data/data/io.vov.vitamio.demo/libs/libstlport_shared.so 0x41044ed0 09-27 15:52:14.108: D/dalvikvm(7721): No JNI_OnLoad found in /data/data/io.vov.vitamio.demo/libs/libstlport_shared.so 0x41044ed0, skipping init 09-27 15:52:14.108: D/dalvikvm(7721): Trying to load lib /data/data/io.vov.vitamio.demo/libs/libvplayer.so 0x41044ed0 09-27 15:52:14.108: D/dalvikvm(7721): Added shared lib /data/data/io.vov.vitamio.demo/libs/libvplayer.so 0x41044ed0 09-27 15:52:14.118: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.118: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.118: I/VitamioPlayer: LOAD FFMPEG START: /data/data/io.vov.vitamio.demo/libs/libffmpeg.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD FFMPEG END: /data/data/io.vov.vitamio.demo/libs/libffmpeg.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD VVO START: /data/data/io.vov.vitamio.demo/libs/libvvo.9.so 09-27 15:52:14.128: E/VitamioPlayer: FIND_NAME_SYM vvo, render_yuv 09-27 15:52:14.128: I/VitamioPlayer: LOAD VVO END: /data/data/io.vov.vitamio.demo/libs/libvvo.9.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD VAO START: /data/data/io.vov.vitamio.demo/libs/libvao.0.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD VAO END: /data/data/io.vov.vitamio.demo/libs/libvao.0.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD OMX START: /data/data/io.vov.vitamio.demo/libs/libOMX.14.so 09-27 15:52:14.138: I/VitamioPlayer: LOAD OMX END: /data/data/io.vov.vitamio.demo/libs/libOMX.14.so 09-27 15:52:14.138: I/VitamioPlayer: VPLAYER INIT BEGIN 09-27 15:52:14.138: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.138: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.138: I/VitamioPlayer: Application package name: io.vov.vitamio.demo 09-27 15:52:14.138: D/VitamioPlayer: RENDER RGB 09-27 15:52:14.158: D/VitamioPlayer: THREAD NOTIFY START 09-27 15:52:14.178: I/VitamioPlayer: VPLAYER INIT END 09-27 15:52:14.178: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.178: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.178: I/VitamioPlayer: Application package name: io.vov.vitamio.demo 09-27 15:52:14.178: D/VitamioPlayer: SURFACE INIT OK 09-27 15:52:14.178: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.178: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.178: I/VitamioPlayer: Application package name: io.vov.vitamio.demo 09-27 15:52:14.178: D/VitamioPlayer: SURFACE INIT OK 09-27 15:52:14.178: D/VitamioPlayer: prepare 09-27 15:52:14.178: I/VitamioPlayer: PREPARE SIG: 0 09-27 15:52:14.178: I/VitamioPlayer: THREAD PREPARE START 09-27 15:52:14.188: I/VitamioPlayer: THREAD PREPARE ATTACHED 09-27 15:52:14.188: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.188: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.188: I/VitamioPlayer: OPEN FILE /mnt/sdcard/33.mp4 09-27 15:52:14.278: D/VitamioPlayer: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/sdcard/33.mp4': 09-27 15:52:14.278: D/VitamioPlayer: Metadata: 09-27 15:52:14.278: D/VitamioPlayer: major_brand : 09-27 15:52:14.278: D/VitamioPlayer: isom 09-27 15:52:14.278: D/VitamioPlayer: minor_version : 09-27 15:52:14.278: D/VitamioPlayer: 1 09-27 15:52:14.278: D/VitamioPlayer: compatible_brands: 09-27 15:52:14.278: D/VitamioPlayer: isomavc1 09-27 15:52:14.288: D/VitamioPlayer: creation_time : 09-27 15:52:14.288: D/VitamioPlayer: 2010-10-31 11:57:00 09-27 15:52:14.288: D/VitamioPlayer: Duration: 09-27 15:52:14.288: D/VitamioPlayer: 00:04:13.09 09-27 15:52:14.288: D/VitamioPlayer: , start: 09-27 15:52:14.288: D/VitamioPlayer: 0.000000 09-27 15:52:14.288: D/VitamioPlayer: , bitrate: 09-27 15:52:14.288: D/VitamioPlayer: 2132 kb/s 09-27 15:52:14.298: D/VitamioPlayer: Stream #0:0 09-27 15:52:14.298: D/VitamioPlayer: (und) 09-27 15:52:14.298: D/VitamioPlayer: : Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 40:33 DAR 20:11], 1999 kb/s 09-27 15:52:14.298: D/VitamioPlayer: , SAR 109:90 DAR 109:60 09-27 15:52:14.298: D/VitamioPlayer: , 29.97 fps 09-27 15:52:14.298: D/VitamioPlayer: , 29.97 tbr 09-27 15:52:14.298: D/VitamioPlayer: , 30k tbn 09-27 15:52:14.298: D/VitamioPlayer: , 59.94 tbc 09-27 15:52:14.298: D/VitamioPlayer: Metadata: 09-27 15:52:14.298: D/VitamioPlayer: creation_time : 09-27 15:52:14.298: D/VitamioPlayer: 2010-10-31 11:57:00 09-27 15:52:14.298: D/VitamioPlayer: handler_name : 09-27 15:52:14.298: D/VitamioPlayer: GPAC ISO Video Handler 09-27 15:52:14.298: D/VitamioPlayer: Stream #0:1 09-27 15:52:14.298: D/VitamioPlayer: (und) 09-27 15:52:14.298: D/VitamioPlayer: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s 09-27 15:52:14.298: D/VitamioPlayer: Metadata: 09-27 15:52:14.298: D/VitamioPlayer: creation_time : 09-27 15:52:14.298: D/VitamioPlayer: 2010-10-31 11:57:02 09-27 15:52:14.298: D/VitamioPlayer: handler_name : 09-27 15:52:14.298: D/VitamioPlayer: GPAC ISO Audio Handler 09-27 15:52:14.298: I/VitamioPlayer: METADATA: isom1isomavc12010-10-31 11:57:00 09-27 15:52:14.298: I/VitamioPlayer: META AUDIO: 1. und. 2010-10-31 11:57:02, META SUBTITLE: 09-27 15:52:14.298: D/VitamioPlayer: FIND CODEC_ID 86018 09-27 15:52:14.298: I/VitamioPlayer: OOPS: ONLY 1 09-27 15:52:14.328: D/VitamioPlayer: OPEN CODEC aac 09-27 15:52:14.328: I/VitamioPlayer: OPEN STREAM AUDIO BEGIN 09-27 15:52:14.328: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.328: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.328: I/VitamioPlayer: Application package name: io.vov.vitamio.demo 09-27 15:52:14.328: I/VitamioPlayer: 2, 44100, 0 09-27 15:52:14.338: I/VitamioPlayer: OPEN STREAM AUDIO END 09-27 15:52:14.338: D/VitamioPlayer: SURFACE RELEASEED OK 09-27 15:52:14.338: D/VitamioPlayer: THREAD AUDIO_DECODE START 09-27 15:52:14.358: I/OMXCodec(7721): [OMX.google.h264.decoder] AVC profile = 77 (Main), level = 30 09-27 15:52:14.358: D/VitamioPlayer: THREAD AUDIO_OUTPUT START 09-27 15:52:14.358: I/OMXCodec(7721): [OMX.google.h264.decoder] video dimensions are 320 x 240 09-27 15:52:14.358: I/OMXCodec(7721): [OMX.google.h264.decoder] Crop rect is 320 x 240 @ (0, 0) 09-27 15:52:14.368: E/VitamioPlayer: Unknown video color format: 32315659 09-27 15:52:14.368: A/OMXCodec(7721): frameworks/base/media/libstagefright/OMXCodec.cpp:1594 CHECK(mState == LOADED || mState == ERROR || mState == LOADED_TO_IDLE) failed. 09-27 15:52:14.368: A/libc(7721): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1) 09-27 15:52:14.448: D/dalvikvm(7721): GC_CONCURRENT freed 195K, 5% free 6809K/7111K, paused 2ms+13ms 09-27 15:52:15.418: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:16.498: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:17.578: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:18.658: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:19.738: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:20.828: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:22.228: D/VitamioPlayer: CPU implementer:0x41 09-27 15:52:22.248: D/VitamioPlayer: Serial:0541ce82575548488071825016236784 09-27 15:52:22.248: D/VitamioPlayer: CPU architecture:7 09-27 15:52:22.258: D/VitamioPlayer: Hardware:sun4i 09-27 15:52:22.258: D/VitamioPlayer: CPU revision:2 09-27 15:52:22.258: D/VitamioPlayer: CPU variant:0x3 09-27 15:52:22.258: D/VitamioPlayer: CPU part:0xc08 09-27 15:52:22.258: D/VitamioPlayer: Revision:0000 09-27 15:52:22.258: D/VitamioPlayer: BogoMIPS:1001.88 09-27 15:52:22.268: D/VitamioPlayer: Features:swp half thumb fastmult vfp edsp neon vfpv3 09-27 15:52:22.268: D/VitamioPlayer: Processor:ARMv7 Processor rev 2 (v7l) 09-27 15:52:22.268: D/VitamioPlayer: CPU architecture: 7 09-27 15:52:22.278: D/VitamioPlayer: GET CPU FATURE: V5TE V6 VFP V7A VFPV3 NEON 09-27 15:52:22.278: D/dalvikvm(7753): Trying to load lib /data/data/io.vov.vitamio.demo/lib/libvinit.so 0x410457f8 09-27 15:52:22.278: D/dalvikvm(7753): Added shared lib /data/data/io.vov.vitamio.demo/lib/libvinit.so 0x410457f8 09-27 15:52:22.298: I/VitamioPlayer: isNativeLibsInited, APP VERSION: 2, Vitamio Library version: 2

ghost commented 8 years ago

Hello everyone, How can we flush the buffer once It gets full? Bcoz Once It gets full, It starts increasing the latency.