media-use SKILL.md skillA
media-use from zrong/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add zrong/skills/media-use@git:20260806.3af2ea6Pins git:20260806.3af2ea6 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- zrong/skills
- Path
media-use/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260806.3af2ea6, committed Aug 6, 2026
- First version recorded
- Jul 4, 2026
- Size
- 6,496 bytes
- Repository stars
- 13
- License
- none declared
媒体处理工具集(基于 ffmpeg)。当用户需要视频转码、格式转换、压缩到指定大小、调整分辨率/帧率、添加 Logo 或图片水印、设置水印位置/尺寸/透明度、追加片头片尾、音频处理、视频裁剪/剪辑、合并/拼接、修复 m3u 下载损坏视频(faststart/moov atom)时使用。支持品牌视频一体化生成、目标 MB 两遍编码、H.264/H.265/AV1/VP9 批量转码、无损裁剪与合并、mp4 moov 前置修复。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Media Use - 媒体处理工具集 基于 ffmpeg 的媒体处理工具集,提供 5 个独立 CLI:转码、品牌包装、裁剪、合并、修复。 ## 准备 ```bash cd media-use/scripts uv sync ``` 所有命令通过 `uv run <工具>` 执行。依赖:Python 3.13+、ffmpeg / ffprobe(需预先安装)。 ## 工具列表 ### ffmpeg_batch —— 批量视频转码 多种编码格式 + GPU 硬件加速,支持递归、并行、预览。 ```bash # 转码为 H.264 4Mbps,音频直接复制 uv run ffmpeg_batch /path/to/source /path/to/target -vc h264 -vb 4M # NVIDIA GPU 加速转码 H.265 uv run ffmpeg_batch /path/to/source /path/to/target -vc hevc-nvenc -vb 5M --hwaccel-decode # 查看支持的编码器 uv run ffmpeg_batch --list-codecs ``` 常用参数:`-vc/--video-codec`、`-ac/--audio-codec`、`-vb/--video-bitrate`、 `-ab/--audio-bitrate`、`--hwaccel-decode`、`-s/--suffix`、`-r/--recursive`、 `-e/--ext`、`-j/--jobs`、`--dry-run`、`--list-codecs`。 ### ffmpeg_brand —— 水印、片尾与目标体积压缩 为单个视频添加图片或文字水印、追加片尾,并统一输出尺寸、帧率和编码。设置 `--target-mb` 时自动按主视频与片尾总时长计算码率,使用 H.264 两遍编码并预留 5% 封装余量;若第一次结果仍超出目标,会自动降低视频码率重试一次。 第一遍编码通过 Python 的 `os.devnull` 使用系统空设备(Windows 为 `NUL`),因此 Windows 可直接使用 `--target-mb`。 ```bash # 480P / 30fps,左下角半透明 Logo,并追加片尾 uv run ffmpeg_brand input.mp4 \ --watermark logo.png \ --outro outro.mp4 \ --height 480 --fps 30 \ --watermark-position bottom-left \ --watermark-opacity 0.45 \ …
Read the whole file at its exact version.
How to install
mdr add zrong/skills/media-use@sha256:628ab4331fe7aa3fThe line at the top of this page pins the label git:20260806.3af2ea6, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_anbjfpznsvahxacn)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 4, 2026 and Aug 6, 2026, about one every 8 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260806.3af2ea6 latest | 2026-08-06 | 3af2ea6 | 6,496 B | A | view · diff |
| git:20260806.695bd7e | 2026-08-06 | 695bd7e | 6,414 B | A | view · diff |
| git:20260804.fa06a54 | 2026-08-04 | fa06a54 | 6,273 B | A | view · diff |
| git:20260720.3c5820f | 2026-07-20 | 3c5820f | 5,360 B | A | view · diff |
| git:20260704.e1a5c5a | 2026-07-04 | e1a5c5a | 3,402 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6496 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
zrong/skills · 13 stars · license none declared · pushed 2026-10-29 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_anbjfpznsvahxacn GET https://markdownregistry.com/api/v1/resolve?ref=zrong/skills/media-use GET https://markdownregistry.com/api/v1/blob/628ab4331fe7aa3f742501525d40fe4c19e3a95777a3c0bc9e63278941dbfabf
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.