Giter VIP home page Giter VIP logo

Comments (9)

crossle avatar crossle commented on June 6, 2024

Vitamio support emulator Android 4.0+.

from vitamiobundle.

mafshin avatar mafshin commented on June 6, 2024

It worked in emulator running ARM API 14 (4.0.2), ARM API 15 (4.0.4), ARM API 16 (4.1.1)

But in x86 (more frequent usage due to faster loading by virtualization), it doesn't work

Here's stack trace for Vitamio-Demo 4.0.1 in emulators running Intel x86 API 15 (4.0.3) and Intel x86 API 16 (4.1.1)
java.lang.ExceptionInInitializerError
at io.vov.vitamio.LibsChecker.checkVitamioLibs(LibsChecker.java:40)
at io.vov.vitamio.demo.VitamioListActivity.onCreate(VitamioListActivity.java:40)
at android.app.Activity.performCreate(Activity.java:5008)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
at android.app.ActivityThread.access$600(ActivityThread.java:130)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
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:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load vinit: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:365)
at java.lang.System.loadLibrary(System.java:535)
at io.vov.vitamio.Vitamio.(Vitamio.java:230)

from vitamiobundle.

crossle avatar crossle commented on June 6, 2024

support x86 will next version.

from vitamiobundle.

mafshin avatar mafshin commented on June 6, 2024

@crossle I was able to run the latest version of VPlayer in BlueStacks App Player running Android 2.3.4 (API 10)

vplayer

But when I tried to run my app (equipped with Vitamio 4.0.1), the "Initialize decoders" didn't failed but when I try to play a video (while instantiating MediaPlayer instance) it crashes with:

java.lang.UnsatisfiedLinkError: unloadOMX_native
at io.vov.vitamio.MediaPlayer.unloadOMX_native(Native Method)
at io.vov.vitamio.MediaPlayer.(MediaPlayer.java:198)

Since VPlayer is backed by Vitamio, so there should be a fix for this.

from vitamiobundle.

crossle avatar crossle commented on June 6, 2024

You sure init decoder ok?…init log?

from vitamiobundle.

mafshin avatar mafshin commented on June 6, 2024

Logs say "true" and it didn't close the app (like x86)

08-26 13:27:14.880 4220-4220/com.package.name E/Vitamio[Player]: Native libs libffmpeg.so not exists!
08-26 13:27:14.880 520-525/system_process I/ActivityManager: Starting: Intent { cmp=com.package.name/io.vov.vitamio.activity.InitActivity (has extras) } from pid 4220
08-26 13:27:14.880 520-525/system_process D/ActivityManager: In bstSendTopActivityInfo, pkgName: com.package.name activityName: io.vov.vitamio.activity.InitActivity
08-26 13:27:14.920 4220-4302/com.package.name E/Vitamio[Player]: Native libs libffmpeg.so not exists!
08-26 13:27:14.920 4220-4302/com.package.name D/Vitamio[Player]: loadLibs start 1
08-26 13:27:14.980 520-549/system_process I/ActivityManager: Displayed com.package.name/io.vov.vitamio.activity.InitActivity: +90ms (total +120ms)
08-26 13:27:15.150 4220-4302/com.package.name D/Vitamio[Player]: copyCompressedLib time: 0.23
08-26 13:27:15.150 4220-4302/com.package.name I/Vitamio[Init]: PARSE FILE: /data/data/com.package.name/libs/, /data/data/com.package.name/libs/libarm.so, -1
08-26 13:27:15.150 4220-4302/com.package.name I/Vitamio[Init]: Parsing is Ok
08-26 13:27:15.150 4220-4302/com.package.name D/Vitamio[Player]: initializeNativeLibs: true
08-26 13:27:15.160 4220-4302/com.package.name D/Vitamio[Player]: loadLibs time: 0.23
08-26 13:27:15.190 4220-4220/com.package.name E/Vitamio[Player]: Native libs libffmpeg.so not exists!

It's very necessary for me to run Vitamio in emulators below ICS

from vitamiobundle.

crossle avatar crossle commented on June 6, 2024

Vitamio 4.1.0 support x86

from vitamiobundle.

mafshin avatar mafshin commented on June 6, 2024

Wow, Vitamio 4.1.0 played very well in the following emulators:

Bluestacks App Player - Android 2.3.4 (API 10)

Intel x86 Emulator - Android 2.3.7 (API 10)

Intel x86 Emulator - Android 4.0.4 (API 15)

Thanks Yixia

from vitamiobundle.

rahulqv avatar rahulqv commented on June 6, 2024

Vitamio doesn't work with Intel based processors. It works only with ARMv6 and up processors. But peoples reported it works with snapdragon too.

from vitamiobundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.