zenstory-ai/drama-skills / skills/short-drama-edit
short-drama-edit
Verified将已生成的短剧镜头与配音剪成成片,编写剪辑单并完成渲染验收。用于“剪成成片/套剪”“加字幕/画面文字”“统一响度”“调整成片剪辑节奏、配乐/字幕混音与渲染导出”或导出精修素材;需补素材或改故事时转回上游阶段。
assets/remotion/src/Overlay.tsx
View on GitHubimport React, { useMemo } from "react";
import { AbsoluteFill } from "remotion";
// Only the weights drawn: Noto Sans SC 700 and 900, JetBrains Mono 800.
import "@fontsource/noto-sans-sc/700.css";
import "@fontsource/noto-sans-sc/900.css";
import "@fontsource/jetbrains-mono/800.css";
import { OverlayProps } from "./schema";
import { useFaces } from "./font";
import { fontLoadPlan } from "./rules.mjs";
import { ScreenTextLayer } from "./screen/ScreenText";
import { Subtitles } from "./Subtitles";
/**
* One transparent pass: screen text first, subtitles on top, over empty frames.
* ffmpeg composites the result onto the untouched picture.
*/
export const Overlay: React.FC<OverlayProps> = (props) => {
const plan = useMemo(
() => fontLoadPlan(props.cues, props.screenTexts),
[props.cues, props.screenTexts],
);
if (!useFaces(plan)) return null;
return (
<AbsoluteFill>
{props.screenTexts.map((text, index) => (
<ScreenTextLayer key={index} text={text} />
))}
<Subtitles cues={props.cues} />
</AbsoluteFill>
);
};
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |