How to Check Video Metadata: Codec, Frame Rate and HDR

The editor stutters on a phone clip. The upload comes back washed out. A platform rejects a file that looks fine. In each case the answer is written inside the video, in fields the file name and the player never show you.

On this page

The Short Answer

A video file is a container that holds one or more tracks. Each track says which codec it uses, how big its frames are, how fast they come and how its colours should be read. To check a video, you read those fields track by track.

On a computer, a viewer in the browser is the quickest way. On the command line, ffprobe and MediaInfo do the same job. The rest of this article explains what each field means and where the numbers can mislead you.

Try it free: Video Metadata Viewer – drop an MP4, MOV, WebM, MKV or MPEG-TS file and get codec, frame rate, HDR and every track in one report. It reads the file in your browser: nothing is uploaded.

Container and Codec Are Different Things

MP4, MOV, MKV and WebM are containers. They are boxes. The codec is how the picture inside the box was compressed: H.264, HEVC (H.265), VP9 or AV1 for video, AAC or Opus for sound.

That is why two MP4 files can behave so differently. One holds H.264 and plays everywhere. The other holds HEVC and an older browser shows a black frame. The viewer prints the codec string the file stores, such as avc1 for H.264, hvc1 for HEVC, vp09 for VP9 and av01 for AV1.

Resolution, Rotation and Bitrate

Phones often store a portrait video as a landscape frame plus a note that says “turn this 90 degrees”. A player that ignores the note shows it sideways. So check both the stored size and the rotation.

Bitrate tells you how many bits each second of the track uses. It is the main reason two clips of the same length differ in size. If a file is too large for an upload limit, our Video Bitrate Calculator gives the bitrate that fits.

The Frame Rate in the Header Can Be Wrong

This is the field that trips people up most. Many tools show one frame rate taken from a header. Phones and screen recorders often record at a variable frame rate: the gaps between frames change when the light changes or the processor is busy.

We tried it. We made a two-second test clip whose frames start at 30 fps and then slow down. ffprobe 6.1.1 reports its header rate as 30 fps. The same tool reports an average of 24.32 fps over its 60 frames. Neither number tells you the clip dips to 15 fps.

Our viewer does not trust the header. It measures the gaps between frame timestamps. For this clip it reports a variable frame rate running from 15 to 30 fps, with the average. A constant clip shows one figure, such as 29.97 fps.

💡 Key idea

If audio drifts out of sync in your editor, check for a variable frame rate first. Converting the clip to a constant rate before editing usually fixes it.

HDR Lives in the Colour Tags

Whether a video is HDR is not decided by its resolution or its bitrate. It is three tags: colour primaries, transfer function and matrix. Standard video is tagged BT.709. HDR10 is BT.2020 with the PQ transfer. HLG, used by broadcasters and some phones, is BT.2020 with the HLG transfer.

Our HDR test file shows the tags exactly as ffprobe reads them: BT.2020 primaries, PQ transfer, BT.2020 matrix. When an HDR clip looks dark or washed out after an upload, a converter on the way usually dropped these tags. The picture data is still there, but the player no longer knows how to read it.

Checks Against Upload Rules

Platforms publish what they accept. The viewer compares the file with three of them and marks each rule as met or missed. As read on 1 November 2026:

  • YouTube takes files up to 256 GB or 12 hours and recommends H.264 with AAC or Opus audio at 48 kHz.
  • TikTok’s posting spec asks for 23 to 60 fps and 360 to 4096 px per side.
  • Instagram Reels ask for H.264 or H.265, up to 1920 px wide, 25 Mbps, 15 minutes and 300 MB.

A recommendation is shown as a note, not a failure. Our variable test clip fails the TikTok rule, because its rate falls to 15 fps. The header alone would have said 30 and passed it.

Location and Other Personal Fields

Videos carry the same kind of personal data as photos. A phone clip can hold the GPS position where it was filmed, the device model, the date and the app that saved it. The viewer lists these when the file has them and warns you about a location.

To share the clip without them, Video Metadata Remover strips those fields and keeps the picture and sound as they are.

ffprobe and MediaInfo

If you work on the command line, two free tools read the same fields. This line prints every stream of a file:

ffprobe -v error -show_streams -show_format input.mp4

MediaInfo shows a similar report in a window. Both are thorough, but you have to install them, and both show the header frame rate unless you ask for frame timestamps. A browser viewer is quicker when you just need to know what a file is.

A Note on Privacy

Video files are large and often personal. Our viewer reads only the parts of the file it needs, inside your browser, and nothing is sent to a server.

Common Questions

How do I check the metadata of a video?

Open it in a viewer that reads the container, not just the file name. Our Video Metadata Viewer lists the codec, resolution, frame rate, bitrate and colour tags of every track, plus any location, device or date the file carries. The video stays on your device.

How do I check the frame rate of a video?

Do not trust the single number in the header. Measure the gaps between frame timestamps. If the gaps are equal the rate is constant, such as 30 fps. If they differ the video has a variable frame rate, and you need the lowest, highest and average rate.

How do I know if my video is HDR?

Look at the colour tags. HDR video is tagged BT.2020 with a PQ or HLG transfer. Standard video is BT.709. An HDR file without those tags plays as washed-out SDR.

Do I have to upload my video to check its metadata?

No. Our viewer reads the file inside your browser. Nothing is sent to a server, so a private clip stays private.

Know the File Before You Edit It

Two minutes with the metadata saves an hour of guessing. Drop the clip into Video Metadata Viewer, read the codec, frame rate and colour tags, and fix the one thing that is actually wrong.

Check Your Video
PDF Report

Need a shareable, documented report?

Get a professional PDF with all 9 forensic analyses, a SHA-256 chain-of-custody hash, and a publicly verifiable link — ready to send to a client, editor, or platform.

  • 9 analyses in one PDF
  • SHA-256 chain-of-custody
  • Publicly verifiable link
Get Forensics Report — 3 credits
Share:
S

Scanly.co — 161 free image analysis tools

Photo forensics, metadata, privacy, OCR, and utilities. 129 of 161 run entirely in your browser.

Advertisement