yaofanguk/video-subtitle-extractor

视频硬字幕提取,生成srt文件。无需申请第三方API,本地实现文本识别。基于深度学习的视频字幕提取框架,包含字幕区域检测、字幕内容提取。A GUI tool for extracting hard-coded subtitle (hardsub) from videos and generating srt...

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 9 minutes ago
Added to GitGenius on September 7th, 2026
Created on October 4th, 2020
Open Issues & Pull Requests: 260 (+0)
GitHub issues: Enabled
Number of forks: 956
Total Stargazers: 9,450 (+0)
Total Subscribers: 61 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 25.2 hours
Mean response time: 23.9 days
90th percentile: 95.7 days
Tracked items: 77

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 3% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 107
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 524 days
Stale 30+ days: 102
Stale 90+ days: 88

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • info (1)

Most active issues this week

Detailed Description

Video-subtitle-extractor is a GUI tool for extracting hard-coded subtitles from videos and generating SRT files.

The tool solves the problem of recovering subtitle text that has been burned directly into video frames, which cannot be extracted through standard subtitle track access. It works by identifying key frames from video files, detecting text regions within those frames using deep learning-based object detection, performing optical character recognition to extract the text content, filtering out non-subtitle elements like watermarks and channel logos, removing duplicate lines, and outputting the results as SRT subtitle files or plain text. The extraction process operates entirely locally without requiring external API calls or online OCR services.

The tool suits projects where you need to recover subtitles from videos with hard-coded text and want to avoid dependency on third-party services. It supports batch processing of multiple videos simultaneously, provided they share consistent resolution and subtitle positioning. The tool offers three extraction modes: fast mode using lightweight models for quick results with potential minor text loss, automatic mode that selects between lightweight and precise models based on available hardware, and precise mode for frame-by-frame detection with maximum accuracy but significantly slower processing. It handles subtitles in multiple languages including Simplified Chinese, Traditional Chinese, English, Japanese, Korean, Vietnamese, Arabic, French, German, Russian, Spanish, Portuguese, Italian, and others. GPU acceleration is available to improve both accuracy and extraction speed. The tool includes a configuration file for mapping and removing specific text patterns, such as replacing common OCR errors or deleting recurring watermarks.

Development activity shows consistent engagement with user feedback through issue tracking and discussion channels. The project maintains active support for multiple operating systems and Python versions. Regular refinement of the extraction pipeline suggests ongoing optimization of the detection and recognition components. The tool's multi-mode approach indicates iterative development responding to real-world performance requirements across different hardware configurations.