LibVLC Hardware Acceleration on Galaxy Tab 3 4.4.2

VLC for Android and Chrome OS specific usage questions
Fradow
Blank Cone
Blank Cone
Posts: 22
Joined: 10 Jan 2014 17:44

LibVLC Hardware Acceleration on Galaxy Tab 3 4.4.2

Postby Fradow » 03 Nov 2014 10:38

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.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: LibVLC Hardware Acceleration on Galaxy Tab 3 4.4.2

Postby edwardw » 09 Nov 2014 06:15

Disabling the HW acceleration will use software decoding.

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


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 8 guests