raw-video-processing by zc277584121/marketing-skills
npx skills add https://github.com/zc277584121/marketing-skills --skill raw-video-processing对原始屏幕录制视频进行后处理以优化节奏——移除静音片段,然后加速处理结果。
前提条件:必须安装 FFmpeg 和 Python 3。
用户录制了一段屏幕录像,希望在发布前进行清理。原始录制视频中的典型问题包括:
当用户提供原始视频文件时,默认情况下按顺序运行两个脚本:
python /path/to/skills/raw-video-processing/scripts/remove_silence.py <input.mp4>
此脚本检测并剪切掉无声部分,生成 <input>_nosilence.mp4。
默认参数(适用于大多数屏幕录像):
--threshold -30dB — 静音检测灵敏度--duration 0.8 — 要移除的静音最小长度(秒)--padding 0.2 — 在语音边界周围保留的缓冲时间(秒)Post-process raw screen recordings to improve pacing — remove silent segments, then speed up the result.
Prerequisite : FFmpeg and Python 3 must be installed.
The user has recorded a screencast and wants to clean it up before publishing. Typical issues in raw recordings:
When the user provides a raw video file, run both scripts in sequence by default:
python /path/to/skills/raw-video-processing/scripts/remove_silence.py <input.mp4>
This detects and cuts out silent portions, producing <input>_nosilence.mp4.
Default parameters (good for most screencasts):
--threshold -30dB — silence detection sensitivity--duration 0.8 — minimum silence length (seconds) to remove广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
脚本会打印详细摘要:发现的静音片段数量、移除的总静音时长,以及所有保留的片段及其时间戳。请查看此输出以确认结果看起来合理。
python /path/to/skills/raw-video-processing/scripts/speed_video.py <input>_nosilence.mp4
此脚本对移除静音后的视频应用速度倍率,生成 <input>_nosilence_1.2x.mp4。
默认参数:
--speed 1.2 — 1.2 倍播放速度(轻微的加速,不会感觉仓促)| 标志 | 默认值 | 描述 |
|---|---|---|
-o, --output | <input>_nosilence.mp4 | 自定义输出路径 |
-t, --threshold | -30dB | 静音阈值(单位:dB,值越低越敏感) |
-d, --duration | 0.8 | 要移除的静音最小持续时间(秒) |
-p, --padding | 0.2 | 在非静音片段周围保留的缓冲时间 |
--dry-run | 关闭 | 仅打印检测到的片段,不导出文件 |
| 标志 | 默认值 | 描述 |
|---|---|---|
-o, --output | <input>_<speed>x.mp4 | 自定义输出路径 |
-s, --speed | 1.2 | 播放速度倍率 |
--threshold -25dB --duration 0.5 进行更严格的静音移除,并使用 --speed 1.5 进行更快的播放。--dry-run 查看在不创建文件的情况下会剪切哪些内容。-o 来控制输出路径。每周安装次数
112
代码仓库
首次出现
2026年3月5日
安全审计
安装于
claude-code112
github-copilot112
codex112
kimi-cli112
gemini-cli112
cursor112
--padding 0.2 — seconds of breathing room kept around speech boundariesThe script prints a detailed summary: number of silent segments found, total silence removed, and all kept segments with timestamps. Review this output to confirm the result looks reasonable.
python /path/to/skills/raw-video-processing/scripts/speed_video.py <input>_nosilence.mp4
This applies a speed multiplier to the silence-removed video, producing <input>_nosilence_1.2x.mp4.
Default parameters :
--speed 1.2 — 1.2x playback speed (a subtle boost that doesn't feel rushed)| Flag | Default | Description |
|---|---|---|
-o, --output | <input>_nosilence.mp4 | Custom output path |
-t, --threshold | -30dB | Silence threshold in dB (lower = more sensitive) |
-d, --duration | 0.8 | Minimum silence duration in seconds to remove |
-p, --padding | 0.2 | Padding kept around non-silent segments |
--dry-run | off | Only print detected segments, don't export |
| Flag | Default | Description |
|---|---|---|
-o, --output | <input>_<speed>x.mp4 | Custom output path |
-s, --speed | 1.2 | Playback speed multiplier |
--threshold -25dB --duration 0.5 for stricter silence removal, and --speed 1.5 for faster playback.--dry-run on remove_silence.py to see what would be cut without creating a file.-o on either script to control the output path.Weekly Installs
112
Repository
First Seen
Mar 5, 2026
Security Audits
Installed on
claude-code112
github-copilot112
codex112
kimi-cli112
gemini-cli112
cursor112
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
43,100 周安装