跳到正文
Skillpedia
音频与语音48k · #5189

md2video-audio

它能做什么

把用 Markdown(一种简单的文本格式)编写的文档转换成带旁白和同步幻灯片的 MP4 视频。它能把你的文字做成像口头讲解一样的视频演示。

适用场景

  • ✓当你想把一篇写好的教程做成视频时。
  • ✓想为报告或演示文稿制作视频时。
  • ✓当你需要把文字转换成带旁白的视频时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/md2video-audio/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/md2video-audio/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“把这个 Markdown 文档转换成带旁白的视频:my_document.md”

每周 5 个新技能,1 分钟读完。

工作原理

首先,程序会检查你的电脑环境是否已经准备就绪。然后,它把文字整理成幻灯片,并生成旁白脚本。最后,把幻灯片和语音合成为 MP4 视频。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Md2video-audio

Overview

md2video-audio converts a Markdown document into a narrated MP4 video by transforming the source into synchronized presentation visuals and spoken narration.

The workflow preserves the original file and generates separate presentation, narration, and video outputs.

  • source_repo: 70v-Yoyo/md2video-audio-skill
  • source_type: community

When to Use This Skill

  • Use when converting Markdown tutorials, reports, or presentations into narrated videos.
  • Use when creating presentation-style videos.
  • Use when the user asks for Markdown-to-video, narrated slides, or audio-video generation.

How It Works

Step 1: Check Environment

Verify required local dependencies before running the workflow. Do not install, remove, or modify dependencies without user confirmation.

Step 2: Prepare the Markdown

Keep the original file unchanged.

Create a new Markdown file with improved sectioning, formatting, and natural transitions while preserving the original meaning.

Step 3: Generate Presentation Markdown

Convert the prepared document into Marp-compatible slides.

  • Separate slides with ---.
  • Prevent content overflow.
  • Split oversized tables, code blocks, or sections when necessary.
  • Ask the user to choose a Marp style when required.

Step 4: Generate Narration

Create a narration Markdown file aligned one-to-one with the presentation slides.

Remove visual-only characters that should not be spoken and verify that slide separators remain synchronized.

Step 5: Generate Video

Run the provided video-generation script with the presentation and narration files:

python ai-2md2marp2av.py presentation.md narration.md

The script renders Marp slides, generates speech with Edge-TTS, and combines them into an MP4 video.

Ask the user to complete any interactive input required by the script.

Step 6: Fallback

If the primary workflow fails, try the included fallback scripts in order:

python md2marp2av.py

Then:

python md2video.py

Examples

Example 1: Convert a Tutorial

/md2video-audio tutorial.md

Produces presentation Markdown, narration Markdown, and a narrated MP4 video.

Example 2: Convert a Work Report

/md2video-audio project-review.md

Use the generated slides and narration to create a presentation-style report video.

Best Practices

  • ✅ Preserve the original Markdown file.
  • ✅ Keep presentation and narration slide counts synchronized.
  • ✅ Split slides that exceed safe layout limits.
  • ✅ Confirm before installing dependencies or running interactive actions.
  • ❌ Do not overwrite the source document.
  • ❌ Do not silently install, remove, or modify system dependencies.

Limitations

  • Requires the local runtime and dependencies used by the included scripts.
  • Complex Markdown layouts may require manual adjustment.
  • Edge-TTS availability depends on the local network and runtime environment.
  • Stop and ask for clarification when required files, permissions, or user choices are missing.

Security & Safety Notes

  • Run scripts only in a local or authorized environment.
  • Confirm with the user before installing dependencies or making environment changes.
  • Generated files should be written as new files rather than replacing source content.
  • Do not execute interactive or destructive commands without explicit user confirmation.

Common Pitfalls

  • Problem: Presentation and narration contain different slide counts. Solution: Verify the number of --- separators and realign the narration.
  • Problem: Slide content overflows the Marp layout. Solution: Split the content into smaller logical sections before rendering.
  • Problem: Video generation fails because dependencies are unavailable. Solution: Verify the environment first, then use the fallback scripts if appropriate.
常见问题

我的原始文件会怎么样?

你的原始 Markdown 文件不会被改动。程序会另外生成幻灯片、旁白和最终视频的文件。

什么是幻灯片和旁白?

幻灯片是视频中出现的画面,基于你的文字生成。旁白则是朗读每张幻灯片内容的声音。

什么是 Markdown?

Markdown 是一种简单的文字书写方式,可以很方便地转换成网页、演示文稿等其他格式。

详情

作者的原始描述

Convert Markdown documents into narrated MP4 videos with synchronized visuals and voice narration.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5189
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能