Android Forced Hardware Acceleration disables embebbed subtiles

This forum is about all development around libVLC.
adrianc1982
New Cone
New Cone
Posts: 5
Joined: 20 Oct 2015 00:30

Android Forced Hardware Acceleration disables embebbed subtiles

Postby adrianc1982 » 20 Oct 2015 00:34

Hi guys, im working with libvlc 1.6.4 on android. If I do this..

Code: Select all

Media m = new Media(libvlc, myUri); m.setHWDecoderEnabled(true, true);
I lose subtitles but if i do this..

Code: Select all

Media m = new Media(libvlc, myUri); m.setHWDecoderEnabled(true, false);
I get the embebbed subtitles automatically shown in the video. Do you know if this is a bug or if theres a work around. I really need the forced hardware acceleartion so I need both booleans. Im working with a firestick and the only way I could get 100% speed without lagging or glitches is forcing hardware acceleration.

Thanks!

adrianc1982
New Cone
New Cone
Posts: 5
Joined: 20 Oct 2015 00:30

Re: Android Forced Hardware Acceleration disables embebbed subtiles

Postby adrianc1982 » 20 Oct 2015 19:16

apparently this error only occurs on FireStick, i will keep testing and posting my results Android Studio logs show this:

Code: Select all

10-20 09:31:42.945 5164-7392/com.example.monokuma E/VLC: [59c0cbd0] blend blend: no matching alpha blending routine (chroma: RGBA -> ANOP) 10-20 09:31:42.945 5164-7392/com.example.monokuma E/VLC: [59c0cbd0] core blend: blending RGBA to ANOP failed 10-20 09:31:44.365 5164-7392/com.example.monokuma E/VLC: [5a2ec1e0] core vout display: Failed to change zoom

adrianc1982
New Cone
New Cone
Posts: 5
Joined: 20 Oct 2015 00:30

Re: Android Forced Hardware Acceleration disables embebbed subtiles

Postby adrianc1982 » 21 Oct 2015 02:18

if anyone is interested I opened a bug report here:

https://trac.videolan.org/vlc/ticket/15725

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: Android Forced Hardware Acceleration disables embebbed subtiles

Postby Jean-Baptiste Kempf » 30 Oct 2015 18:25

I believe you've forgotten to set the second surface.
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 15 guests