Skip to content

lispking/video-skills / manim-video-teacher

manim-video-teacher

Verified

专注于使用 Manim 生成动画教学视频的完整流程与专业建议。适用于用户用中文提示语让 Codex 生成脚本、分镜、Manim 代码、渲染命令或优化教学视频质量与节奏,并输出 MP4。

FileKindSize
SKILL.mdskill md5.1 KB
scripts/concat_audio.pyscript1.3 KB
scripts/make_cover.pyscript1.5 KB
scripts/mux_av.pyscript1019 B
scripts/pipeline.pyscript3.8 KB
scripts/tts_generate.pyscript2.4 KB

scripts/mux_av.py

View on GitHub
#!/usr/bin/env python3
import argparse
import subprocess


def parse_args() -> argparse.Namespace:
    parser = argparse.ArgumentParser(
        description="Mux video and audio into a single MP4 using ffmpeg",
    )
    parser.add_argument("--video", required=True)
    parser.add_argument("--audio", required=True)
    parser.add_argument("--subs", help="Optional SRT subtitles to embed")
    parser.add_argument("--output", default="output.mp4")
    return parser.parse_args()


def main() -> None:
    args = parse_args()
    cmd = [
        "ffmpeg",
        "-i",
        args.video,
        "-i",
        args.audio,
    ]
    if args.subs:
        cmd += [
            "-i",
            args.subs,
            "-c:s",
            "mov_text",
            "-metadata:s:s:0",
            "language=chi",
        ]
    cmd += [
        "-c:v",
        "copy",
        "-c:a",
        "aac",
        "-shortest",
        args.output,
    ]
    subprocess.run(cmd, check=True)


if __name__ == "__main__":
    main()
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexUnverifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall