跳到正文
cccskills
免费在 GitHub 公开

video-to-text

Extract titles, authors, likes, and tags from Douyin share links, or transcribe Chinese speech from local video files. Local transcription produces a saved text file and timestamped segments for reviewing the spoken content.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

视频转文字。用户发抖音分享链接(获取标题/作者/点赞等元数据),或本地视频文件(语音转写全文)时使用。抖音链接用 SSR 解析无需 Cookie。

Video to text: extract metadata from Douyin share links, or transcribe speech from local video files.

查看安装方法

适用场景

  • Retrieving titles and authors from Douyin share links
  • Transcribing Chinese speech in local videos
  • Reviewing speech as timestamped text
  • Saving video transcripts as searchable text

包含的文件(3)

  • SKILL.md2.1 KB
  • scripts/douyin_extract.py10.8 KB
  • scripts/vtt.py4.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Video-to-Text 视频转文字

把视频变成可复制、可搜索的文字。支持抖音分享链接(元数据,无需登录)和本地视频文件(语音转写)。

触发条件

用户发送以下内容时使用本技能:

  • 抖音分享链接,要求"转文字""提取文案""拆解视频"
  • 本地视频文件(.mp4/.mov),要求"语音转文字""字幕"

使用步骤

1. 抖音分享链接 → 元数据

python3 scripts/vtt.py "https://v.douyin.com/xxxx/"
  • 输出元数据(标题/作者/点赞/标签)
  • 注意:分享链接当前只提取元数据——语音转写请让用户保存视频后走本地文件(步骤 2)

2. 本地视频文件 → 语音转写

python3 scripts/vtt.py 本地视频.mp4
  • 自动提取音频、faster-whisper 转写(中文)
  • 转写文本保存为 <输入名>_transcript.txt 并打印时间戳分段

依赖(首次使用时安装)

pip3 install faster-whisper        # 转写需要(首次会下载 tiny 模型 ~75MB)
# macOS 自带 avconvert;Linux 需 ffmpeg
# 抖音 SSR 解析零依赖(curl + 标准库)

已知陷阱

  • duration_ms=0 假阴性:SSR 元数据时长可能为 0,但实际是视频。若元数据显示 0 秒且有下载 URL,先下载验证,不要直接判定为图文。
  • play_addr URL 过期:SSR 解析出的视频 URL 可能 404,此时需 Cookie 降级或让用户提供文件。
  • whisper 转写慢:Intel Mac 上 3 分钟视频约 5 分钟;转写必须加 language='zh' 否则自动检测多花 1-2 分钟。
  • 图文内容:duration=0 且下载文件 <1MB 时是图文(无音频),只输出元数据,不要编造内容。

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Handle ActiveCampaign contact and marketing tasks through Rube MCP, a connection for agent tools. Find or create contacts, manage tags and subscriptions, enroll contacts in existing automated workflows, and create follow-up tasks.

中文简介正在准备中。当前显示英语简介。

  • Finding or registering contacts
  • Adding or removing contact tags
  • Subscribing contacts to lists or unsubscribing them
davepoon/buildwithclaude36672026年10月20日 更新

Research competitors’ live Meta and Google ads to identify opening hooks, offers, calls to action, and landing pages. Receive a sourced creative brief and up to three test ideas adapted to your product.

中文简介正在准备中。当前显示英语简介。

  • Find angles for new ad copy
  • Plan creative tests using competitor ads
  • Choose a landing page message
davepoon/buildwithclaude36672026年10月20日 更新

Add website or app tracking, then use command-line tools to review traffic, signups, drop-off, and returning users across projects. Run A/B tests, which compare alternative headlines or buttons, and inspect results to guide changes.

中文简介正在准备中。当前显示英语简介。

  • Adding page-view and key-action tracking
  • Reviewing traffic and referral sources across projects
  • Finding where visitors drop out before signup or purchase
davepoon/buildwithclaude36672026年10月20日 更新

Establish rules for when an AI agent should recall past context and save lasting decisions, corrections, preferences, and failures. Works with Markdown files or memory services, preserving decision history and surfacing conflicting records.

中文简介正在准备中。当前显示英语简介。

  • Carry project conventions into the next session
  • Save user corrections and lasting preferences
  • Record failed approaches and their causes
davepoon/buildwithclaude36672026年10月20日 更新

Audit local AI coding-agent sessions with agenttrace to identify spending, token use, tool failures, and operational problems. Produce readable or structured reports and define pass-or-fail thresholds for automated continuous integration checks.

中文简介正在准备中。当前显示英语简介。

  • Investigating session costs and token waste
  • Finding repeated tool failures and retries
  • Exporting session reports as Markdown or JSON
davepoon/buildwithclaude36672026年10月20日 更新

Audit saved agent sessions for access to private files and evidence that secret values entered an agent's context. Get findings without displaying secrets, identify keys needing rotation, and inspect Claude Code or Codex sessions in a local report.

中文简介正在准备中。当前显示英语简介。

  • Check whether an agent accessed .env files
  • Identify keys that may need rotation
  • Audit private-file access by subagents
davepoon/buildwithclaude36672026年10月20日 更新

查看 davepoon 的全部技能

报告此技能的问题