Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

ppt-audio-to-videoppt 音频转视频

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

6,792

周安装

283

GitHub Stars

公开资料未说明

下载量

2,264
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ppt-audio-to-video(ppt 音频转视频)
来源仓库:https://github.com/lzfxxx/ppt-audio-to-video
安装命令:
openclaw skills install ppt-audio-to-video
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ppt-audio-to-video

简介

将旁白音频与幻灯片合并为旁白视频,支持多种格式输入。

  • 适用于 mp4/m4a/mp3/wav 音频与 ppt/pptx/pdf 文件的合成。
  • 可自动同步音频与幻灯片内容生成视频项目。
  • 需确认分辨率、时长和素材版权授权要求。
  • 建议核对输出格式是否符合发布规范。ppt-audio-to-video 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
ppt-audio-to-video
description
Convert narration audio plus slide decks into a narrated video. Use when the user has an audio-only mp4/m4a/mp3/wav and a ppt/pptx/pdf deck, and needs slide images, transcript extraction, slide timing planning, or final mp4 rendering with whisper-cpp and ffmpeg.

PPT Audio To Video

Use this skill when the source video has narration audio but no usable slide visuals, and the final deliverable should be a slide-based lecture video.

Resolve bundled scripts relative to this skill directory. If the runtime has already opened this SKILL.md, prefer paths like scripts/extract_slide_outline.py and scripts/render_from_timing_csv.py instead of machine-specific absolute paths.

Core workflow

  1. Inventory inputs.

- Confirm which of these exist: audio-only mp4/m4a/mp3/wav, ppt/pptx, pdf, and any pre-rendered slide images. - Prefer an existing pdf or image directory for rendering. Treat pptx as the source of slide text and as a fallback for export.

  1. Prepare tools.

- Required for deterministic steps: ffmpeg, ffprobe, pdftoppm. - Required for transcription: whisper-cli from whisper-cpp plus a multilingual model such as ggml-small.bin. - If only pptx exists and no pdf/images exist, prefer Keynote or PowerPoint export on macOS. Use soffice only as fallback because profile or rendering issues are common.

  1. Produce slide images.

- If pdf exists, render it to images:

     pdftoppm -png -r 200 "$PDF" "$OUTDIR/slide"

- If only pptx exists, export to pdf or slide images with Keynote or PowerPoint, then continue from pdf. - Keep slide filenames ordered and stable, such as slide-01.png, slide-02.png, ...

  1. Extract slide text.

- Run:

     python3 scripts/extract_slide_outline.py \
       --pptx "$PPTX" \
       --out "$WORKDIR/slide_outline.csv"

- Use the output to identify slide titles, distinctive keywords, and section changes.

  1. Extract clean audio for ASR.

- For audio-only mp4, extract mono wav:

     ffmpeg -y -i "$AUDIO_MP4" -ar 16000 -ac 1 -c:a pcm_s16le "$WORKDIR/audio.wav"

- If the source is already wav/mp3/m4a, convert to the same mono wav form if needed.

  1. Transcribe with whisper-cli.

- Example:

     whisper-cli -ng \
       -m "$MODEL" \
       -f "$WORKDIR/audio.wav" \
       -l zh \
       -ocsv -osrt -of "$WORKDIR/transcript"

- Prefer transcript.csv for downstream parsing. transcript.srt is useful for manual review. - If GPU allocation fails on macOS, retry with -ng to force CPU mode.

  1. Build slide_timings.csv.

- Do not average slide durations unless the user explicitly asks for it. - Read the transcript and slide outline together, then create a monotonic timing plan by topic changes, section boundaries, and unique keywords. - Use this schema:

     slide,start_sec,end_sec,duration_sec,reason
     1,0.000,15.000,15.000,opening title and agenda
     2,15.000,100.000,85.000,architecture overview starts here

- Keep slide numbers sequential and ensure duration_sec = end_sec - start_sec. - Validate that the last end_sec matches the audio duration or is within a small tolerance.

  1. Render the final video.

- Run:

     python3 scripts/render_from_timing_csv.py \
       --images "$SLIDE_IMAGES_DIR" \
       --timings "$WORKDIR/slide_timings.csv" \
       --audio "$WORKDIR/audio.wav" \
       --output "$OUT_VIDEO"

- The script generates an ffconcat file, validates timing continuity, and calls ffmpeg to encode the final mp4.

  1. Verify and iterate.

- Check output duration with ffprobe. - If a slide cuts too early or too late, edit only the affected rows in slide_timings.csv and rerun the render script. - Keep the transcript, outline, and timing CSV as reproducible working files.

Heuristics for timing alignment

  • Use section-divider slides briefly. These slides usually hold for 5-20 seconds.
  • Use the first segment that clearly switches topic as the next slide start.
  • Prefer exact topic transitions over title-word matching. ASR often distorts proper nouns and product names.
  • Let the model infer timings, but keep the render step deterministic through slide_timings.csv.
  • When confidence is low, produce a first-cut video and tell the user which slide boundaries likely need review.

Common commands

Install dependencies on macOS if missing:

brew install ffmpeg poppler whisper-cpp

Typical multilingual model download:

mkdir -p .models
curl -L 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-small.bin' -o .models/ggml-small.bin

Bundled scripts

  • scripts/extract_slide_outline.py

Extract slide text from pptx into CSV or JSON for timing analysis.

  • scripts/render_from_timing_csv.py

Validate a timing CSV, generate an ffconcat, and render the final video with ffmpeg.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

92.06%
按下载量换算2,084

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills