How subtitles are drawn in VLC Android? Can I get strings?

This forum is about all development around libVLC.
user456
Blank Cone
Blank Cone
Posts: 20
Joined: 16 Dec 2017 19:52

How subtitles are drawn in VLC Android? Can I get strings?

Postby user456 » 17 Dec 2017 14:43

https://code.videolan.org/videolan/vlc-android
How subtitles are drawn in VLC Android? Can I get strings in java?
Does it use some native draw methods or java (like static layout), can I get somehow all text form current subtitles?

user456
Blank Cone
Blank Cone
Posts: 20
Joined: 16 Dec 2017 19:52

Re: How subtitles are drawn in VLC Android? Can I get strings?

Postby user456 » 20 Dec 2017 20:57

mb do I need to clarify more what I want? (if it's not understandable)

or VLC it's all about C language, and I would have to rewrite some code in C and then use jni to get it in java?
for example subtitles in open-source ExoPlayer (not that big project as VLC and only for Android) are written in java and can be easily accessed from java class https://github.com/google/ExoPlayer/blo ... derer.java

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: How subtitles are drawn in VLC Android? Can I get strings?

Postby Jean-Baptiste Kempf » 21 Dec 2017 10:19

The text rendering is done in C, in the freetype module.
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.

user456
Blank Cone
Blank Cone
Posts: 20
Joined: 16 Dec 2017 19:52

Re: How subtitles are drawn in VLC Android? Can I get strings?

Postby user456 » 21 Dec 2017 19:11

Thanks for the answer


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 15 guests