videocaptioner

Engineering Community

Skill notes

When to use

User wants to add subtitles to a video User wants to transcribe audio/video to text User wants to translate subtitles to another language User wants to customize subtitle appearance (colors, fonts, rounded backgrounds) User wants to download and subtitle online videos

Before you start

Always run videocaptioner <command> --help first to check the latest options and defaults before executing a command. The examples below are common patterns, but --help is the source of truth. Install: pip install videocaptioner FFmpeg required for video synthesis (brew install ffmpeg on macOS) Free (no API key): transcription (bijian/jianying), translation (Bing/Google) Requires LLM API key: subtitle optimization, subtitle re-segmentation, LLM translation. Set via OPENAI_API_KEY env var or --api-key flag

Command reference

Command · Purpose transcribe · Speech → subtitles. Engines: bijian(free) jianying(free) whisper-api whisper-cpp subtitle · Optimize (LLM) and/or translate (LLM/Bing/Google) subtitle files synthesize · Burn subtitles into video with customizable styles process · Full pipeline: transcribe → optimize → translate → synthesize

Subtitle styles

Two rendering modes for beautiful subtitles: ASS mode (default) — outline/shadow style: Presets: default (white+black outline), anime (warm+orange outline), vertical (portrait videos) Customizable fields: font_name, font_size, primary_color, outline_color, outline_width, bold, spacing, margin_bottom Rounded mode — modern rounded background boxes:

Target languages

BCP 47 codes: zh-Hans zh-Hant en ja ko fr de es ru pt it ar th vi id and 23 more.

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Engineering
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@WEIFENG2333 · no license declared
Token usage
Lean
Setup complexity
Guided setup
External API key
Required · OpenAI
Operating systems
macOS
Runtime requirements
No explicit requirements detected
Detected file/system behavior
  • Read-only
  • Write / modify
  • Shell exec
  • Env read
Network behavior
External requests
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview videocaptioner.preview
# 5. Subtitle only, output as ASS format (no video synthesis)

videocaptioner process video.mp4 --asr bijian --translator bing --target-language en \
  --format ass --no-synthesize -o ./output/

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.