mdgate converters

AVI to Markdown in your browser.

Convert AVI files to GitHub-Flavored Markdown directly in your browser.

Your AVI stays on your device. No upload. No account.

Starting local converter

Use AVI to Markdown in your app

$ npm install @mdgate/video

// Register the callback your app already uses
import { create } from '@mdgate/core';
import { video } from '@mdgate/video';

const toMarkdown = create([
  video(yourCallback),
]);

const markdown = await toMarkdown(bytes);

Pure TypeScript, Node.js, Cloudflare Workers, Edge, Browser, No Python, No native addons, No WASM, Zero third-party runtime dependencies

How AVI to Markdown works

  1. AVI
  2. video detection
  3. your video callback
  4. GitHub-Flavored Markdown

Built for JavaScript runtimes

Node.js

Read local files, uploads, S3/R2 objects, and other byte sources.

Cloudflare Workers

Detect video inside Workers, then call the function you register.

Browser

Files stay in the browser. Video understanding still needs the callback your application provides.

Edge

Run the same TypeScript converter in compatible Edge runtimes.

What @mdgate/video extracts

  • MP4, M4V, MOV, WebM, Matroska, and AVI detection
  • The whole file passed to your callback
  • No decode, transcode, or frame extraction inside mdgate

Detection vs Understanding

Detection

video bytes → @mdgate/video

Understanding

your video model → Markdown

@mdgate/video does not silently send video to a model.

Why @mdgate/video

Runs where your JavaScript runs

No separate processing service. The converter is TypeScript you can call from Node.js, Cloudflare Workers, Edge runtimes, and browsers.

Local conversion

Detection stays local. Model work happens only through a callback you register.

Content detection

Recognizes AVI files from their contents, not only the filename.

Deterministic parsing

Format detection is deterministic. Any model output comes from the callback you supply.

Small runtime surface

No Python. No native addons. No WASM. No third-party runtime dependencies.

AVI for AI agents

Turn AVI files into content your agent can actually work with.

  1. AVI
  2. Markdown
    • grep
    • search
    • chunk
    • index
    • cache
    • cite
    • reason

Need more than AVI?

One format

@mdgate/video

Your own set

@mdgate/core
+ @mdgate/video
+ @mdgate/pdf
+ @mdgate/docx

Broad file support

@mdgate/converters

FAQ

Can I convert AVI to Markdown without uploading it?

Files you drop on this page stay in the browser. AVI conversion that needs a model still requires a callback in your application.

Does AVI to Markdown work in Cloudflare Workers?

Yes. @mdgate/video runs directly in Cloudflare Workers.

Does it require Python?

No.

Does it require native addons or WASM?

No.

What does it output?

GitHub-Flavored Markdown.

Can I install only the AVI converter?

Yes. Install @mdgate/video instead of the complete converter set.

Does it caption video in the browser demo?

No. video() is not in all(). Connect the video model your application already uses.