How subtitles are drawn in VLC Android? Can I get strings?
Posted: 17 Dec 2017 14:43
by user456
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?
Re: How subtitles are drawn in VLC Android? Can I get strings?
Posted: 20 Dec 2017 20:57
by user456
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
Re: How subtitles are drawn in VLC Android? Can I get strings?
Posted: 21 Dec 2017 10:19
by Jean-Baptiste Kempf
The text rendering is done in C, in the freetype module.
Re: How subtitles are drawn in VLC Android? Can I get strings?
Posted: 21 Dec 2017 19:11
by user456
Thanks for the answer