Langsung ke konten
Skillpedia
Edit video58k ยท #3252

cli-anything-videocaptioner

Fungsinya

Skill ini memungkinkan agent AI menambahkan subtitle ke video. Skill ini menangani speech-to-text, penerjemahan subtitle, dan penempatan keterangan pada video, sehingga cocok untuk kreator yang menerbitkan dalam beberapa bahasa.

Kapan dipakai

  • โœ“Saat Anda ingin keterangan dibuat otomatis untuk video yang Anda rekam.
  • โœ“Saat Anda membutuhkan subtitle diterjemahkan ke bahasa lain.
  • โœ“Saat Anda ingin subtitle ditambahkan secara permanen ke file video sebelum Anda membagikannya.

Link skill

https://github.com/HKUDS/CLI-Anything/blob/main/skills/cli-anything-videocaptioner/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/HKUDS/CLI-Anything/blob/main/skills/cli-anything-videocaptioner/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œSaya ingin menambahkan subtitle bahasa Inggris ke video berbahasa Spanyol ini dan menanamkannya ke dalam file.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent mendengarkan ucapan dalam video dan menuliskannya sebagai teks berwaktu. Lalu agent dapat merapikan subtitle, menerjemahkannya, dan menempatkannya pada video menggunakan FFmpeg.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

cli-anything-videocaptioner

AI-powered video captioning tool. Transcribe speech โ†’ optimize subtitles โ†’ translate โ†’ burn into video.

Installation

pip install cli-anything-videocaptioner

Prerequisites:

  • Python 3.10-3.12 (videocaptioner 1.4.1 requires >=3.10,<3.13)
  • videocaptioner must be installed (pip install videocaptioner)
  • FFmpeg required for video synthesis

Usage

Basic Commands

# Show help
cli-anything-videocaptioner --help

# Start interactive REPL mode
cli-anything-videocaptioner

# Transcribe a video (free, no setup)
cli-anything-videocaptioner transcribe video.mp4 --asr bijian

# Translate subtitles (free Bing translator)
cli-anything-videocaptioner subtitle input.srt --translator bing --target-language en

# Full pipeline: transcribe โ†’ translate โ†’ burn subtitles
cli-anything-videocaptioner process video.mp4 --asr bijian --translator bing --target-language en --subtitle-mode hard

# Review subtitle/script consistency before a final hard-burn
cli-anything-videocaptioner synthesize video.mp4 -s subtitles.srt \
  --subtitle-mode hard \
  --review-script approved_script.txt

# Render a one-frame subtitle preview for review
cli-anything-videocaptioner review subtitles.srt \
  --script approved_script.txt \
  --preview-video video.mp4 \
  --preview-output review_5s.png

# JSON output (for agent consumption)
cli-anything-videocaptioner --json transcribe video.mp4 --asr bijian

REPL Mode

When invoked without a subcommand, the CLI enters an interactive REPL session:

cli-anything-videocaptioner
# Enter commands interactively with tab-completion and history

Command Groups

transcribe โ€” Speech to subtitles

transcribe <input> [--asr bijian|jianying|whisper-api|whisper-cpp] [--language CODE] [--format srt|ass|txt|json] [-o PATH]
  • bijian (default): Free, Chinese & English, no setup
  • whisper-api: All languages, requires --whisper-api-key

subtitle โ€” Optimize and translate

subtitle <input.srt> [--translator llm|bing|google] [--target-language CODE] [--layout target-above|source-above|target-only|source-only] [--no-optimize] [--no-translate] [-o PATH]
  • Three steps: Split โ†’ Optimize โ†’ Translate
  • Bing/Google translators are free
  • 38 target languages supported (BCP 47 codes)

synthesize โ€” Burn subtitles into video

synthesize <video> -s <subtitle> [--subtitle-mode soft|hard] [--quality ultra|high|medium|low] [-o PATH] [--review-script PATH] [--max-script-diff-ratio FLOAT]
  • Mirrors the stable backend synthesize surface
  • Subtitle look is controlled by the subtitle asset/backend version, not extra harness flags
  • --review-script checks subtitle/script drift before the final export
  • Lower --max-script-diff-ratio when copy accuracy matters more than resilience

process โ€” Full pipeline

process <input> [--asr ...] [--translator ...] [--target-language ...] [--subtitle-mode ...] [--layout ...] [--no-optimize] [--no-translate] [--no-synthesize] [-o PATH]

review โ€” Consistency check and preview

review <input.srt|input.ass> [--script PATH] [--max-diff-ratio FLOAT] [--preview-video PATH] [--preview-at TC] [--preview-output PATH]
  • Detects subtitle/script drift before a hard-burn
  • Can render a single review frame instead of producing a full final video

styles โ€” List style presets

styles
  • Reports whether the installed backend exposes preset styling support

config โ€” Manage settings

config show
config set <key> <value>

download โ€” Download online video

download <URL> [-o DIR]

JSON Output

All commands support --json for machine-readable output:

cli-anything-videocaptioner --json transcribe video.mp4 --asr bijian
# {"output_path": "/path/to/output.srt"}

Backend Notes

  • The upstream backend currently requires Python >=3.10,<3.13; prefer Python 3.12 for matrix runs.
  • Advanced synthesize-time style flags are backend-version dependent. Use styles to check whether the installed backend exposes them.
  • Compatibility flags such as layout, render_mode, style, style_override, and font_file should be treated as non-stable unless styles and the installed backend confirm they are supported.

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.

Pertanyaan umum

Apakah ini gratis digunakan?

Deskripsinya menyatakan opsi pengenalan ucapan dan penerjemahan gratis disertakan.

Apa yang perlu saya pasang?

Anda membutuhkan Python 3.10 hingga 3.12, paket videocaptioner, dan FFmpeg untuk menempatkan subtitle pada video.

Bisakah saya melihat pratinjau subtitle sebelum video akhir?

Bisa. Perintah review dapat merender gambar pratinjau satu frame dari subtitle.

Detail

Deskripsi asli dari pembuat

AI-powered video captioning โ€” transcribe speech, optimize/translate subtitles, and burn them into video via the stable VideoCaptioner backend. Free ASR and translation included.

repo: HKUDS/CLI-Anything

Popularitas

Bintang GitHub
58k
Peringkat
#3252
Lisensi
Apache-2.0
Diperbarui
21/9/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa