Skip to content

Support VobSub subtitles #8260

Closed
androidx/media
#1979
@AliZgheib

Description

@AliZgheib

Hello everyone, I hope you are doing well today.

Introduction:
since the last few days, I've been working on a mobile application where I'm required to build a video player that supports subtitles/ audio track control and standard (forward, backward, play, pause) buttons
and this is where I've found about exo player, I've installed the main demo and ran it on my phone it worked really well.

Issue:
The media that I'm looking to play in the exoplayer is encoded using H 265 method ( the audio/text track aren't found in the meta data, they are embedded in the media it self) that is what I've learnt so far.
When I ran my media using the player, the video ran.. which is good, I was able to change audio track ( that were extracted from the media and shown in the dropdown menu), however the text track didn't show any option. I'm expected to find (English and Portuguese) and none of these options were showing. I was able to see options like Auto or Default (on some of the test videos) but changing between them doesn't show any subtitles.

Possible problem:
(I'm not sure if these are the real issues, maybe I'm missing something... and I cant see the subtitles for a different reason).

  1. I've read somewhere that this is maybe caused by the text subtitles embedded in my media file being encoded by a method not supported by exoplayer.

  2. CLOSED_CAPTIONS=NONE which is read that it can prevent exoplayer from reading the subtitles even if they exist

Not sure if these problems are causing my issue, any help to verify the issue and help me solve it would be really greatly appreciated :)

Additional:

Link to test the media file (if needed):
H 265 video link

Thanks alots in advance

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions