Ten Logo
Resources Board

Program

Smart Subtitle Generator: AI-Powered Video Transcriber

A Python script to transcribe videos (online/offline) using Whisper.cpp or Google Cloud, with optional Deepseek AI correction for improved subtitles. Outputs built-in subtitles and .srt files.

  • Program
  • #subtitles
  • #transcription

Shared by 天 Staff

Published ·Updated

Smart Subtitle Generator: AI-Powered Video Transcriber screenshot

Details

Smart Subtitle Generator: AI-Powered Video Transcriber

This is a Python script designed to transcribe videos, supporting both online (via yt-dlp) and offline sources.

Transcribe.py

https://drive.proton.me/urls/RY5JY1KDBG#6TNBtsAzWPj2

Deepseek4free.fix

https://drive.proton.me/urls/D8TBE60KDR#thjRaEk0JIG5

Key Features:

* Flexible Transcription: Transcribe videos online (if supported by yt-dlp) or from local files.

* Multiple Transcription Engines:

* Whisper.cpp: Utilizes the open-source and free whisper.cpp engine.

* Google Cloud: Supports Google Cloud's transcription service (requires a paid API key).

* AI Subtitle Correction: Can leverage Deepseek (via its website API) to identify and fix mistakes in generated subtitles. This requires a specific pip package (mentioned as part of a zip in the original context) and an API key extracted via developer tools.

* Output Formats:

* Creates video files (.mp4/.mkv) with subtitles built-in.

* Generates a separate .srt file, compatible with players like asbplayer.

Requirements:

* ffmpeg and ffprobe must be installed.

* yt-dlp is needed for transcribing online video links.

Project Dependency Link:

* Whisper.cpp GitHub: https://github.com/ggml-org/whisper.cpp

Visit Link