video-to-text
Skill3 starsChanged 5 months agoMITView on GitHub
Transcribe local video/audio files or public media download URLs with Tencent Cloud ASR. Use for speech-to-text, timestamped transcripts, subtitles, speaker separation, or reusable MP4/MOV/M4V/WAV/MP3 transcription without hardcoding API keys.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- jiawood2006/video-to-texttheir own version, first seen Oct 13, 2026
- Luo4507/video-to-texttheir own version, first seen Sep 28, 2026
- jiawood2006/hermes-skillstheir own version, first seen Aug 24, 2026
- Lotus-7/video-to-text-skilltheir own version, first seen May 8, 2026
- yfge/video-skills-suitetheir own version, first seen Feb 28, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- jiawood2006/hermes-skills★ 2same name
- yfge/video-skills-suite★ 1same name
- jiawood2006/video-to-text★ 0same name
- Lotus-7/video-to-text-skill★ 0same name
- Luo4507/video-to-text★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 3 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 19
Default model: 16k_zh, suitable for ordinary Mandarin content.
- Very specific: line 21
Default result format: 3, with punctuation-based segments and timestamps suitable for subtitles.
- Very specific: line 23
Use --speaker-diarization for supported models and --sentence-max-length 20 to control subtitle line length.
- Very specific: line 24
Use --hotword-list '产品名|10,人名|8' for request-scoped vocabulary, or --hotword-id for a saved Tencent hotword table.
- Very specific: line 38
Read configuration when credentials, defaults, or environment variables need to be set.
- Very specific: line 42
When the source is a Douyin, Xiaohongshu, Bilibili, X/Twitter, or other share page, parse it first with social-content-parser.
- Very specific: line 48
Prefer parse_social.mjs --transcribe so the parser selects the first normalized video.
- Distinctive: line 55
Do not print media URLs because signed URLs may contain credentials.
- Distinctive: line 56
Do not start a paid transcription without the user's media and configured Tencent credentials.
- Distinctive: line 58
If credentials are missing, ask for a private config or environment setup.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Video To Text
Transcribe local media or a public media URL with scripts/transcribe_media.py. Keep credentials outside the skill in a private config file or environment variables.
Choose The Input Mode
- Local file: use
--input. Files up to 5 MB are uploaded directly; larger files are transcoded to mono 16 kHz AAC whenffmpegis available. If the result still exceeds 5 MB, use URL mode. - URL: use
--urlwith an HTTP(S) media address that Tencent Cloud can download without cookies or custom request headers. Signed COS URLs are supported while valid.
A video webpage such as a normal v.qq.com, YouTube, or Bilibili page is not a media download URL. Do not pass webpage URLs to Tencent ASR. Obtain an authorized downloadable media URL or local file first; do not bypass access controls.
Tencent Cloud ASR
- Default model:
16k_zh, suitable for ordinary Mandarin content. - For noisy, dialect-heavy, or mixed Chinese/English recordings, consider
--engine-model-type 16k_zh_en_2.0; it uses a different billing tier. - Default result format:
3, with punctuation-based segments and timestamps suitable for subtitles. - URL recordings must be no longer than five hours and must remain downloadable while Tencent processes the task.
- Use
--speaker-diarizationfor supported models and--sentence-max-length 20to control subtitle line length. - Use
--hotword-list '产品名|10,人名|8'for request-scoped vocabulary, or--hotword-idfor a saved Tencent hotword table.
Run
python3 scripts/transcribe_media.py --input ./video.mp4 --output ./transcript.txt
python3 scripts/transcribe_media.py --url 'https://example.com/video.mp4' --output ./subtitle.srt --sentence-max-length 20
python3 scripts/transcribe_media.py --url 'https://example.com/audio.m4a' --output ./transcript.md --speaker-diarizationThe output format is inferred from .txt, .json, .srt, .md, or .markdown. Override it with --output-format. JSON preserves the full Tencent response, including word timing and speaker data.
Configuration
Read configuration when credentials, defaults, or environment variables need to be set. Copy config.example.json to an ignored user or project config; never commit real credentials. Keep reusable Skill code separate from ignored project-local or user-local configuration.
Companion: social-content-parser
When the source is a Douyin, Xiaohongshu, Bilibili, X/Twitter, or other share page, parse it first with social-content-parser. Tencent ASR needs a direct media file URL or a local file, not the share page.
Recommended order:
- Parse the share URL and inspect
normalized.json. - Transcribe only when the user explicitly asks.
- Prefer
parse_social.mjs --transcribeso the parser selects the first normalized video. - Or call this script on
normalized.primaryVideo/ a downloadedmedia/video.*file.
Install the two skills as siblings so the parser can discover scripts/transcribe_media.py automatically.
Operational Boundaries
- Do not print media URLs because signed URLs may contain credentials.
- Do not start a paid transcription without the user's media and configured Tencent credentials.
- Polling can take minutes. Results are written only after Tencent reports success.
- If credentials are missing, ask for a private config or environment setup; never place secrets in the skill directory.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

