x007xyz/flycut-caption

A complete video subtitle editing React component with AI-powered speech recognition and visual editing capabilities.

What it solves

FlyCut Caption tackles the tedious workflow of creating and editing subtitles for videos. Traditionally, you have to transcribe audio yourself, manually align text, and then worry about removing awkward silent gaps or embedding subtitles into the final video. This tool automates speech recognition, provides a visual editor for dual-language subtitles, and lets you smart-cut silence and burn subtitles directly into the video—all from your browser or a desktop app.

How it works

The tool is built as a React-based web component (usable via @flycut/caption-react) and a Tauri desktop application. You upload a video (MP4, WebM, AVI, MOV) or audio file, and the built-in speech recognition (Whisper in the browser via Transformers.js, or FunASR on the desktop for higher accuracy) generates timestamped subtitles. You can then edit those subtitles on a timeline—delete or restore segments at word level, even translate the whole track (e.g., Chinese to English) using AI. A “Smart Cut Blank” feature analyzes the audio and marks silent gaps for removal, and the preview mode shows only the kept parts so you can judge the result. Finally, you export subtitles as SRT/JSON, or render the video with those gaps removed and optionally hard-burn the bilingual subtitles into the video. Everything runs locally, with heavy processing offloaded to web workers or sidecars to keep the UI responsive.

Who it’s for

This is aimed at content creators, video editors, and developers who want to integrate subtitle editing into their own applications. It’s a drop-in React component with a flexible configuration, plus a standalone desktop app for those who prefer a GUI. The component exposes events and API hooks, making it easy to embed into existing projects. The included internationalization system allows you to localize the UI for different languages.

Highlights

  • Dual-track bilingual subtitles – Manage primary and secondary language tracks side by side, with built-in AI translation.
  • Word-level timestamp accuracy – Speech recognition produces timestamps for each word, enabling precise edits and deletions.
  • Smart silence removal – Detect and remove silent gaps with one click, then preview the tightened cut before exporting.
  • Multiple export options – Export plain subtitles (SRT/JSON) or a fully processed video with burned-in subtitles and cut silences.
  • Local processing – Runs speech recognition and video encoding on your machine (browser or desktop), so no data leaves your computer.
  • Customizable and embeddable – Works as a React component with props, events, styling hooks, and full i18n support for building your own video editing pipeline.

Related

  • Project
  • Project
  • Project
  • Project