Skip to content

[FEATURE] Support importing local SRT/VTT subtitle files #1962

Description

@ngxccc

Before you begin

  • I have searched existing issues to avoid duplicates
  • I am willing to contribute a PR for this feature

Is your feature request related to a problem? Please describe.

For videos without native CC/subtitles, users currently rely solely on the "AI Subtitles" server API. When users generate their own local subtitle files (e.g., via local Whisper or Google Colab ASR), there is currently no way to import those .srt or .vtt files directly into Read Frog's video player to translate them.

Describe the solution you'd like

Add an "Import Local Subtitles (.srt / .vtt)" feature in the Video Subtitles Settings Panel:

  1. Allow users to select a local .srt or .vtt file from their computer.
  2. Parse the local subtitle timestamps and text fragments into subtitle state.
  3. Utilize Read Frog's configured translation providers (such as Ollama / Local LLM / Microsoft Translate) to translate and render bilingual subtitles seamlessly on the video.

Which area(s) would this feature affect? (Select all that apply)

Browser Extension

Additional context

This feature would enable users to bypass server quota limits and leverage custom ASR models (e.g., Faster-Whisper on Colab or Local GPU) while retaining Read Frog's excellent bilingual subtitle rendering and translation pipeline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions