Page 1 of 1

LibVLC Hardware Acceleration on Galaxy Tab 3 4.4.2

Posted: 03 Nov 2014 10:38
by Fradow
Hello,

I am using LibVLC and I have a problem on a Galaxy Tab 3 10.1" (the x86 one) using Android 4.4.2 (the problem didn't occur on Android 4.3) when using Hardware Acceleration.

Everything works fine when disabling Hardware Acceleration (note: Dev Hardware Acceleration is always left to Automatic). When using Automatic Hardware Acceleration (which puts it to Full), the screen is mostly green with some lines on the upper-left corner, on some apps:
- VLC main application works fine
- the LibVLC Android Sample (https://bitbucket.org/edwardcw/libvlc-android-sample) have the problem.
- my app have the problem.

The offending line is:

Code: Select all

vlc.setHardwareAcceleration(LibVLC.HW_ACCELERATION_AUTOMATIC);
Switch it to

Code: Select all

vlc.setHardwareAcceleration(LibVLC.HW_ACCELERATION_DISABLED);
and everything works fine.

Did I miss something when using LibVLC?

Additional note: on the 3 apps, EventHandler.HardwareAccelerationError is never fired.

Re: LibVLC Hardware Acceleration on Galaxy Tab 3 4.4.2

Posted: 09 Nov 2014 06:15
by edwardw
Disabling the HW acceleration will use software decoding.

If it still plays with acceptable performance, then there shouldn't be an issue.