DevTools Logo

Video Metadata Inspector

Video Metadata Inspector

Check codec, duration, resolution, fps and bitrate locally — with honest labels for what a browser cannot read.

Runs in your browser

Video file

header + tail slices only
Drop a video here, or use the picker below. MP4/MOV, WebM/MKV and AVI are sniffed by magic bytes.

Canned intervals exercise the same median-and-snap estimator used for live frame sampling.

No upload, no storage: at most 512 KB is read from this tab.

Inspection

no file

Load a video or the synthesized sample to see a plain-language summary.

Examples

Delivery check

Input
1920×1080 MP4, 12.5 s, 1 MB
Output
H.264 (avc1), AAC (mp4a), ≈30 fps, 0.64 Mbps

Codec hints come from the box peek; bitrate is explicitly the container average.

WebM

Input
EBML header containing V_VP9 and A_OPUS
Output
Video VP9 · Audio OPUS

CodecIDs are unique-sorted from the header slice and labeled as best-effort.

Undecodable file

Input
A video the browser cannot play
Output
Container cards still populated; fps 'not measurable'

The video element error is reported with its code instead of hanging on 'measuring'.

About this tool

Video Metadata Inspector answers 'what is this video file?' in plain language. It sniffs the container from magic bytes, reads codec four-character codes from the moov box of MP4/MOV files or CodecIDs from a WebM header, and combines those hints with the duration and resolution reported by the browser's video element.

Frame rate cannot be read from most containers as a single number. The tool samples frame presentation timestamps with requestVideoFrameCallback, takes the median interval and snaps it to familiar rates such as 23.976, 24, 25, 29.97, 30, 50, 59.94 and 60 fps. The raw value and a variable-frame-rate warning stay visible, so a misleading snap is never presented as exact truth. Bitrate is the container average computed from file size and a finite duration.

Only the first and last 256 KB of a file are read. Metadata tags such as title and artist are decoded from ilst when present, otherwise reported as 'none found'. Fields that browsers cannot reliably expose are labeled 'not detectable in browser' with an explanation, and a plain-text report can be copied or downloaded. Unpublished footage never leaves the tab.

What this tool does not do

  • The MP4 walk covers top-level boxes, moov tracks, stsd codec entries and ilst tags; it is not a full atom-tree explorer.
  • Frame-rate sampling needs decodable video and requestVideoFrameCallback; there is no fps estimate for undecodable files.
  • WebM/MKV CodecID detection is an ASCII scan of the header slice, not a validated EBML cues parse.
  • Some browsers never report audio presence at loadedmetadata time; a missing audio card means 'not detected', not proof of silence.

How to use this tool

  1. Choose a file

    Drop a video into the drop zone, use the picker, or load the synthesized sample to try the workflow instantly.

  2. Read the cards

    Container, codec hints, duration, resolution, frame rate, average bitrate, audio, video and embedded tags each have their own labeled card.

  3. Check the limits

    Open 'Why are some fields unknown?' to read the source of each value and the reason a field may be unavailable.

  4. Export the report

    Copy the plain-text report or download it as a .txt file; every field is included with its limitation notes.

Use cases

Support triage

Answer 'why won't this video play?' with container and codec hints plus a device decoding verdict.

Delivery QA

Verify resolution, approximate frame rate and average bitrate before accepting a deliverable.

Upload validation

Check untrusted or unpublished media locally without sending it to an inspection service.

Detection layers

SignalSource
Containerftyp / EBML / RIFF magic bytes
Codec hintsmoov trak stsd 4CC or EBML CodecID
Duration & sizevideo element and File API
Frame ratemedian of requestVideoFrameCallback deltas

At most 512 KB is read in total: one head slice and one tail slice.

Common mistakes

Mistake:Treating the fps snap as an exact container value.

Fix:Read the raw fps next to the snapped label; variable frame rate is flagged explicitly.

Mistake:Assuming bitrate means video-only bitrate.

Fix:This is size × 8 / duration for the whole container, including audio and overhead.

Mistake:Expecting MediaInfo parity.

Fix:The box peek is deliberately shallow; use a dedicated atom inspector for the full tree.

Mistake:Trusting file extension over content.

Fix:Container detection uses magic bytes, so a renamed file is identified by what it actually is.

Frequently asked questions

How can I check a video's codec?

Drop the file here. For MP4/MOV the inspector reads the stsd entry inside each moov track and shows labels such as H.264 (avc1) or AAC (mp4a). For WebM it scans the header for CodecIDs such as V_VP9 and A_OPUS. Codecs it cannot identify are labeled unknown instead of guessed.

Why can't fps be read directly?

Many containers store frames as timestamps rather than a single frame-rate field, and screen recordings are often variable-frame-rate. This tool samples real frame presentation times, takes the median interval and snaps to familiar rates. The raw value and a variability flag are shown alongside the snapped estimate.

What bitrate does my video have?

The card reports the container average: file size in bytes × 8 ÷ duration in seconds, shown in Mbps. It includes audio and container overhead, so it is not the video-stream bitrate a transcoder would report. Without a finite duration the field reads 'not estimable'.

Why are some fields 'not detectable'?

Browsers expose duration and dimensions only after media metadata loads, and they do not expose every codec or tag. If a video cannot decode, or moov is missing from the head and tail slices, the tool says so instead of inventing a value. Open 'Why are some fields unknown?' for the reason behind each field.

Is my video uploaded anywhere?

No. Only two 256 KB slices are read into this tab for container parsing; playback metadata is read by your browser locally. Nothing is stored and no network request carries the video.

How is this different from an MP4 atom inspector?

An atom inspector shows the raw box tree byte by byte. This tool summarizes what editors and support teams usually ask for — duration, resolution, fps, bitrate, codec support and tags — across MP4, MOV, WebM and MKV, with honest gaps labeled.

References & standards