当前位置: 首页 > Skill >

自动混剪视频完整制作工作流

自动混剪视频完整制作工作流

自动混剪视频完整制作工作流

把中文口播文案与配音自动制作成知识讲解风格的4K短视频。包含音频审查、逐字字幕对齐、全网视频素材搜索与下载、名人相关素材优先、分镜时长规划、素材去重防循环、9:16人物居中裁成4:3、3:4黑色画布包装、俪金黑标题字幕、黑金封面、背景音乐压低、4K成片与剪映分层草稿。适用于支持SKILL.md的Codex、WorkBuddy等Agent;核心依赖FFmpeg、yt-dlp和时间戳转写能力,video-use、Image2、HyperFrames、Remotion及剪映草稿助手按环境调用。

1.0.0 2026.11.27 830
获取Skill文件查看使用说明
作 者:顾安 许可证: 更新时间:2026.11.27
本文目录展开

吉老师视频完整制作工作流

Mission

Given the user's final Chinese script and voiced audio, autonomously deliver:

  1. One latest 2160x2880, 25 fps MP4 with a black 3:4 canvas and a clean 2160x1620 4:3 picture window.
  2. One black-gold cinematic 3:4 cover, saved separately and embedded as video frame 0.
  3. Exact one-line Chinese captions synchronized to the narration.
  4. Unique downloaded sources, clean ordered 4:3 clips, source manifest, shotlist, and QA reports.
  5. An editable Jianying/CapCut draft when the local draft helper is available.

Read runtime-and-tools.md at the start of the first production on a machine. Read production-workflow.md before editing. Read jianying-draft.md when an editable draft is requested. Read delivery-checklist.md before reporting completion.

Input Contract

Required:

  • Final script supplied by the user.
  • Final narration audio supplied by the user.

Reuse when discoverable:

  • The user's fixed BGM.
  • The latest approved 吉老师 cover as the Image2 style reference.
  • The user's 俪金黑 font file.
  • The local Jianying draft helper.

Do not ask for values that can be discovered locally. Ask only when a required asset is genuinely missing and no safe fallback exists.

Non-Negotiable Rules

Timing And Captions

  • Narration audio is the only timeline backbone. Measure its real duration first.
  • ASR provides timing only. Caption text must come from the user's original script.
  • Remove punctuation and whitespace from displayed captions, but preserve every spoken character.
  • Split at real pauses, breaths, sentence endings, or short semantic beats.
  • Every caption is one line. Adjacent captions never overlap.
  • Concatenate all caption text and compare it with the punctuation/whitespace-stripped script; require exact equality.
  • Find the longest caption, make it nearly fill the width with about one or two Chinese characters of side space, then use that same font size for every caption.

Shot Planning And Sources

  • Build the complete duration-first shotlist before searching or downloading.
  • Use roughly one visual for one or two closely related sentences; prefer an average hold of about 5-8 seconds unless speech rhythm requires otherwise.
  • A requested 5-second shot needs a source at least 5 seconds long. Trim a stronger continuous range from a longer source.
  • If no long-enough source exists, slow one short clip once, normally to 0.5x-0.6x, then trim. Never loop it.
  • Never repeat, ping-pong, freeze-extend, concatenate a moving clip with itself, or reuse the same source content under another filename.
  • Validate content hashes, not filenames. Each shot must have one unique source-content identity.
  • Save every downloaded source inside the current episode folder.

Named People And Semantic Matching

  • Before general search, extract all named people, quoted speakers, events, books, speeches, interviews, and explicit sources.
  • When a public figure is named, source in this order: exact speech/interview/event; another directly relevant real video of that person; general real video of that person; one or two accurate stills; semantically related footage; clean establishing shot.
  • Video is primary. Do not replace available relevant real-person footage with easy generic stock.
  • Every visual must support the actual spoken sentence, not merely the broad topic.
  • Record the public source page and rights/license note. Prefer licensed stock, public-domain, official/public material, user-authorized assets, or generated alternatives for the delivered edit.

Clean 4:3 Picture Assets

  • Ordered visual clips are clean 2160x1620, 25 fps, without title, captions, black canvas, source label, watermark, platform UI, or original subtitles.
  • For 9:16 or other portrait footage, crop around the person or main action into a true 4:3 frame.
  • If the person is centered, use a centered crop. If off-center, move the crop to preserve face, hands, product, and action.
  • Do not default to blurred side pillars. Blur-fill is a documented last resort only when a meaningful 4:3 crop would destroy essential content.
  • Inspect people for cropped eyes, malformed anatomy, awkward body outlines, conflicting perspective, or suggestive framing.

Packaging And Typography

  • Final canvas: black 2160x2880, 25 fps.
  • Middle picture: 2160x1620, approximately x=0, y=580.
  • Two-line title appears once in the top black area, never burned into each source clip.
  • Main caption sits inside the lower edge of the 4:3 picture, not in the lower black band.
  • Title and captions use 俪金黑 when available; otherwise use the closest heavy Chinese black-font fallback and record it.
  • Captions are white with a strong black outline; selected keywords may be gold. Avoid a large opaque caption box.
  • Add small 来源网络 at the lower-left of the picture as a separate overlay/track.

Cover Identity

  • Use Image2/image generation with the latest approved cover as a style reference.
  • Keep the fixed black-gold cinematic poster system: oversized tightly stacked Chinese headline in the upper half; first row distressed orange-gold; following rows distressed white; hard black extrusion/shadow; new realistic episode-specific person and metaphor below; compact orange-gold line at the bottom.
  • Reject plain centered two-line typography, PPT layouts, cards, unrelated poster styles, cropped eyes, malformed hands, inconsistent ground planes, and incoherent perspective.
  • Save the approved cover at the episode root and 08_封面/封面.png; embed that exact file as frame 0.

Audio

  • Preserve the supplied narration; do not introduce hiss through unnecessary processing.
  • Make narration forward and loud, with compression/limiting and no clipping.
  • Start BGM around 0.08-0.14; duck it under speech. BGM may loop, visuals may not.
  • Measure the final mix. Use approximately -16 to -14 LUFS integrated and true peak no higher than -1 dBFS as a practical target unless the user specifies otherwise.

Required Execution Sequence

  1. Run scripts/check_runtime.py and resolve missing core tools.
  2. Create the episode structure with scripts/create_episode.py or the same folder contract.
  3. Audit narration quality and lock duration.
  4. Transcribe with word timestamps; align timing back to the exact original script.
  5. Generate captions and run scripts/validate_captions.py.
  6. Build the complete duration-first shotlist from the embedded template in templates.md.
  7. Perform named-person/source audit and search one source per shot.
  8. Download, inspect, hash, and record each source.
  9. Trim/reframe/slow once into clean ordered 4:3 clips.
  10. Run scripts/validate_shotlist.py; stop and fix every failure.
  11. Assemble the clean visual master and apply a restrained dark cinematic grade.
  12. Generate the approved black-gold cover and inspect faces, hands, text, and perspective.
  13. Package title, captions, source label, cover frame 0, narration, and ducked BGM into the 4K MP4.
  14. Generate and sync the editable Jianying draft when supported.
  15. Extract contact sheets and inspect the beginning, named-person shots, portrait crops, middle sections, and ending.
  16. Verify format, duration, caption exactness, source uniqueness, zero loops, audio loudness, and draft contents.
  17. Remove superseded public-facing exports. Keep one latest root-level MP4.

Do not stop at a plan when the user has supplied the script and audio. Continue through production, validation, final MP4, cover, and draft unless the user pauses the work.

Tool Routing

  • ffmpeg / ffprobe: mandatory media inspection, trimming, crop, scale, grade, mix, packaging, frame extraction, and validation.
  • yt-dlp plus video-downloader: public video search/download and browser fallback.
  • transcribe or local Whisper/faster-whisper: word/phrase timestamps.
  • video-use: practical cutting, captioning, color, and media operations when available.
  • imagegen / Image2: cover generation and still-image fallback only after suitable video search fails.
  • HyperFrames: optional designed motion graphics, title/overlay animation, or authored visual scenes. Read its skill before use.
  • Remotion: optional reusable React-based packaging/template pipeline. Do not require it for ordinary FFmpeg production.
  • Jianying helper: optional but required for editable draft delivery when installed.

Use the best available route; missing optional plugins must not block the final MP4. Missing ffmpeg, ffprobe, a timing-capable transcription route, or image generation for the cover is a real blocker unless an equivalent is available.

Validation Commands

python3 scripts/validate_captions.py 
  --script "/absolute/path/原文.txt" 
  --timing-json "/absolute/path/字幕时间码.json"

python3 scripts/validate_shotlist.py 
  --csv "/absolute/path/镜头表.csv" 
  --source-root "/absolute/path/03_素材/下载素材"

The final reports must show:

  • exact caption character match
  • one-line caption count with zero overlap
  • shot count equals unique source-content count
  • duplicate source-content groups 0
  • visual loop count 0
  • every source has enough effective duration
  • final 2160x2880, 25 fps, audio/video streams present
  • frame 0 matches the approved cover
  • Jianying draft visual count matches the current shot count when a draft is delivered

Delivery

Return clickable paths to:

  • latest root-level final MP4
  • root-level 封面.png
  • editable Jianying draft location, if generated
  • source manifest and shotlist
  • SRT/timing JSON
  • no-loop and final QA reports

Also report duration, resolution, shot count, caption count, named-person real-video count, BGM level, integrated loudness, true peak, and any documented fallback.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,034
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,019
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,014
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,014
Skill 文件
  • SKILL.md
    • 吉老师视频完整制作工作流
    • Mission
    • Input Contract
    • Non-Negotiable Rules
      • Timing And Captions
      • Shot Planning And Sources
      • Named People And Semantic Matching
      • Clean 4:3 Picture Assets
      • Packaging And Typography
      • Cover Identity
      • Audio
    • Required Execution Sequence
    • Tool Routing
    • Validation Commands
    • Delivery
  • 项目或源文件

相关 Skill

更多
service-qa-coach service-qa-coach Review support quality for chat, email, phone, social DM, or marketplace service teams. Use when a team needs a QA scorecard, failure-mode analysis, coaching plan, calibration checklist, or service-improvement brief without live ticketing, CRM, or contact-center system access.
高中数学作业批改助手 高中数学作业批改助手 >图片识别 直接读取学生手写作答照片,识别公式、符号、步骤 🧮 自动推导 根据题目自动生成参考答案和评分细则,无需教师预设 📊 逐步给分 每个关键步骤独立评分,体现过程分 📝 结构化报告 输出含识别内容、参考答案、逐步评分、改进建议的完整报告 🗂 批量批改 支持一次性批改多道题,最终汇总得分表
Vibration Analysis Vibration Analysis 分析来自CMS趋势、RMS/峰值、频谱及SCADA报警的风机传动链(主轴、齿轮箱、发电机)振动数据。
Traditional Bone Tool Making Basics Traditional Bone Tool Making Basics Use when you need custom, durable, repairable tools like awls, needles, scrapers, harpoons, or fishing hooks made from local animal bones or antlers and comm...
音频混音工具 音频混音工具 名称:Sound Mixing Tool(标识 sound-mixing-tool) 短简介(≤60字):音乐/音效响度精确对齐 + 融合混音工作流:用 ffmpeg 两段式 loudnorm 把多组素材 LUFS 偏差压到 <0.10,再最小干预融合、导出可进引擎的独立分轨。 标签/关键词:音频混音 响度匹配 LUFS ffmpeg 游戏音频 音效设计 Wwise FMOD 分轨导出 后期处理 触发词:混音 · 响度匹配 · LUFS 对齐 · MIX 版本 · 音乐音效分轨 · 融合 · 不打架 · 不能盖住 适用场景 :游戏音频集成、影视短视频配乐、播客后期