robvdpol / RaceControl

Race Control is a standalone, open source F1TV client for Windows, written in C# on the .NET platform.
GNU General Public License v3.0
1.19k stars 93 forks source link

[FEATURE] Closed caption / subtitle support #470

Open voxelvortex opened 1 year ago

voxelvortex commented 1 year ago

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

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: