Repolode
anghunk

anghunk/video-transcript

A browser-based video subtitle workstation that edits, styles and burns subtitles into local MP4 files, with optional on-device Whisper transcription.

Open-source alternative to:CapCutDescript

Stars
214
Forks
11
Open issues
0
Last commit
25 days ago

What is it?

Video Transcript is a subtitle tool that runs entirely in the browser. You import a local MP4, optionally generate subtitles with Whisper running on your own device, edit segments and timing on a timeline, set a global subtitle style, and export an MP4 with the subtitles burned in.

Videos, subtitles and exports stay on the current device. No account is required and audio or video is not uploaded. Projects, subtitle progress and video cache are stored locally in IndexedDB, and the app can be installed as a PWA.

Speech recognition uses ONNX Whisper models via Transformers.js, preferring WebGPU and falling back to WASM on CPU. Models are downloaded once from Hugging Face and cached, and the app supports Chinese, English, Japanese and Korean as well as automatic language detection.

Key features

  • 01Imports local MP4 files and shows resolution, duration and audio track info.
  • 02Generates subtitles locally with Whisper, with automatic language detection.
  • 03Edits subtitle segments and timing on a timeline synced with video playback.
  • 04Applies a global subtitle style with presets, colors, size, position and alignment.
  • 05Exports MP4 at near-original, 4K or 1080p quality, keeping the original AAC audio.

Use cases

  • Adding burned-in subtitles to a local video without uploading it to a cloud service.
  • Quickly transcribing and correcting speech in Chinese, English, Japanese or Korean videos.
  • Producing subtitled MP4 clips for social media or presentations from a browser.

Quick start

  1. 1

    Clone the repository

    git clone https://github.com/anghunk/video-transcript.git
  2. 2

    Enter the project folder

    cd video-transcript
  3. 3

    Install dependencies

    npm install
  4. 4

    Start the development server

    npm run dev

Things to know

  • Speech recognition models and runtime files are downloaded from Hugging Face and jsDelivr on first use.
  • Recognition and export depend on device memory and browser support; Chrome or Edge on desktop is recommended.
  • Large videos (over 2 GB or long 4K) may fail or run slowly.

Topics

FAQ

What is video-transcript?
A browser-based video subtitle workstation that edits, styles and burns subtitles into local MP4 files, with optional on-device Whisper transcription. Video Transcript is a subtitle tool that runs entirely in the browser. You import a local MP4, optionally generate subtitles with Whisper running on your own device, edit segments and timing on a timeline, set a global subtitle style, and export an MP4 with the subtitles burned in.
Is video-transcript free to use? What license does it have?
video-transcript is open source under the MIT license. Check the license terms before using it in commercial products.
Is video-transcript still maintained?
Actively maintained. The last commit to video-transcript was on Sep 25, 2026.
What can I use video-transcript for?
Adding burned-in subtitles to a local video without uploading it to a cloud service. Quickly transcribing and correcting speech in Chinese, English, Japanese or Korean videos. Producing subtitled MP4 clips for social media or presentations from a browser.
How do I install video-transcript?
Clone the repository: git clone https://github.com/anghunk/video-transcript.git Enter the project folder: cd video-transcript Install dependencies: npm install Start the development server: npm run dev
Where can I get video-transcript?
The source code and installation instructions are on GitHub: https://github.com/anghunk/video-transcript

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects