मुख्य सामग्री पर जाएँ
Skillpedia
वीडियो एडिटिंग58k · #3252

cli-anything-videocaptioner

यह क्या करती है

यह स्किल AI एजेंट को वीडियो में सबटाइटल जोड़ने देती है। यह speech-to-text, सबटाइटल अनुवाद और कैप्शन को वीडियो पर लगाने का काम करती है, इसलिए यह कई भाषाओं में प्रकाशित करने वाले क्रिएटर्स के लिए उपयोगी है।

कब इस्तेमाल करें

  • ✓जब आप अपने रिकॉर्ड किए वीडियो के लिए अपने-आप कैप्शन बनवाना चाहते हैं।
  • ✓जब आपको सबटाइटल किसी दूसरी भाषा में अनुवादित करवाने हैं।
  • ✓जब आप साझा करने से पहले सबटाइटल को वीडियो फ़ाइल में स्थायी रूप से जोड़ना चाहते हैं।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/HKUDS/CLI-Anything/blob/main/skills/cli-anything-videocaptioner/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस स्पेनिश वीडियो में अंग्रेज़ी सबटाइटल जोड़िए और उन्हें फ़ाइल में स्थायी रूप से लगा दीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट वीडियो में बोली गई बात सुनता है और उसे समय के साथ लिखे टेक्स्ट के रूप में दर्ज करता है। फिर वह सबटाइटल की सफ़ाई और अनुवाद कर सकता है, और FFmpeg से उन्हें वीडियो पर लगा सकता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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.

अक्सर पूछे जाने वाले सवाल

क्या इसका इस्तेमाल मुफ़्त है?

विवरण के अनुसार मुफ़्त speech recognition और अनुवाद के विकल्प शामिल हैं।

मुझे क्या इंस्टॉल करना होगा?

आपको Python 3.10 से 3.12, videocaptioner पैकेज, और सबटाइटल वीडियो पर लगाने के लिए FFmpeg चाहिए।

क्या अंतिम वीडियो से पहले सबटाइटल का पूर्वावलोकन देख सकते हैं?

हाँ। एक review कमांड सबटाइटल का एक फ़्रेम वाला पूर्वावलोकन इमेज बना सकता है।

जानकारी

लेखक का मूल विवरण

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

लोकप्रियता

GitHub स्टार
58k
रैंकिंग में स्थान
#3252
लाइसेंस
Apache-2.0
अपडेट की गई
21/9/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

cli-anything-3mf

58k

यह आपके एजेंट को 3D प्रिंटिंग फ़ाइलों का निरीक्षण और सुधार करने देती है, जिसमें गोल छेद खोजना, उनका आकार बदलना, मेश ठीक करना और दो फ़ाइलों की तुलना शामिल है।

डिज़ाइनइमेज और आइकन

cli-anything-qgis

58k

यह आपके एजेंट को टर्मिनल से QGIS मैप प्रोजेक्ट खोलने, संपादित करने और निर्यात करने देती है, जिसमें लेयर, फ़ीचर, प्रिंट लेआउट और प्रोसेसिंग टूल शामिल हैं।

डेटाएनालिसिस और स्प्रेडशीट

cli-anything-adguardhome

58k

यह आपके एजेंट को AdGuard Home, एक नेटवर्क-व्यापी ऐड ब्लॉकर, प्रबंधित करने देती है, जिसमें फ़िल्टर, DNS rewrites, क्लाइंट और क्वेरी लॉग शामिल हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

cli-anything-anygen

58k

यह आपके एजेंट को लिखे गए प्रॉम्प्ट से AnyGen सेवा का उपयोग करके स्लाइड, दस्तावेज़, वेबसाइट और आरेख बनवाने देती है।

लेखन और डॉक्यूमेंटPDF, Word और स्लाइड

मिलती-जुलती skills