All prebuilt tools VIDEO METADATA API

Video Metadata API

Read duration, dimensions, codecs and audio tracks from any media URL. Run the preset directly on this page or call the same agent-ready endpoint from your product.

LIVE TOOL
Run video metadata
Upload a file or paste a media URL, choose your settings and download the result here.
or

Paste a public HTTP(S) URL. KinoPipe deletes direct uploads after one day.

This preset has no required options.

Already have an account? Sign in

BEFORE / AFTER

See what the tool changes.

A real example: the after side is the unedited output of a KinoPipe job. Run the live form above to generate the same result from your own media.

BeforeSource video
WebM · VP9
mountain.webm
AfterCompatible MP4
Ready
MP4 · H.264
mountain.mp4

Demo footage: public-domain timelapses (Bureau of Land Management, Oregon · NASA SVS). Processed by the same pipeline the API and MCP tools call.

BUILT FOR AUTOMATION

Useful defaults, typed options.

The tool slug stays stable while your agent supplies named media inputs and a narrow set of documented options.

  • No FFprobe binary to install
  • Rotation-corrected dimensions
  • Typed fields an agent can trust
What this preset does
  1. 01Fetch the source media
  2. 02Probe streams with FFprobe
  3. 03Resolve rotation into display size
  4. 04Return one normalized JSON
Stable endpointPOST /api/v1/tools/video-metadata
Live API request
{
  "inputs": [{ "id": "main", "url": "https://example.com/video.mp4" }],
  "options": {}
}
Successful output example
{
  "durationSeconds": 12.48,
  "video": { "codec": "h264", "displayWidth": 1080, "displayHeight": 1920, "frameRate": 30, "aspectRatio": "9:16" },
  "audio": [{ "codec": "aac", "channels": 2 }]
}
CONSTRAINTS

Know the boundaries before you run.

Reads stream and format headers — no encode runs
Counts as a regular job, typically one credit
FAQ

About video metadata

Which fields are returned?

Container, duration, size, bitrate, the video codec with dimensions resolved for rotation into display width and height, frame rate, aspect ratio, pixel format, and every audio track with codec, channels and sample rate.

How do agents use it?

Over MCP, the get_video_metadata tool returns the same JSON in result.input, so an agent can read the source before choosing a crop, trim or resize.

KEEP BUILDING

Related media tools

Compress Video for Web
Reduce video file size while preserving a crisp, web-ready image.
Resize Video for Social Media
Create vertical, square and landscape variants from one source video.
Trim Video with an API
Cut a precise segment from a source video using start and end times.