Skip to content

feat: add auto subtitles with editable timeline#1176

Open
Krixhnnna wants to merge 1 commit into
magic-peach:mainfrom
Krixhnnna:feat/auto-subtitles
Open

feat: add auto subtitles with editable timeline#1176
Krixhnnna wants to merge 1 commit into
magic-peach:mainfrom
Krixhnnna:feat/auto-subtitles

Conversation

@Krixhnnna
Copy link
Copy Markdown

@Krixhnnna Krixhnnna commented May 25, 2026

Closes #1176

This PR adds an offline, AI-powered automatic subtitle generator using Transformers.js and the Whisper model. It keeps everything completely client-side to maintain privacy.

Key changes:

  • Added a background Web Worker (whisper.worker.ts) to run the AI model without freezing the UI.
  • Created SubtitlesControl.tsx for generating and editing subtitles on a timeline.
  • Updated the video preview to show subtitles in real-time.
  • Updated ffmpeg.ts to hard-bake the subtitles into the exported video using FFmpeg's drawtext filter.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 25, 2026

@Krixhnnna is attempting to deploy a commit to the magic-peach1's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added level:advanced Advanced level - 55 pts type:bug Bug fix type:docs Documentation type:feature New feature labels May 25, 2026
@github-actions
Copy link
Copy Markdown
Contributor

👋 Thanks for your PR, @Krixhnnna!

Welcome to Reframe — a browser-based video editor built for everyone 🎬

🟠 GSSoC'26 PR detected — thanks for contributing under GirlScript Summer of Code 2026!

What happens next

  1. 🤖 Automated checks — build & TypeScript typecheck will run automatically
  2. Vercel preview — a preview deployment will be created (requires maintainer authorization for fork PRs)
  3. 👀 Code review — a maintainer will review your changes
  4. 🚀 Merge — once approved, your PR will be merged!

Quick checklist

  • PR title follows Conventional Commits (e.g. feat: add dark mode)
  • Linked the issue this PR closes (e.g. Closes #123)
  • Tested the changes locally (bun run dev)
  • Build passes (bun run build)

Useful links

Happy coding! 🎉

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 25, 2026

✅ PR Format Check Passed — @Krixhnnna

Basic format checks passed. A maintainer will review your code changes.

This does not mean the PR is approved — it just means the format is correct.

@github-actions github-actions Bot added type:refactor Code refactor gssoc'26 GirlScript Summer of Code 2026 labels May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc'26 GirlScript Summer of Code 2026 level:advanced Advanced level - 55 pts type:bug Bug fix type:docs Documentation type:feature New feature type:refactor Code refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant