{"uid":"cap_viRVFLshMSTghH_M7XUg3","slug":"agent402-tools-media-info-ffprobe-9ffcda61","name":"agent402.tools Media Info (ffprobe)","description":"Inspect any audio/video URL with ffprobe: container, duration, bitrate, and per-stream codec details (sample rate/channels for audio, resolution/fps for video) as JSON. Body: {\"url\":\"https://…/file.mp4\"}.","url":"https://agent402.tools/api/media-info","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public URL of the media file (max 30MB)"}}},"responseSchema":{"type":"json","example":{"bytes":4404000,"bitrate":192000,"streams":[{"type":"audio","codec":"mp3","channels":2,"sampleRate":44100}],"formatName":"mp3","durationSec":1832.4}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_59UAeeeWXHDMcbuf_WolW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects any public audio/video URL using ffprobe and returns container format, duration, bitrate, and per-stream codec details as JSON","exampleAgentPrompt":"Can you check the codec, resolution, frame rate, and duration of this video file: https://example.com/sample.mp4?","exampleUseCases":null,"resultDescription":"A JSON object containing container format details (format name, duration, bitrate, size) and an array of per-stream details — for video streams: codec name, resolution (width x height), frame rate; for audio streams: codec name, sample rate, number of channels.","failureModes":["URL is not publicly accessible or returns 4xx/5xx — error response indicating fetch failure","Media file exceeds 30MB limit — request rejected with size error","URL does not point to a valid audio/video file — ffprobe parse error returned","Network timeout fetching the remote file — timeout error","Unsupported or corrupt media container — ffprobe unable to read stream info"],"whenToPreferThis":"Use this endpoint when you need technical metadata about a remote audio or video file — codec, resolution, fps, duration, bitrate, or stream layout — without downloading the file yourself. Ideal for pre-flight checks before transcoding, validating media uploads, or surfacing technical specs to a user. Prefer this over generic file-inspection tools when the target is specifically audio/video and you need ffprobe-level detail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:53:39.812Z","isFirstParty":false}