Skip to content

provenance-native video pipeline

write markdown.
render the video.

Markdown Video turns a readable document into a real MP4 — in the editor, from the CLI, in CI, or by an agent — without a timeline or hidden project file.

the artifact below is landing-hero.video.md · 751 bytes

one readable input · one rendered output

The markdown source on the left is the source for the MP4 on the right. As the video plays or is scrubbed, the lines that produced the current scene are highlighted.

examples/landing-hero.video.md
!scene
!duration 1.8
!background #fff4ec
!transition fade
!text
write markdown.
render the video.
size: 2xl
color: #2b1030
fontFamily: display
animation: none
---
!scene
!duration 2.4
!background #130a24
!transition fade
!code
typing: true
speed: 85
fontSize: lg
fontFamily: jetbrains
width: 1180
```md
!scene
!duration 1.8
!background #fff4ec
!text
write markdown.
render the video.
```
---
!scene
!duration 2
!background #0c0718
!transition fade
!terminal
typing: true
speed: 85
$ markdown-video render landing-hero.video.md -o hero-showcase.mp4
> 960×720 · 18fps · captions written
---
!scene
!duration 1.8
!background #ff4fa3
!transition fade
!text
agents. CI. music. locales.
size: 2xl
color: #130a24
fontFamily: sans
animation: slideUp
highlighted lines are the scene being rendered
hero-showcase.mp4960×720 · 18fps · generated vtt

provenance

everything video-shaped here began as text.

No stock motion graphics, no screenshots of a separate tool, no decorative fake player. The clips, posters, frames, and caption sidecars on this page were rendered from readable files in examples/. Open the sources and compare them with the pixels.

even our launch video is a 1.8kb text file.

precisely: 1,837 bytes — small enough for one 4 KB filesystem block. The rendered proof is 26.4s of 1920×1080 H.264 video with AAC audio.

launch.mp4 · user-initiated playback · sound available1920×1080 · 30fps · vtt
examples/launch.video.mdopen source
!music ./assets/launch-theme.mp3 volume:0.32 fade:0.6s loop:false

!scene
!duration 2.4
!background #130a24
!transition fade
!text
this video is a text file.
size: 2xl
color: #fff4ec
fontFamily: display
animation: fadeIn
the file continues for seven more scenes; the whole source is smaller than this page's favicon.

four workflows · one document

write once,
render anywhere.

These are not four export formats bolted onto a timeline. They are four consumers of the same readable input: an agent, a CI runner, an audio/caption renderer, and a locale-specific CLI run.

input

release.video.md

01 · agent

MCP tools

02 · ci

GitHub Action

03 · sound

music + captions

04 · locale

--locale es

01 · mcp for agents

the agent that writes the document can render it too.

Connect the hosted MCP server, then use authoring tools plus render_preview and render_video against the same parser the editor uses.

shell
claude mcp add --transport http markdown-video https://markdownvideo.avikmukherjee.com/mcp

rendered from landing-agent-mcp.video.md960×720 · terminal artifact

02 · github action

release videos can render in the release pipeline.

The composite action builds the canonical CLI, renders the document, and can upload the MP4 to the GitHub release that triggered it.

workflow yaml
- uses: Avik-creator/markdown_video/action@main
  with:
    markdown-path: release.md
    output-name: release-demo.mp4
    upload-release-asset: "true"
Rendered frame showing a GitHub Actions workflow that renders and uploads a release video

direct preview capture from landing-action.video.mdpin a full sha for production use

03 · music + captions

sound belongs to the document. captions leave as artifacts.

Declare document-level audio once. Text scenes generate SRT and VTT sidecars on the same timeline, and burn-in is composited in the renderer when a player needs pixels instead of a sidecar.

document directive
!music ./assets/landing-theme.mp3 volume:0.32 fade:0.7s loop:true
optional burn-in
markdown-video render video.md -o captioned.mp4 --burn-captions

real AAC audio + generated sidecarsposter extracted from burn-in render

04 · multi-locale renders

translate strings once. render the market you need.

Declare locales and strings in the document, reference them as i18n:keys, then select the output language with the CLI's locale flag.

document fragment
!locales en es
!strings
headline:
  en: "One source, every locale."
  es: "Una fuente, cada idioma."
render command
markdown-video render examples/landing-i18n.video.md --locale es -o launch-es.mp4
English preview frame rendered from the localized markdown source

--locale en

Spanish preview frame rendered from the same localized markdown source

--locale es

source-to-output demo

watch the bytes become frames.

preview seeks the real browser renderer and captures exact-timeline PNGs. render encodes the continuous frame sequence. Same document, same scene math, two inspectable kinds of output.

real command chainrun from the repository root
$ markdown-video preview examples/landing-hero.video.md \
  --times 0.9,3,5.9,7.2 --resolution 720p \
  --aspect-ratio 4:3 --output-dir preview-frames
✓ 4 exact-timeline PNG captures · 960×720

$ markdown-video render examples/landing-hero.video.md \
  -o hero-showcase.mp4 --resolution 720p \
  --aspect-ratio 4:3 --fps 18
✓ 144 frames · 8.0s · mp4 + srt + vtt
01 · document

the whole input stays readable

!scene
!duration 1.8
!background #fff4ec
!transition fade
!text
write markdown.
render the video.
size: 2xl
color: #2b1030
fontFamily: display
animation: none

---

!scene
!duration 2.4
!background #130a24
!transition fade
!code
typing: true
speed: 85
fontSize: lg
fontFamily: jetbrains
width: 1180
```md
!scene
!duration 1.8
!background #fff4ec
!text
write markdown.
render the video.
```

---

!scene
!duration 2
!background #0c0718
!transition fade
!terminal
typing: true
speed: 85
$ markdown-video render landing-hero.video.md -o hero-showcase.mp4
> 960×720 · 18fps · captions written

---

!scene
!duration 1.8
!background #ff4fa3
!transition fade
!text
agents. CI. music. locales.
size: 2xl
color: #130a24
fontFamily: sans
animation: slideUp
examples/landing-hero.video.md · 751 bytes
02 · preview frames

scrub exact renderer captures

Exact markdown-video preview frame at 3 seconds: typed markdown scene
direct PNG capture · no video extraction
03 · rendered mp4

the continuous output matches

same source · encoded mp4user-initiated playback

markdown-first workflow

no timeline.
no hidden project file.

The timeline is derived, not maintained. The project is the document: readable in review, diffable in a pull request, small enough for an agent's context window, and renderable in the same way locally or in CI.

examples/release.video.md · real excerpt
!scene
!duration 2
!text
markdown-video
size: xl
animation: fadeIn
fontFamily: display

---

!scene
!duration 2
!text
Release notes as code
size: lg
animation: slideUp
fontFamily: sans
!code
fontFamily: jetbrains
```sh
markdown-video render release.md -o release.mp4
```

what the workflow preserves

01

readable in review

Scene order, timing, copy, color, and typography are visible before anything renders.

!duration 2 · animation: fadeIn
02

diffable in PRs

A changed line is a changed line. Reviewers do not need to open a binary project file.

git diff -- examples/release.video.md
03

agent-friendly

An agent can read, write, validate, preview, and render the same plaintext artifact.

render_video(markdown)
04

local or CI

The CLI is canonical locally; the composite action invokes the same renderer in GitHub Actions.

markdown-video render input.md -o out.mp4

capabilities as proof

no testimonials.
just evidence.

Every row names real syntax and points at an artifact rendered from it. If a capability cannot be inspected in the repository or the output, it does not belong on this page.

typography

fontFamily: serif | sans | mono | display
size: 2xl

pipeline-frame-1.webp uses display type rendered from the document, not a static mockup.

open artifact →

transitions

!transition fade
!transition slide 0.5s
!transition wipe | zoom | magic | none

hero-showcase.mp4 crosses four scene boundaries using the declared fade transitions.

open artifact →

animation

animation: fadeIn | slideUp | slideDown | slideLeft
animation: slideRight | bounceIn | zoomIn | typewriter | none

pipeline-frame-4.webp is the closing slideUp scene captured by the renderer.

open artifact →

audio

!music ./assets/landing-theme.mp3 volume:0.32 fade:0.7s loop:true

captions-demo.mp4 carries an AAC mix of the referenced music file.

open artifact →

captions

markdown-video render video.md -o out.mp4
# writes out.srt + out.vtt
markdown-video render video.md -o captioned.mp4 --burn-captions

the VTT contains real timeline cues; the poster is extracted from a burn-in render.

open artifact →

localization

!locales en es
!text i18n:headline
markdown-video render video.md --locale es

the English and Spanish frames are direct preview captures of the same source.

open artifact →

resolution + fps

--resolution 480p | 720p | 1080p | 1440p | 4k
--fps 1..60 --aspect-ratio 16:9 | 9:16 | 1:1 | 4:3

launch.mp4 probes as 1920×1080 H.264 at 30fps; hero-showcase.mp4 as 960×720 at 18fps.

open artifact →

final render

write less.
render more.

Start in the browser editor, or point your agent at the MCP server and let the document become the video pipeline.