Cannot display subtitles with LibVlc

VLC for Android and Chrome OS specific usage questions
ebr
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jul 2015 17:07

Cannot display subtitles with LibVlc

Postby ebr » 31 Aug 2015 20:04

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.

luke823
Blank Cone
Blank Cone
Posts: 18
Joined: 16 May 2012 04:49

Re: Cannot display subtitles with LibVlc

Postby luke823 » 02 Sep 2015 00:12

This is a pretty serious problem preventing basic operations when streaming video.

richx
New Cone
New Cone
Posts: 2
Joined: 03 Sep 2015 10:28

Re: Cannot display subtitles with LibVlc

Postby richx » 03 Sep 2015 10:34

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?

ebr
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jul 2015 17:07

Re: Cannot display subtitles with LibVlc

Postby ebr » 03 Sep 2015 13:59

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.

richx
New Cone
New Cone
Posts: 2
Joined: 03 Sep 2015 10:28

Re: Cannot display subtitles with LibVlc

Postby richx » 04 Sep 2015 07:14

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).

ebr
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jul 2015 17:07

Re: Cannot display subtitles with LibVlc

Postby ebr » 11 Sep 2015 19:43

You need to update, this is fixed @ newer version
Which issue? My original one of the blending error? Thanks.

ebr
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jul 2015 17:07

Re: Cannot display subtitles with LibVlc

Postby ebr » 12 Sep 2015 22:32

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.

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: Cannot display subtitles with LibVlc

Postby Jean-Baptiste Kempf » 05 Nov 2015 14:17

You also need to set 2 surfaces to have correct clean control.
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 “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: blueice_haller and 7 guests