libVLC on Android hardware acceleration

This forum is about all development around libVLC.
d.beraldin
New Cone
New Cone
Posts: 1
Joined: 07 Jun 2016 16:14

libVLC on Android hardware acceleration

Postby d.beraldin » 07 Jun 2016 16:43

Hi all,
I am developing an Android application using the 1.9.8 version of libVLC. I was upgrading from a very old version and I'm experiencing a strange behaviour after the upgrade. First of all, not all video files can be played: on serveral devices videos that are not encoded using the H.264 codec (but, e.g., MPEG-4) are not displayed at all, unless I forcibly disable hardware acceleration.

On the other side, if I run the application disabling HW acceleration, I can play even MPEG-4 encoded videos correctly for some time, but after ~1h of playback the device freezes completely. Looking at the logcat my unserstanding is that it seems to never be able to complete buffering at some point, which leads to threads being suspended which in turn causes some deadlock somewhere.

Does anybody have any idea/suggestion/clue about what I can do without converting every single file to H.264?
Any help would be very welcome, thanks in advance to those who will help me. I can provide further details if needed.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libVLC on Android hardware acceleration

Postby Jean-Baptiste Kempf » 28 Jun 2016 10:18

please share the logs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 27 guests