From media-toolkit
修复 Neat Download 下载的分段视频文件。当用户需要处理 .mp4.ts 文件、修复无法完整播放的视频、或提到 Neat Download 下载的视频问题时触发此 skill。
How this skill is triggered — by the user, by Claude, or both
Slash command
/media-toolkit:fix-neat-videoThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<role>
gsd:workflow gsd:meta fix-neat-video video-processing ffmpeg, scripts/fix_video.sh </gsd:meta> gsd:goal将 Neat Download 异常分段视频修复为可正常播放的 mp4 文件。</gsd:goal> <gsd:phase name="input-check" order="1"> gsd:step确认输入文件存在且扩展名为 .mp4.ts。</gsd:step> gsd:step确认 ffmpeg 可用。</gsd:step> </gsd:phase> <gsd:phase name="repair" order="2"> gsd:step调用 scripts/fix_video.sh 执行修复。</gsd:step> gsd:step使用容错参数重建时间戳并复制流到 mp4 容器。</gsd:step> </gsd:phase> <gsd:phase name="verify" order="3"> gsd:step检查输出 mp4 是否生成并可播放。</gsd:step> gsd:step默认保留源 .mp4.ts;只有用户明确要求时才传 --delete-source 删除。</gsd:step> </gsd:phase> </gsd:workflow>
修复 Neat Download 下载的分段视频文件。Neat Download 在合并分段视频时会插入约 10MB 的填充数据,导致播放器只能播放开头部分。
.mp4.ts 格式文件.mp4 文件--delete-source 删除执行 scripts/fix_video.sh 脚本:
bash scripts/fix_video.sh [--delete-source] <视频文件.mp4.ts>
示例:
# 输入: video.mp4.ts
# 输出: video.mp4(源文件默认保留)
bash scripts/fix_video.sh video.mp4.ts
# 修复成功后删除源文件
bash scripts/fix_video.sh --delete-source video.mp4.ts
-fflags +genpts+discardcorrupt+igndts 参数重建时间戳-err_detect ignore_err 忽略错误数据-c copy)到 mp4 容器.mp4.ts 文件,显式传 --delete-source 时才删除npx claudepluginhub wangjs-jacky/jacky-skills --plugin media-toolkitExpert guidance for video editing with ffmpeg: encoding, remuxing, container/codec distinctions, quality optimization, and troubleshooting video issues.
Handles ffmpeg/ffprobe media processing: transcode, cut, trim, color grade, loudness normalization, subtitles, GIFs, HLS, hardware encoding, quality gates (VMAF). Probes input first to avoid blind processing.
Downloads YouTube videos and HLS streams (m3u8) using yt-dlp and ffmpeg. Handles authentication, cookie extraction, and common download errors like 403 and nsig failures.