OpenCut-app / OpenCut-app/OpenCut

[FEATURE] Support importing captions from .srt files

Open
#749 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
89.8k
Forks
8.9k
PR merge metrics
No merged PRs in 30d

Description

Problem

Captions can currently be generated through AI transcription, but there is no way to manually import an existing subtitle file such as .srt.

There are caption workflows I’d like to support where AI transcription is not desired, such as:

  • fine-tuned subtitles authored externally
  • subtitles in a different language than the spoken audio
  • manually reviewed captions from another tool
Solution

My current thought for an MVP is:

  • Add the ability to import .srt files in the existing Captions panel and use the existing text track / text element model for cues
  • Apply subtitle-specific default placement and sizing for imported/generated captions
    • Pin subtitle text to the bottom of the video frame
    • Estimate text size and scale it to fit within the video width

Follow-up improvements:

  • Bulk edit subtitle styling for an entire subtitle track or prompt for settings before creating elements (applying font changes to 100s of items becomes tedious)
  • Add support for richer subtitle formats like .ass
Alternative

This is a feature add, so there really are not any alternatives.

Anything else?

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The MVP items for importing .srt files and subtitle placement are already checked, so first clarify which follow-up is intended. Start in the existing Captions panel and its text track/text element model; completion should be either bulk styling for a subtitle track or support for a richer format such as .ass, with the chosen behavior confirmed in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.