yixia / vitamiobundle Goto Github PK
View Code? Open in Web Editor NEWVitamio for Android
Home Page: http://www.vitamio.org/en/
License: Other
Vitamio for Android
Home Page: http://www.vitamio.org/en/
License: Other
First, thanks for this great lib, it's awesome!
I'm currently trying to retrieve Metadata from a Icy/Shoutcast. I could do it with a parallel request but I'd love to make it more convenient. Are you planning to make something like:
MediaPlayer player = new MediaPlayer(this);
player.setOnMetadataListener(this);
Cheers
cannot use HWDecoder in my htc t329w device
i use preferHWDecoder to play a video
MediaPlayer mMediaPlayer = new MediaPlayer(mContext,true);
but there is no picture but voice
Hello.
I am playing video from URL with VideoView and constantly getting this error on all devices, but on emulator everything works fine. What do these error code mean? Any ideas how to fix it? Thanks.
Tested on Android versions >= 4.0, Vitamio's latest version.
Dear all, will be great having, as new feature, the possibility, if the video playlist permit it, the possibility to have DVR features on LIVE. I mean scrub and seek in the past, as is on iOS devices
Thanks for the improvements
a.
Hi all,
I used Vitamio 4 in my project which plays radio in a service. Vitamio 4 plays the audio with noise. I also used Vitamio 3 with no noise, sound is clear, no problem.
link: http://ndrstream.ic.llnwd.net/stream/ndrstream_ndr1wellenord_hi_mp3
Thanks
Hello.
I'm with problems when I try play more then 1 audio. I don't know if it is the correct way for do this.
MediaPlayer mp1 = new MediaPlayer(context);
MediaPlayer mp2 = new MediaPlayer(context);
mp1.setDataSource("rtp://@:3030");
mp1.prepare();
mp1.start();
mp2.setDataSource("rtp://@:3031");
mp2.prepare();
mp2.start();
Thanks.
Hi Crossle Song!
I am having this problem, also
The demo vitamio v4.1.1 work great!
I create new project it also work .But im trying insert to my old project it can’t play this video anymore.
I tested demo and my project at 1 devices.
And i don’t forgot add this line:
if (!io.vov.vitamio.LibsChecker.checkVitamioLibs(this)) return;
This is error from logcat:
09-17 16:26:57.260: E/VitamioPlayer: Native libs libMXO.18.so not exists!
I tried print out list of files in libs folder. all lib exist but libMXO18.so is missing
Can you help me?
How set video view to full screen
Hey .
I used vitamio 3.x in my app and i use MediaPlayer.isLibraryLoaded() ,
when i try to use this in version 4.1.0 the method isLibraryLoaded() not found .
with what can i replace this method ?
tnx ..
The most popular error in my application (notification error from Google Play Developer's Console):
java.lang.RuntimeException: Unable to resume activity {so.pretty.kinopod/io.vov.vitamio.activity.VideoActivity}: java.lang.NullPointerException
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2742)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2771)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1276)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at io.vov.vitamio.activity.VideoActivity.reOpen(VideoActivity.java:371)
at io.vov.vitamio.activity.VideoActivity.reOpen(VideoActivity.java:384)
at io.vov.vitamio.activity.VideoActivity.onResume(VideoActivity.java:169)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1185)
at android.app.Activity.performResume(Activity.java:5182)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2732)
... 10 more
When you try to apply proguard to any project that uses vitamio 4, it fails with an IOException :Can't read vitamio.jar, Can't process class org.java_websocket...
(Unknown verification type [255] in stack map frame)
The problem is caused by corrupt preverification information (a StackMapTable attribute) attached to a method in the vitamio library (vitamio.jar). The library appears to have been processed with ProGuard itself, but maybe the preverification was misconfigured, or another tool has subsequently broken the preverification information. Please fix this, otherwise proguard cannot be used by people who wan't to optimize their apps with proguard.
I have to test my vitamio-powered app with different devices but unfortunately the vitamio library can't be initialized in any emulator (x86, ARM, Android 2.3, 4.2 ,..... )
It says can't find libffmpeg.so.
Do you have any comment on this?
Could you please helper support Vitamio for MIPS architecture since we attend to deploy our app with Vitamio to MIPS devices?
When playing a HLS m3u8 index file that contains multiple qualities, for example:
http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8
It always plays first stream resource that is available in the index file, which is http://devimages.apple.com/iphone/samples/bipbop/gear1/prog_index.m3u8 the lowest quality in this m3u8 index file.
I tried switching between quality by setting the video quality in the VideoView by using setVideoQuality:
But it always keeps playing the same stream resource, the first one in the m3u8 index file.
Or is there a different function in Vitamio that automatically switches between stream qualities based on bandwidth connection?
Hi,
I'm trying VitamioBundle, but i got this when I try to play a video:
D/Vitamio (12035): GET CPU FATURE: V5TE V6 VFP V7A VFPV3 NEON
D/dalvikvm(12035): Trying to load lib /data/data/com.iuculano.allmytv/lib/libvinit.so 0x4185a0d0
D/dalvikvm(12035): Added shared lib /data/data/com.iuculano.allmytv/lib/libvinit.so 0x4185a0d0
I/Vitamio (12035): LIB ROOT: null
D/dalvikvm(12035): Trying to load lib nulllibstlport_shared.so 0x4185a0d0
D/dalvikvm(11019): GC_CONCURRENT freed 1465K, 24% free 14909K/19527K, paused 2ms+8ms, total 128ms
D/dalvikvm(11019): WAIT_FOR_CONCURRENT_GC blocked 97ms
E/Vitamio (12035): Error loading libs
E/Vitamio (12035): java.lang.UnsatisfiedLinkError: Cannot load library: load_library[1093]: Library 'nulllibstlport_shared.so' not found
E/Vitamio (12035): at java.lang.Runtime.load(Runtime.java:340)
E/Vitamio (12035): at java.lang.System.load(System.java:521)
E/Vitamio (12035): at io.vov.vitamio.MediaPlayer.(MediaPlayer.java:100)
E/Vitamio (12035): at io.vov.vitamio.MediaPlayer.(MediaPlayer.java:78)
E/Vitamio (12035): at io.vov.vitamio.widget.VideoView.openVideo(VideoView.java:221)
E/Vitamio (12035): at io.vov.vitamio.widget.VideoView.access$29(VideoView.java:209)
E/Vitamio (12035): at io.vov.vitamio.widget.VideoView$9.surfaceCreated(VideoView.java:461)
E/Vitamio (12035): at android.view.SurfaceView.updateWindow(SurfaceView.java:543)
E/Vitamio (12035): at android.view.SurfaceView.access$000(SurfaceView.java:81)
E/Vitamio (12035): at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:169)
E/Vitamio (12035): at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:671)
E/Vitamio (12035): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1820)
E/Vitamio (12035): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
E/Vitamio (12035): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4214)
E/Vitamio (12035): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
E/Vitamio (12035): at android.view.Choreographer.doCallbacks(Choreographer.java:555)
E/Vitamio (12035): at android.view.Choreographer.doFrame(Choreographer.java:525)
E/Vitamio (12035): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
E/Vitamio (12035): at android.os.Handler.handleCallback(Handler.java:615)
E/Vitamio (12035): at android.os.Handler.dispatchMessage(Handler.java:92)
E/Vitamio (12035): at android.os.Looper.loop(Looper.java:137)
E/Vitamio (12035): at android.app.ActivityThread.main(ActivityThread.java:4745)
E/Vitamio (12035): at java.lang.reflect.Method.invokeNative(Native Method)
E/Vitamio (12035): at java.lang.reflect.Method.invoke(Method.java:511)
E/Vitamio (12035): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/Vitamio (12035): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/Vitamio (12035): at dalvik.system.NativeStart.main(Native Method)
W/dalvikvm(12035): No implementation found for native Lio/vov/vitamio/MediaPlayer;.unloadOMX_native:()V
D/AndroidRuntime(12035): Shutting down VM
W/dalvikvm(12035): threadid=1: thread exiting with uncaught exception (group=0x40dcc300)
Audioplayer not contain controler
I have an app with a Vitamio Media Player. I tried to play a video on phones like Samsung Galaxy SII (Android 2.3), SIII (Android 4.2), S4 (Android 4.2) and everything works fine, but when I play a video on old phones like Samsung Galaxy Young (Android 2.3), the audio works fine but video run very slow (like 0.5x). I have tried the bundle demo too, and I have the same issue.
I think this is because Galaxy Young have "poor" hardware, but I don't have more clues on this.
Thanks in advance.
I got a lot of these crash reports (we're using vitamio bundle 3.0). I saw this on different devices (even on devices where the app could work properly), and on both GB and ICS. Is there any idea how to fix this issue?
java.lang.UnsatisfiedLinkError: unloadOMX_native at io.vov.vitamio.MediaPlayer.unloadOMX_native(Native Method) at io.vov.vitamio.MediaPlayer.(SourceFile:135) at io.vov.vitamio.MediaPlayer.(SourceFile:78) at io.vov.vitamio.widget.VideoView.openVideo(SourceFile:221) at io.vov.vitamio.widget.VideoView.access$29(SourceFile:209) at io.vov.vitamio.widget.VideoView$9.surfaceCreated(SourceFile:461) at android.view.SurfaceView.updateWindow(SurfaceView.java:605) at android.view.SurfaceView.dispatchDraw(SurfaceView.java:395) at android.view.ViewGroup.drawChild(ViewGroup.java:1675) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1404) at android.view.View.draw(View.java:6932) at android.view.ViewGroup.drawChild(ViewGroup.java:1677) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1404) at android.view.View.buildDrawingCache(View.java:6689) at android.view.ViewGroup.onAnimationStart(ViewGroup.java:1290) at android.view.ViewGroup.drawChild(ViewGroup.java:1536) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1404) at android.view.ViewGroup.drawChild(ViewGroup.java:1675) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1404) at android.view.ViewGroup.drawChild(ViewGroup.java:1675) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1404) at android.view.View.draw(View.java:6932) at android.widget.FrameLayout.draw(FrameLayout.java:388) at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1917) at android.view.ViewRoot.draw(ViewRoot.java:1564) at android.view.ViewRoot.performTraversals(ViewRoot.java:1299) at android.view.ViewRoot.handleMessage(ViewRoot.java:1913) at android.os.Handler.dispatchMessage(Handler.java:130) at android.os.Looper.loop(SourceFile:351) at android.app.ActivityThread.main(ActivityThread.java:3820) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:538) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:969) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:727) at dalvik.system.NativeStart.main(Native Method)
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
It would be great to have minimal documentation how to use this project in another projects (as embedded video player). Simple README file with code snippets would be enough for beginners.
after forward/back video from url it pause
I tried playing a link in vitamio but it didn't work, I used it on my PC and it opened well.
Hello.
I was wondering if you plan to support Hardware Decoding on the Rockchip RK3188 chipset? When I try VPlayer on this device and enable Hardware Decode it only plays audio but NO video is shown (H.264, AVC).
Here are details about the chip: http://www.rock-chips.com/product.php?id=89&width=830&height=500
I am willing to pay for this if you can add support for this device. Please contact me ASAP.
Tried to play rtsp stream and get this error:
Fatal signal 11 (SIGSEGV) at 0x00000058 (code=1), thread 10851 (ov.vitamio.demo)
Here is the stream rtsp://62.162.58.55/TVTera
It's playing in VLC.
Thanks
07-24 12:41:19.001: INFO/dalvikvm(15944): java.lang.NoSuchMethodError: no method with name='onHWRenderFailed' signature='()V' in class Lio/vov/vitamio/MediaPlayer;
I tracked it and found out that you didn't add the following method to MediaPlayer.java
private void onHWRenderFailed() {
if (mOnHWRenderFailedListener != null)
mOnHWRenderFailedListener.onFailed();
}
I added it and compiled it again, but yet the vitamio-sample (4.0.1) doesn't play anything and the activity is closed
I tried to add subtitles using setSubPath and setSubShown but nothing happens.. SubtitleUpdateListener methods are never called..
How should I try to display external subtitles?
I should parse and display the subtitles?
Hi Cross.
I have error on Android 4.3.
I have a AsynTask to get url from API, onPostExecute I use code:mVideoView.setVideoURI to set video uri for videoview. But when I next video, sound is played, frame is frozen
Can you help me to fix it?
Log error:
09-16 20:29:52.140: E/BufferQueue(121): [SurfaceView] connect: already connected (cur=2, req=2)
09-16 20:29:52.140: E/VitamioPlayer: LOCK BUFFER FAILED
Does any one have a solution to the problem described in the link https://bbs.vitamio.org/topics/343?locale=en
There is no LICENCE file and no answer in the forum about what license this has.
http://vitamio.org/topics/93?locale=en
It can not be used if no license is granted.
Some code files have APACHE 2.0 headers, the used ffmped is LGPL, nothing else is known.
this issues is working ?
Hi,
I almost copy/pasted the VideoBuffer Example from the Example list project and the issue i am facing is that even with both Listeners implemented and set the listeners to the videoView , The OnInfo and onBufferingUpdate never called (or might be the request is not initiated for some reasons)
I can share code section which you require. But help me out.
I'm trying to use VitamioDemo but VitamioBundle not have string.vitamio_init_decoders.
What should i do?
.mp4 .avi .mpeg not supported in video view
Hi Cross.
I have this bug: screen don't display clearly on some devices. Ex: Galaxy S III Mini, Samsung Galaxy S, Galaxy Ace II (GT-I8160)
Reducing the media player buffer size with MediaPlayer.setBufferSize(long bufSize) is not improving the speed. I am getting same delay for my video stream for any value of buf size.
默认的 mediacontroller_seekbar01 图片太大 造成 Bitmap too large to be uploaded into a texture
I know a method , put current play position into bundle and recover the video in onCreate method , then call seekTo method.
however
this method will rebuffer the video.... how to avoid this situation. not to rebuffer when recover the state?
I use the latest build of Vitamio 4.0 but I cannot setup to display the subtitle. I try by running my own application and your sample code, but both of them cannot display subtitle. Plz advice the fix
Thanks for the AVOptions support for MediaPlayer in Vitamio 4.1.0. But I do not find any way to use this option for VideoView.
Would you please add this AVOptions support for VideoView in the next release?
LibsChecker.checkVitamioLibs(this) activity not found excetption
Wrote a test app which simply streams video from http://www.learnwake.com/samples/flv/HsFs3603dSequence_h.flv. All I see is a black screen. I tested the link on my computer using VLC Player and it streams fine. I then tested this link on my test app: http://ia600204.us.archive.org/2/items/Pbtestfilemp4videotestmp4/video_test_512kb.mp4 and it has the same problem, it won't play. Is there anywhere I can download an older version of the Vitamio library?
When play video about 3-5 mins, onCompletion invoked although it is not the end of file. For example with a video length 10 mins, when player playing about 3-5 min, onCompletion invoked and of course player stoped. This only happens in some weak device like Samsung Galaxy Y and Vitamio libs on VItamio Bundle; Google Play libs version DOESN'T have this problem.
Here is some log before player stop:
01-14 11:40:42.882: I/Vitamio(2963): Info (700, 0)
01-14 11:40:42.882: D/TAG(2963): 700_0
01-14 11:40:42.929: I/Vitamio(2963): Info (700, 0)
01-14 11:40:42.929: D/TAG(2963): 700_0
01-14 11:40:42.976: I/Vitamio(2963): Info (700, 0)
01-14 11:40:42.976: D/TAG(2963): 700_0
01-14 11:40:42.984: I/Vitamio(2963): Info (700, 0)
01-14 11:40:42.984: D/TAG(2963): 700_0
01-14 11:40:43.031: I/Vitamio(2963): Info (700, 0)
01-14 11:40:43.031: D/TAG(2963): 700_0
01-14 11:40:48.304: E/VitamioPlayer: [h264 @ 0x586330] AVC: nal size 3402
01-14 11:40:48.304: E/VitamioPlayer: [h264 @ 0x586330] no frame!
01-14 11:40:48.304: E/VitamioPlayer: FFMPEG NATIVE avcodec_decode_video2
01-14 11:40:48.312: D/VitamioPlayer: playback complete (0, 0)
01-14 11:40:48.312: D/VitamioVideoView(2963): onCompletion
I have tried both methods, neither can load video files in apk file.
would you like to tell me how to do this?
Hi, I'm facing a strange problem, none of the swf stream links I tried with vitamio worked, it always returns the same error: av_find_stream_info: Operation not permitted : -1
Does the same happen with you? or am I doind something wrong? Thanks.
I want play 2 video online in a activity, first is video 1. I has a button, when I press this button, I set new url ( is video 2) ro videoview, sound is play but frame is not. Error on Android 4.3
Vitamio has two native libs, one for "armeabi" and the other for "armeabi-v7a"
My problem is that I have yet another module in my app that have an "armeabi" native lib.
If compiling by default, the other module's native libs won't load due to "armeabi-v7a"
but if I remove "armeabi-v7a" folder from Vitamio libs, the native libs of other module will load.
http://stackoverflow.com/questions/17771100/why-armeabi-v7a-conflicts-with-armeabi-of-another-module
Anyway to fix this?
Using latest version to play an RTMP stream. The video loads, but only shows a frozen video frame.
The most popular error in my application (notification error from Google Play Developer's Console):
java.lang.UnsatisfiedLinkError: unloadOMX_native
at io.vov.vitamio.MediaPlayer.unloadOMX_native(Native Method)
at io.vov.vitamio.MediaPlayer.(MediaPlayer.java:135)
at io.vov.vitamio.activity.PlayerService.vplayerInit(PlayerService.java:104)
at io.vov.vitamio.activity.PlayerService.initialize(PlayerService.java:145)
at io.vov.vitamio.activity.VideoActivity$3.handleMessage(VideoActivity.java:566)
at android.os.Handler.dispatchMessage(Handler.java:130)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:4668)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:552)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:917)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)
at dalvik.system.NativeStart.main(Native Method)
java.lang.UnsatisfiedLinkError: unloadOMX_native
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.