-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support S_TEXT/ASS subtitles in MKV #889
Comments
What's the format of the subtitles embedded in the MKV? I tried to download the file via the link you provided but just go:
|
Sorry, you're right. This site work only in Ukraine. I uploaded this file to Google Drive: This is our test video. |
|
ASS subtitles can be incredibly complex to render. I wonder if it might be possible/feasible to somehow leverage libass (https://github.com/libass/libass/) as a native extension to render to a separate canvas to be composited on top of the video... |
Looking at this, it doesn't look particularly complicated? What are the specific things you're concerned about complexity wise? |
The spec that you're linking too only includes very basic examples. In practice, ASS subtitles are used to construct very complicated subtitle renderings. Here's an example such a subtitle, which is a couple of years old, http://puu.sh/kTknq/eab4c5c9a1.png. People who create ASS based subtitles spend an incredible amount of time producing very detailed subtitles. I think you might be under-estimating how difficult it actually is to properly support them. Here is another example, where all the yellow "ribbons" are added via the subtitle: http://puu.sh/kTkxI/a692a60803.png. |
Heh, they look non-trivial :). Thanks for the info! |
Here's another crazy example, where mask vectors have been used: http://fat.gfycat.com/MemorableGoldenAphid.gif :) |
Wow, never saw that kind of subtitle... Definitively something much more El jue., 22 oct. 2015 12:51, Ian Bird [email protected] escribió:
|
Simple SSA/ASS subtitles (not yet including styling) are now supported in |
Closing this as simple subtitles are now supported, and it's unclear whether there's demand for lots of styling support for this subtitle type. Please file a new enhancement specifically about styling if it's a requirement. Thanks! |
Hello, I'm working on a relatively simple TV and for this I chose ExoPlayer. Now there is a question about reading subtitles from video files. To initialize the player, I use the following code:
Video and audio is playing fine, but the subtitles are not working. If I call getTrackCount(TEXT_RENDER) it gives me 0, but in video file there are three tracks of subtitles. I am not good in any codecs or in the principles of playing, I basically application programmer;
For testing I'm using this video file: http://www.ex.ua/get/201122663
How I can force to work subtitles in my project? Thanks and sorry for my English.
The text was updated successfully, but these errors were encountered: