SkillsReviewed · Pluviobyte

ra-audio-to-subtitles

ra-audio-to-subtitles is an assistant skill for video creators and developers who need subtitles matched to finished audio, but new transcription depends on Volcengine. It aligns narration text with speech-recognition timestamps and produces SRT, VTT, JSON captions and a quality report. The supplied licence is noncommercial.

Researched 16 Nov 2026

In short.

ra-audio-to-subtitles is an assistant skill for creators and developers making timed subtitles, but it requires Volcengine for new speech timestamps and carries a noncommercial licence. It combines final media, narration text and recognised word timings to produce portable subtitles and renderer data. Its implementation estimates some timing positions and enforces only part of the documented delivery contract. Nothing was executed; actual subtitle quality, installation success and live API compatibility remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes all four supplied files in skills/ra-audio-to-subtitles: SKILL.md, agents/openai.yaml, references/artifact-contract.md and scripts/generate_subtitles.py, plus the repository-level LICENSE. Source identity is preserved through the revision-specific source address and evidence identifiers. Other repository folders, external services and renderer implementations are outside this scope. No code was executed, media processed, API contacted or output validated.

The overview

Identity

ra-audio-to-subtitles belongs to Pluviobyte/rnskill. Its interface name is 真实时间戳字幕, and the package contains assistant instructions, interface metadata, a subtitle artifact contract and a Python generator. The revision-specific source folder is [https://github.com/Pluviobyte/rnskill/tree/83d1783b892bbaa29a137895ff8338264b6872fa/skills/ra-audio-to-subtitles].

The skill coordinates subtitle preparation around an external speech-recognition service. It does not include its own recognition model or video renderer.

Assessment

The clearest fit is a scripted narration workflow where the final audio already exists and the creator wants to preserve approved wording, names and punctuation. Keeping one caption timeline for subtitle exports and renderer cues can reduce inconsistencies between those outputs.

The quality report is useful for automation, but its pass status needs careful interpretation. Coverage measures text matching rather than timing accuracy, and several documented requirements are broader than the implemented checks. The evidence does not establish production subtitle quality.

Users

The documented users include creators working with local IndexTTS2 narration, Xiaohei page videos and talking-head recordings. Developers integrating HyperFrames, Remotion or another renderer can use the JSON timeline; editors can use SRT or VTT.

The segmentation rules specifically address Chinese discourse connectors and English product names within narration. Broader language suitability is unassessed. Beginners need some command-line familiarity, an exact narration script and access to the configured ASR service.

Capabilities

The generator accepts final audio or video and narration supplied as plain text, JSON narration fields, inline text or Markdown lines marked with 口播. MP3 and WAV inputs are used directly; other inputs go through FFmpeg audio extraction.

The six documented outputs are asr-result.json, captions_words.json, captions.json, captions.srt, captions.vtt and caption-qc.json. They retain the recognition response, word timings and gaps, phrase captions, portable subtitles and validation findings.

The implemented checks cover alignment coverage, overlapping cues, short durations, certain fragments, listed connector splits and a custom reading-speed measure. Failed QC still produces artifacts and returns a failure exit status. Rendering captions into video and translating speech are outside the supplied implementation; speaker information is disabled in the recognition request.

Using it

Requirements

The implementation uses Python 3 and its standard library; a minimum Python version is not specified. FFmpeg is required when audio extraction or conversion is needed. FFprobe supplies media duration for an additional check, although the generator can continue without a usable duration.

Live transcription requires network access, VOLCENGINE_API_KEY and access to an enabled Volcengine ASR resource. The default resource identifier is volc.seedasr.auc. Prepared audio larger than 48 MB is rejected by the live upload path.

Live mode sends the full prepared audio to Volcengine over HTTPS; script alignment then happens locally. Provider retention, data location, account eligibility and service terms are not established by the supplied files.

Mechanism

The script submits audio to Volcengine, polls for completion and extracts word intervals from the response. It removes punctuation and spaces from the script and recognised text for matching, applies case folding, and uses Python's SequenceMatcher to align the resulting character sequences.

Timing is grounded in recognised word intervals, but individual character positions within each word are divided evenly across that interval. Unmatched script characters receive estimated ASR positions between or beyond matched anchors. Phrase boundaries use this mapping, and caption ends are extended where possible for readability.

Alignment coverage is the matched fraction of normalized script characters. It does not measure recognition confidence or synchronization error. The default coverage threshold is 0.90; cues below 0.5 seconds and reading speeds above 12 custom units per second fail, while speeds above 9 generate a warning.

Setup

Obtain the complete skill folder, preserving the relative locations of SKILL.md, scripts and references. The documented commands assume installation under .claude/skills/ra-audio-to-subtitles. A general installation procedure for other assistant hosts is not provided.

Provide VOLCENGINE_API_KEY through the environment or a supported .env file. The implementation searches upward from both the working directory and script location; existing environment values take precedence over file values. The resource can be overridden through VOLCENGINE_RESOURCE_ID or --resource-id.

From the skill folder, python3 scripts/generate_subtitles.py --doctor checks FFmpeg, FFprobe and key presence. This checks local prerequisites without validating the key, account entitlement or live service availability.

Example

For a finished voiceover and a JSON narration file, an illustrative command from the skill folder is: python3 scripts/generate_subtitles.py /path/to/final-voiceover.mp3 --script /path/to/narration_segments.json --out-dir /path/to/captions. The JSON needs narration fields, either directly or within supported segments, scenes or items structures.

A renderer would consume the start and end values in captions.json directly, while an editor could import captions.srt. The documented workflow requires inspecting segmentation and obtaining a passing caption-qc.json before delivery. This invocation was not executed, and no generated result is supplied.

Assessment & evidence

Limitations

The instructions require original narration and coverage of at least 0.90, but the command line permits weaker conditions. Omitting the script makes the generator use recognised text, so coverage no longer measures agreement with intended wording. The --min-coverage option accepts any value above zero through one; a pass can therefore use a lower threshold than the documented delivery requirement.

English-name protection is heuristic. When no suitable cut is found, safe_caption_cut falls back to a character position that can split a protected term. The reading-speed function can count an entire space-separated ASCII phrase as 1.5 units, so its result should not be interpreted as a validated measure of English reading difficulty.

Fragment and connector checks are narrower than the prose contract. The fragment check flags only very small cues lasting under 0.8 seconds, while connector checks use a fixed Chinese phrase list. They do not establish general linguistic readability.

The generator does not verify that a saved ASR response belongs to the supplied media. Duration checking is skipped when FFprobe cannot return a duration, and the script does not compare its source with a separately rendered final MP4. Those delivery requirements need additional enforcement.

The source supplies no measured timing accuracy, recognition benchmarks or demonstrated language coverage. Character interpolation, script mismatches and heuristic segmentation make human inspection material even when automated QC passes.

Fit reasoning

The resource's practical value comes from separating approved display text from recognition-derived timing, then reusing one timeline across subtitle files and renderer data. That is a coherent fit for scripted narration with controlled final media.

Suitability depends on accepting external audio processing, the supplied licence and responsibility for checking the remaining delivery conditions. It is a less direct fit for workflows requiring fully local recognition, unrestricted commercial rights or independently verified timing for every character.

Alternatives

The included alternative to a fresh cloud request is --asr-result with an existing Volcengine response. It enables local regeneration of artifacts from saved timestamps, although media conversion may still require FFmpeg and the response format remains provider-specific.

No alternative recognition backend or comparative evaluation of other subtitle tools is supplied. A fully local recognizer or a different alignment system would require a separate workflow or integration; its compatibility, cost and relative quality are unknown.

Evidence

The available material includes the complete skill instructions, assistant interface configuration, artifact contract, Python generator and repository-level licence. The instructions establish intended use; the implementation establishes the actual matching, segmentation, API and QC logic described here.

No sample media, real ASR response, generated subtitle set, regression results or live-service results are included. The documented offline regression command is an invocation example, not evidence of a passed test.

Access & freshness

Costs

Total cost is unknown. The files provide no Volcengine prices, free allowance, account charges or usage estimates. Live processing uses an external ASR account, while extraction and alignment use local computing resources.

The --asr-result option avoids a new transcription request by reusing a saved response. Any cost of obtaining that response remains unknown. No paid execution or measured resource consumption is documented.

Rights

The repository LICENSE identifies Creative Commons Attribution-NonCommercial 4.0 International and credits 雪踏乌云 (Pluviobyte), 2024–2026. It permits sharing and adaptation for noncommercial purposes with appropriate credit, a licence link and an indication of changes. The referenced legal text is [https://creativecommons.org/licenses/by-nc/4.0/legalcode].

Commercial rights are not granted by this notice; any separate permission is unknown. The repository licence does not establish Volcengine's service terms or the rights a user holds in submitted media and subtitle text.

Freshness

The supplied snapshot identifies repository revision 83d1783b892bbaa29a137895ff8338264b6872fa and capture time 2026-11-16T12:59:57.134Z. These identify the source version described here; they do not establish the last maintenance date or current contents of the main branch.

No separate release version is supplied. Present-day endpoint behaviour, resource availability and compatibility with later provider changes are unknown.

Next steps

Before adoption, establish that the noncommercial licence and external audio processing fit the intended project. Obtain any additional commercial permission separately and confirm current provider access and pricing.

For a project evaluation, use the exact final media and narration script, retain a coverage threshold of at least 0.90, and examine both the exit status and caption-qc.json. Inspect names, phrase boundaries and synchronization against the media, particularly for English-heavy passages.

When integrating a renderer, preserve the canonical timeline and archive SRT and QC artifacts. Add independent checks tying saved ASR responses to their audio and comparing source media with the final video; the generator does not establish those conditions itself.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/ra-audio-to-subtitles/SKILL.mdselected · checked 2026-11-16