Communitygithub.com

视频尺寸重制

将选定的源视频片段重新构图,适配宽屏YouTube、竖屏Reels或Shorts、方形或纵向Feed,支持自适应填充或指定裁剪。

视频尺寸重制 是什么?

该技能专注于将现有视频或拍摄素材适配不同发布平台的画布比例。用户需通过观看选择包含完整钩子、动作和结尾的自洽片段,仅改变格式不会产生有用的Shorts或Reel。它调用 `python scripts/make_format.py <输入> <输出> --start <秒> --duration <秒> --profile wide|vertical|square|portrait-feed --mode fit|crop` 命令进行处理,其中 `fit` 模式保留完整画面并添加柔和填充,`crop` 模式则填充画布并支持通过 `--focus-x` 和 `--focus-y` 参数指定焦点位置。该工具支持指定帧率和自定义画布尺寸,并向后兼容 `scripts/make_short.py` 命令。处理后会保留原始音频,且不修改源文件,但结果仅是候选版本,需在检查故事连贯性和音效后再做最终决定。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/prathameshp107/video-editing/tree/HEAD/.agents/skills/format-repurposer

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

格式重制工具

用于将现有视频或拍摄素材适配其他画布。通过观看选择包含完整钩子、动作和结尾的自洽片段;仅改变格式不足以生成有用的Shorts或Reel。记录源时间以及任何需要上下文的旁白或字幕。

运行 python scripts/make_format.py <输入> <输出> --start <秒> --duration <秒> --profile wide|vertical|square|portrait-feed --mode fit|crop。省略 duration 将使用源剩余部分。fit 保留完整画面并添加柔和填充;crop 填充画布并接受 --focus-x 和 --focus-y 参数(取值 0 到 1)。对于已包含竖直肖像镜头并带有柔和侧边填充的宽屏视频,居中裁剪通常能恢复肖像区域。当项目需要特定帧率时使用 --fps,并使用 --width 和 --height 指定其他偶数尺寸的画布。scripts/make_short.py 作为旧命令的兼容入口点继续保留。

在目标尺寸下检查开头、中间和结尾。裁剪后检查人脸、食物、文字、标志和字幕;如有必要调整焦点或使用 fit 模式。源音频被保留,原始文件不受影响,结果仅是候选版本,直到故事和音效被审查。对于特定平台的封面和文案,请使用 platform-package。

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

prathameshp107/video-editing

Inventory and classify footage, photos, audio, and factual evidence before a footage-based video edit; record required shots and source-backed labels in this repository.

prathameshp107/video-editing

Measure and finish the mixed audio of a Reel, Short, long video, or audio-only deliverable with local FFmpeg and an encoded-output check.

prathameshp107/video-editing

Prepare source-linked cutaway clips for any long or short video, with timecodes, rights, clear names, format-aware framing, and a contact sheet.

prathameshp107/video-editing

Compare multiple frames from videos or photos across cameras, lighting, and output formats, then review a deliberate color adjustment.

prathameshp107/video-editing

Audit the picture and audio at edit boundaries in a rendered video, catching clipped speech, sudden sound changes, black frames, awkward dissolves, and visible jump cuts.

prathameshp107/video-editing

Design and add short motion graphics inside an existing video, such as titles, maps, labels, lower thirds, photo moves, and transitions, using Remotion or HyperFrames where appropriate.

prathameshp107/video-editing

Prepare source-backed cover art, title or caption, credits, and optional long-form chapters for YouTube videos, Shorts, Instagram Reels, or other delivery formats.

prathameshp107/video-editing

Review a finished video export for story coverage, readable text, framing, motion graphics, audio, and technical integrity before delivery.

prathameshp107/video-editing

Build a coherent travel, food, visit, or topic-driven video from inventoried footage, choosing story beats, clip order, pacing, still-photo placement, and an edit decision list.

prathameshp107/video-editing

Turn explicit creator feedback on pacing, framing, titles, transitions, and audio into a reusable style note without overgeneralizing one-off corrections.

prathameshp107/video-editing

Match narration or dialogue to indexed footage and audit a video timeline for off-topic shots using local, free tools. Use for footage searches and voiceover-to-picture alignment; do not treat filename similarity as visual proof.

prathameshp107/video-editing

Plan and quality-check footage-based travel, food, or visit vlogs in this repository, including source inventory, story structure, required-shot coverage, portrait framing, photos, titles, audio, and export review.

prathameshp107/video-editing

Generate narration locally in a consented speaker's voice using the bundled Chatterbox TTS model. Works with any language supported by the installed checkpoint. Audio finishing and soundtrack mixing are separate steps.

相关技能