Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

[FEATURE] Closed caption / subtitle support #470

@voxelvortex

Description

@voxelvortex

Request

It would be great if CC support could be integrated into the player and forwarded to external players such as VLC/MPV

Possible solution

  • Open a stream on the F1TV website in chrome, and enable subtitles.
  • Right click, inspect, navigate to the Network tab
  • You should be able to see occasional Fetch/XHR requests for .vtt files.

These files contain subtitles and the timestamps for when to display those subtitles. Chrome gives you the option to copy the request into different formats such as a JavaScript fetch function or a curl request. These seem to work for me, and could potentially be implemented in C# to grab the subtitle data.

Once the data is received it's forwarded to the internal player or an external player such as VLC or MPV (It seems that VLC and MPV already support VTT subtitles).

Why this is important:

  • Increases accessibility for deaf, hard of hearing, and those in areas with noise pollution
  • Would allow individuals more control over their audio settings without missing information from commentators (FX audio only with CC or French audio with English CC)
  • Aids concentration

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions