Page 1 of 1

Android Forced Hardware Acceleration disables embebbed subtiles

Posted: 20 Oct 2015 00:34
by adrianc1982
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!

Re: Android Forced Hardware Acceleration disables embebbed subtiles

Posted: 20 Oct 2015 19:16
by adrianc1982
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

Re: Android Forced Hardware Acceleration disables embebbed subtiles

Posted: 21 Oct 2015 02:18
by adrianc1982
if anyone is interested I opened a bug report here:

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

Re: Android Forced Hardware Acceleration disables embebbed subtiles

Posted: 30 Oct 2015 18:25
by Jean-Baptiste Kempf
I believe you've forgotten to set the second surface.