Home / Market / md2video audio

md2video audio

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

skill★ 507830 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: md2video-audio description: "Convert Markdown documents into narrated MP4 videos with synchronized visuals and voice narration." category: media risk: safe source: community source_repo: 70v-Yoyo/md2video-audio-skill source_type: community date_added: "2026-09-12" author: 70v-Yoyo tags: [markdown, video, audio, text-to-speech, marp, presentation] tools: [claude, cursor, gemini] license: "Apache-2.0" license_source: "https://github.com/70v-Yoyo/md2video-audio-skill/blob/main/LICENSE"

---

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.

When to Use This Skill

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.

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

Limitations

Security & Safety Notes

Common Pitfalls

Solution: Verify the number of --- separators and realign the narration.

Solution: Split the content into smaller logical sections before rendering.

Solution: Verify the environment first, then use the fallback scripts if appropriate.