Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Turn a local audio or video file into polished, timed subtitles—and deliver it

![Chinese burned-in subtitle preview](skills/video-subtitle-translator/examples/test-video-zh-preview.gif)

The preview above is taken from the included [**Test Video** demo](skills/video-subtitle-translator/examples/test-video-zh-burned.mp4): English speech transcribed, translated to Simplified Chinese, and burned into the video.
The preview above is the Simplified Chinese version of the included [**Test Video** demo](skills/video-subtitle-translator/examples/test-video-zh-burned.mp4): English speech transcribed, translated to Simplified Chinese, and burned into its own video. The skill page also includes separate [English, Simplified Chinese, and Japanese subtitle demos](skills/video-subtitle-translator/README.md#see-the-results).

| Skill | What it does | Requirements |
| --- | --- | --- |
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

![简体中文字幕烧录预览](skills/video-subtitle-translator/examples/test-video-zh-preview.gif)

上方预览来自仓库中附带的 [**Test Video** 示例视频](skills/video-subtitle-translator/examples/test-video-zh-burned.mp4):英文讲话先被转写,再翻译为简体中文,最后直接烧录进画面。
上方预览是仓库中附带的 [**Test Video** 简体中文版](skills/video-subtitle-translator/examples/test-video-zh-burned.mp4):英文讲话先被转写,再翻译为简体中文,最后烧录进独立的视频文件。skill 页面还提供了独立的[英文、简体中文和日文字幕示例](skills/video-subtitle-translator/README.zh-CN.md#查看多语言效果)。

| Skill | 能力简介 | 环境要求 |
| --- | --- | --- |
Expand Down
35 changes: 26 additions & 9 deletions skills/video-subtitle-translator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,27 @@

`video-subtitle-translator` is an Agent Skill [built with oo CLI](https://oomol.com) for turning local audio and video into timed captions, translated subtitle files, hard-subtitled MP4s, or videos with selectable subtitle tracks. It combines Alibaba Qwen ASR transcription with deterministic subtitle processing, so the output is ready for sharing rather than a loose block of transcript text.

## See the result
## See the results

![Test Video: English speech translated and burned in as Simplified Chinese subtitles](examples/test-video-zh-preview.gif)
Each version below uses the same English-language source video, but has its own corresponding subtitle language burned directly into the frames. The preview and full MP4 in each section always match.

This preview comes from [**Test Video** — download or play the complete burned-in MP4](examples/test-video-zh-burned.mp4). The source is English; the finished video has natural, bottom-centered Simplified Chinese subtitles with a high-contrast outline.
### English subtitles

![Test Video with English subtitles](examples/test-video-en-preview.gif)

[Download or play the complete English-subtitled video](examples/test-video-en-burned.mp4).

### Simplified Chinese subtitles

![Test Video with Simplified Chinese subtitles](examples/test-video-zh-preview.gif)

[Download or play the complete Simplified Chinese-subtitled video](examples/test-video-zh-burned.mp4).

### Japanese subtitles

![Test Video with Japanese subtitles](examples/test-video-ja-preview.gif)

[Download or play the complete Japanese-subtitled video](examples/test-video-ja-burned.mp4).

## What it does

Expand Down Expand Up @@ -58,11 +74,12 @@ Install the video-subtitle-translator skill from https://github.com/alwaysmavs/a

The implementation guide for agents, including setup, commands, data handling, and recovery steps, is in [SKILL.md](SKILL.md). It uses [oo CLI](https://oomol.com) and requires Node.js 18+, FFmpeg/FFprobe, Fusion API access, and an OO LLM configuration.

## Included demo
## Included demo assets

| Asset | Details |
| --- | --- |
| [`test-video-zh-burned.mp4`](examples/test-video-zh-burned.mp4) | Complete 2:46 demo video with Simplified Chinese subtitles permanently burned in; MP4 title metadata: `Test Video`. |
| [`test-video-zh-preview.gif`](examples/test-video-zh-preview.gif) | Short, autoplaying preview used in this page and the repository home page. |
| Subtitle language | Autoplay preview | Complete burned-in video |
| --- | --- | --- |
| English | [`test-video-en-preview.gif`](examples/test-video-en-preview.gif) | [`test-video-en-burned.mp4`](examples/test-video-en-burned.mp4) |
| Simplified Chinese | [`test-video-zh-preview.gif`](examples/test-video-zh-preview.gif) | [`test-video-zh-burned.mp4`](examples/test-video-zh-burned.mp4) |
| Japanese | [`test-video-ja-preview.gif`](examples/test-video-ja-preview.gif) | [`test-video-ja-burned.mp4`](examples/test-video-ja-burned.mp4) |

The demo is included solely to show the generated subtitle result. No raw transcript, API key, uploaded-media URL, or intermediate job data is committed.
Every video is 2:46 long and has subtitles permanently burned in. The demo is included solely to show the generated subtitle result. No raw transcript, API key, uploaded-media URL, or intermediate job data is committed.
35 changes: 26 additions & 9 deletions skills/video-subtitle-translator/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,27 @@

`video-subtitle-translator` 是一个[基于 oo CLI 构建](https://oomol.com) 的 Agent Skill,可将本地音频或视频转为带时间轴的字幕、翻译后的字幕文件、烧录字幕 MP4,或带可选字幕轨的视频。它将阿里 Qwen ASR 转写与确定性的字幕处理结合起来,输出的是可以直接交付的字幕和成片,而不仅是一段没有时间信息的逐字稿。

## 查看效果
## 查看多语言效果

![Test Video:英文语音已翻译并烧录为简体中文字幕](examples/test-video-zh-preview.gif)
以下版本都使用相同的英文原始视频,但每种语言都对应一个独立的烧录字幕视频。每段预览与其对应的完整 MP4 使用完全相同的字幕语言。

此预览来自 [**Test Video** — 下载或播放完整烧录字幕 MP4](examples/test-video-zh-burned.mp4)。原始语音为英语;最终视频使用自然、底部居中、黑色描边的简体中文字幕。
### 英文字幕

![Test Video:烧录英文字幕](examples/test-video-en-preview.gif)

[下载或播放完整英文字幕视频](examples/test-video-en-burned.mp4)。

### 简体中文字幕

![Test Video:烧录简体中文字幕](examples/test-video-zh-preview.gif)

[下载或播放完整简体中文字幕视频](examples/test-video-zh-burned.mp4)。

### 日文字幕

![Test Video:烧录日文字幕](examples/test-video-ja-preview.gif)

[下载或播放完整日文字幕视频](examples/test-video-ja-burned.mp4)。

## 核心能力

Expand Down Expand Up @@ -58,11 +74,12 @@ Alibaba Qwen ASR 支持自动识别语言,也可指定源语言。当前工作

面向 Agent 的实现说明、环境要求、具体命令、数据处理和恢复步骤请阅读 [SKILL.md](SKILL.md)。该 skill 使用 [oo CLI](https://oomol.com),并需要 Node.js 18+、FFmpeg/FFprobe、Fusion API 权限和 OO LLM 配置。

## 附带示例
## 附带示例资源

| 资源 | 说明 |
| --- | --- |
| [`test-video-zh-burned.mp4`](examples/test-video-zh-burned.mp4) | 完整 2 分 46 秒示例,已永久烧录简体中文字幕;MP4 标题元数据为 `Test Video`。 |
| [`test-video-zh-preview.gif`](examples/test-video-zh-preview.gif) | 自动播放的短预览,同时用于本页和仓库首页。 |
| 字幕语言 | 自动播放预览 | 完整烧录字幕视频 |
| --- | --- | --- |
| 英文 | [`test-video-en-preview.gif`](examples/test-video-en-preview.gif) | [`test-video-en-burned.mp4`](examples/test-video-en-burned.mp4) |
| 简体中文 | [`test-video-zh-preview.gif`](examples/test-video-zh-preview.gif) | [`test-video-zh-burned.mp4`](examples/test-video-zh-burned.mp4) |
| 日文 | [`test-video-ja-preview.gif`](examples/test-video-ja-preview.gif) | [`test-video-ja-burned.mp4`](examples/test-video-ja-burned.mp4) |

示例仅用于展示字幕生成效果;仓库不会提交原始逐字稿、API Key、上传媒体地址或中间任务数据。
每个视频时长均为 2 分 46 秒,字幕已永久烧录。示例仅用于展示字幕生成效果;仓库不会提交原始逐字稿、API Key、上传媒体地址或中间任务数据。
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.