[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-71914":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},71914,"VideoCaptioner","WEIFENG2333\u002FVideoCaptioner","WEIFENG2333","🎬 卡卡字幕助手 | VideoCaptioner - 基于 LLM 的智能字幕助手 - 视频字幕生成、断句、校正、字幕翻译全流程处理！- A powered tool for easy and efficient video subtitling.","https:\u002F\u002Fwww.videocaptioner.cn",null,"Python",14955,1244,51,156,0,58,134,457,174,44.29,"GNU General Public License v3.0",false,"master",true,[27,28,29,30],"ai","subtitle","translate","video-subtile","2026-06-12 02:02:56","\u003Cdiv align=\"center\">\n  \u003Cimg src=\".\u002Fdocs\u002Fimages\u002Flogo.png\" alt=\"VideoCaptioner Logo\" width=\"100\">\n  \u003Ch1>VideoCaptioner\u003C\u002Fh1>\n  \u003Cp>基于大语言模型的视频字幕处理工具 — 语音识别、字幕优化、翻译、视频合成一站式处理\u003C\u002Fp>\n\n  [在线文档](https:\u002F\u002Fweifeng2333.github.io\u002FVideoCaptioner\u002F) · [CLI 使用](#cli-命令行) · [GUI 桌面版](#gui-桌面版) · [Claude Code Skill](#claude-code-skill)\n\u003C\u002Fdiv>\n\n## 安装\n\n```bash\npip install videocaptioner          # 仅安装 CLI（轻量，无 GUI 依赖）\npip install videocaptioner[gui]     # 安装 CLI + GUI 桌面版\n```\n\n免费功能（必剪语音识别、必应\u002F谷歌翻译）**无需任何配置，安装即用**。\n\n## CLI 命令行\n\n```bash\n# 语音转录（免费，无需 API Key）\nvideocaptioner transcribe video.mp4 --asr bijian\n\n# 字幕翻译（免费必应翻译）\nvideocaptioner subtitle input.srt --translator bing --target-language en\n\n# 全流程：转录 → 优化 → 翻译 → 合成\nvideocaptioner process video.mp4 --target-language ja\n\n# 字幕烧录到视频\nvideocaptioner synthesize video.mp4 -s subtitle.srt\n\n# 下载在线视频\nvideocaptioner download \"https:\u002F\u002Fyoutube.com\u002Fwatch?v=xxx\"\n```\n\n需要 LLM 功能（字幕优化、大模型翻译）时，配置 API Key：\n\n```bash\nvideocaptioner config set llm.api_key \u003Cyour-key>\nvideocaptioner config set llm.api_base https:\u002F\u002Fapi.openai.com\u002Fv1\nvideocaptioner config set llm.model gpt-4o-mini\n```\n\n配置优先级：`命令行参数 > 环境变量 (VIDEOCAPTIONER_*) > 配置文件 > 默认值`。运行 `videocaptioner config show` 查看当前配置。\n\n\u003Cdetails>\n\u003Csummary>所有 CLI 命令一览\u003C\u002Fsummary>\n\n| 命令 | 说明 |\n|------|------|\n| `transcribe` | 语音转字幕。引擎：`faster-whisper`、`whisper-api`、`bijian`（免费）、`jianying`（免费）、`whisper-cpp` |\n| `subtitle` | 字幕优化\u002F翻译。翻译服务：`llm`、`bing`（免费）、`google`（免费） |\n| `synthesize` | 字幕烧录到视频（软字幕\u002F硬字幕） |\n| `process` | 全流程处理 |\n| `download` | 下载 YouTube、B站等平台视频 |\n| `config` | 配置管理（`show`、`set`、`get`、`path`、`init`） |\n\n运行 `videocaptioner \u003C命令> --help` 查看完整参数。完整 CLI 文档见 [docs\u002Fcli.md](docs\u002Fcli.md)。\n\n\u003C\u002Fdetails>\n\n## GUI 桌面版\n\n```bash\npip install videocaptioner[gui]\nvideocaptioner                      # 无参数时自动打开桌面版\n```\n\n\u003Cdetails>\n\u003Csummary>其他安装方式：Windows 安装包 \u002F macOS 一键脚本\u003C\u002Fsummary>\n\n**Windows**：从 [Release](https:\u002F\u002Fgithub.com\u002FWEIFENG2333\u002FVideoCaptioner\u002Freleases) 下载安装包\n\n**macOS**：\n```bash\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002FWEIFENG2333\u002FVideoCaptioner\u002Fmaster\u002Fscripts\u002Frun.sh | bash\n```\n\n\u003C\u002Fdetails>\n\n\n\u003C!-- \u003Cdiv align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fh1.appinn.me\u002Ffile\u002F1731487405884_main.png\" alt=\"界面预览\" width=\"90%\" style=\"border-radius: 5px;\">\n\u003C\u002Fdiv> -->\n\n![页面预览](https:\u002F\u002Fh1.appinn.me\u002Ffile\u002F1731487410170_preview1.png)\n![页面预览](https:\u002F\u002Fh1.appinn.me\u002Ffile\u002F1731487410832_preview2.png)\n\n## LLM API 配置\n\nLLM 仅用于字幕优化和大模型翻译，免费功能（必剪识别、必应翻译）无需配置。\n\n支持所有 OpenAI 兼容接口的服务商：\n\n| 服务商 | 官网 |\n|--------|------|\n| **VideoCaptioner 中转站** | [api.videocaptioner.cn](https:\u002F\u002Fapi.videocaptioner.cn) — 高并发，性价比高，支持 GPT\u002FClaude\u002FGemini 等 |\n| SiliconCloud | [cloud.siliconflow.cn](https:\u002F\u002Fcloud.siliconflow.cn\u002Fi\u002FHF95kaoz) |\n| DeepSeek | [platform.deepseek.com](https:\u002F\u002Fplatform.deepseek.com) |\n\n在软件设置或 CLI 中填入 API Base URL 和 API Key 即可。[详细配置教程](https:\u002F\u002Fweifeng2333.github.io\u002FVideoCaptioner\u002Fconfig\u002Fllm)\n\n## Claude Code Skill\n\n本项目提供了 [Claude Code Skill](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fskills.md)，让 AI 编程助手可以直接调用 VideoCaptioner 处理视频。\n\n安装到 Claude Code：\n\n```bash\nmkdir -p ~\u002F.claude\u002Fskills\u002Fvideocaptioner\ncp skills\u002FSKILL.md ~\u002F.claude\u002Fskills\u002Fvideocaptioner\u002FSKILL.md\n```\n\n然后在 Claude Code 中输入 `\u002Fvideocaptioner transcribe video.mp4 --asr bijian` 即可使用。\n\n## 工作原理\n\n```\n音视频输入 → 语音识别 → 字幕断句 → LLM 优化 → 翻译 → 视频合成\n```\n\n- 词级时间戳 + VAD 语音活动检测，识别准确率高\n- LLM 语义理解断句，字幕阅读体验自然流畅\n- 上下文感知翻译，支持反思优化机制\n- 批量并发处理，效率高\n\n## 开发\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FWEIFENG2333\u002FVideoCaptioner.git\ncd VideoCaptioner\nuv sync && uv run videocaptioner     # 运行 GUI\nuv run videocaptioner --help          # 运行 CLI\nuv run pyright                        # 类型检查\nuv run pytest tests\u002Ftest_cli\u002F -q      # 运行测试\n```\n\n## 许可证\n\n[GPL-3.0](LICENSE)\n\n[![Star History Chart](https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=WEIFENG2333\u002FVideoCaptioner&type=Date)](https:\u002F\u002Fstar-history.com\u002F#WEIFENG2333\u002FVideoCaptioner&Date)\n","VideoCaptioner 是一个基于大语言模型的智能字幕助手，能够实现视频字幕生成、断句、校正及翻译的一站式处理。其核心功能包括语音识别、字幕优化、多语言翻译以及将字幕烧录到视频中，支持命令行和图形界面两种操作方式。项目利用了先进的AI技术如LLM（大语言模型）来提升字幕处理的质量与效率，同时兼容多种免费服务如必剪语音识别和必应\u002F谷歌翻译，使得用户即使不配置额外API也能快速上手使用。适用于需要为视频添加或调整字幕的各种场景，特别是对跨国内容制作、在线教育材料准备等有着迫切需求的用户群体。",2,"2026-06-11 03:39:28","high_star"]