Page 1 of 1

Cannot display subtitles with LibVlc

Posted: 31 Aug 2015 20:04
by ebr
We are using LibVlc in our own application and have compiled from recent source in the official repo.

Everything is pretty much working except subtitles which generate the following errors when they attempt to render:

Code: Select all

D/VLC﹕ [b9486f08] core blend: looking for video blending module matching "any": 1 candidates E/VLC﹕ [b9486f08] blend blend: no matching alpha blending routine (chroma: RGBA -> ANOP) D/VLC﹕ [b9486f08] core blend: no video blending modules matched
Is there some setting or module that we are missing that anyone can point me to?

These same subs worked fine in an earlier release of LibVlc.

Thanks.

Re: Cannot display subtitles with LibVlc

Posted: 02 Sep 2015 00:12
by luke823
This is a pretty serious problem preventing basic operations when streaming video.

Re: Cannot display subtitles with LibVlc

Posted: 03 Sep 2015 10:34
by richx
I also have problems with showing subtitles. I get critical error, when ever I try to do that. What was the last commit (LibVLC version, tag, commit hash or anything), which worked for Your application?

Re: Cannot display subtitles with LibVlc

Posted: 03 Sep 2015 13:59
by ebr
The version we were using previously was from early this Spring and was before the last round of major changes. Many of the interfaces have changed since then so backing up that far probably wouldn't be good for you.

Re: Cannot display subtitles with LibVlc

Posted: 04 Sep 2015 07:14
by richx
Thanks for information. I tried to analyse (maybe i'm too weak in code analyse) VLC player android version source code. But it doesn't seem to be doing anything hugely different from I'm doing, so I'm missing something. For now i will recreate subtitles with separate textView, I know, that this isn't the best approach, but at least it is working in my case (I have a separate .srt files).

Re: Cannot display subtitles with LibVlc

Posted: 11 Sep 2015 19:43
by ebr
You need to update, this is fixed @ newer version
Which issue? My original one of the blending error? Thanks.

Re: Cannot display subtitles with LibVlc

Posted: 12 Sep 2015 22:32
by ebr
Okay, if anyone else runs into this same issue - the problem was on our end.

The way LibVlc identifies the subtitle tracks changed slightly from the version we were using before so we had to change how we were calling the routine to set the sub track to be sure we mapped the proper track to the proper track id from within the VLC media player. Once we confirmed that, we got the internal subs working again.

Re: Cannot display subtitles with LibVlc

Posted: 05 Nov 2015 14:17
by Jean-Baptiste Kempf
You also need to set 2 surfaces to have correct clean control.