Video Metadata Extractor: Read Codec, Bitrate & EXIF From Any Clip

By Hieu Dinh

Open a video file in Finder or Explorer and you see a name, a size, and maybe a duration. That tells you almost nothing about what's actually inside. A 200 MB MP4 could be a pristine 4K HEVC clip or a bloated 720p H.264 export with a bitrate three times higher than it needs. The difference is invisible until you read the file's metadata, and that's exactly what a video metadata extractor does: it cracks open the container and reports the codec, bitrate, resolution, frame rate, color space, audio tracks, timestamps, and sometimes even the GPS coordinates where the footage was shot.

Video metadata splits into two layers. The first is technical metadata, the encoding specs that describe how the pixels and samples are stored: container (MP4, MKV, MOV), video codec (H.264, HEVC, AV1), bitrate, dimensions, frame rate, chroma subsampling, and audio format. The second is descriptive metadata, the EXIF-style fields a camera or phone stamps into the file: creation date, device model, and geolocation. A good video metadata extractor surfaces both. Editors use it to confirm a clip matches the timeline's specs, encoders read it to choose smarter compression settings, forensics analysts use it to verify authenticity, and privacy-conscious people use it to find and strip GPS before publishing. If you've ever wondered what your camera silently embedded in a clip, you need a metadata extractor.

What's Inside Video Metadata

Before picking a tool, it helps to know what you're actually pulling out. A single video file can carry dozens of fields. Here are the ones that matter most:

  • Container (format): the wrapper that holds everything — MP4, MOV, MKV, WebM, AVI. The container is not the codec, a common confusion. See WebM vs MP4 for why the wrapper and the codec are separate decisions.
  • Video codec: how the picture is compressed — H.264, HEVC (H.265), AV1, VP9, ProRes. This is the single most important field, and if you're unsure what a codec even is, start with what is a video codec.
  • Bitrate: how many bits per second the file uses. High bitrate means larger files, often more than the footage actually needs. Our guide on video bitrate explains how to read it.
  • Resolution: pixel dimensions like 1920x1080 or 3840x2160.
  • Frame rate: 24, 30, 60 fps, sometimes fractional (29.97).
  • Color space and bit depth: Rec. 709 vs Rec. 2020, 8-bit vs 10-bit, SDR vs HDR.
  • Audio tracks: codec (AAC, AC-3, Opus), channels, sample rate, and how many separate tracks exist.
  • Timestamps: creation and modification dates.
  • GPS and device data: latitude, longitude, camera make and model, embedded by phones and action cams.

The technical fields drive editing and compression decisions. The descriptive fields are where privacy lives. A clip filmed on an iPhone can pinpoint your home before you ever post it.

Best Video Metadata Extractor Tools

There's no single winner. The right video metadata extractor depends on whether you want a one-click report, scriptable automation, or a tool that also does something useful with what it reads. Here are the five worth knowing.

MediaInfo — The Specialist

MediaInfo is the tool built for exactly this job. It reads any media file and produces an exhaustive, beautifully organized report split into General, Video, Audio, and Text sections. Nothing else surfaces this much detail with this little effort.

How to use it: Install the GUI app from the MediaInfo site, or drop a file onto it. Drag a video in and you instantly see container, codec, bitrate, resolution, frame rate, color primaries, and every audio track. On the command line:

mediainfo video.mkv

Pros: Most thorough readout of any tool here. Free and open source. GUI and CLI. Reads everything from MP4 to obscure broadcast formats.

Cons: Read-only — it inspects but won't edit metadata or re-encode. The wall of fields can overwhelm beginners.

FFmpeg / ffprobe

If you have FFmpeg installed, you already have ffprobe, its companion inspector. It's the engine behind most browser-based metadata tools, and it's endlessly scriptable. Output it as JSON and you can pipe it into anything.

How to use it:

ffprobe -v quiet -print_format json -show_format -show_streams video.mp4

That single command returns the container metadata plus a full breakdown of every video and audio stream — codec, bitrate, dimensions, frame rate, pixel format.

Pros: Already installed if you use FFmpeg. JSON output is perfect for automation and batch jobs. Reads essentially every format in existence.

Cons: Command-line only, no GUI. The raw JSON is dense. Installing FFmpeg from scratch is a hurdle for non-technical users.

ExifTool

ExifTool is the gold standard for descriptive metadata — the EXIF, XMP, and QuickTime tags that hold creation dates, device info, and GPS. It's the go-to for forensics and privacy work, and unlike most tools here it can also write and strip metadata, not just read it.

How to use it:

exiftool video.mov

This dumps every tag ExifTool can find, including GPS coordinates and camera model if present. To strip all metadata: exiftool -all= video.mov.

Pros: Unmatched for EXIF/GPS/timestamp data. Can edit and remove metadata. Cross-platform Perl tool that runs anywhere. The same engine many people use as an EXIF viewer for photos.

Cons: Weaker on deep codec/stream internals than MediaInfo or ffprobe. CLI-first. Tag names take getting used to.

macOS Get Info & QuickTime Inspector

For a quick look without installing anything, macOS has two built-in options. Select a video in Finder and press Cmd+I (Get Info) to see dimensions, codec, and duration. For more, open the clip in QuickTime Player and choose Window > Show Movie Inspector (Cmd+I) — it lists format, codec, resolution, frame rate, and data rate.

How to use it: Cmd+I in Finder, or Cmd+I inside QuickTime Player.

Pros: Zero install, already on every Mac. Fine for a fast codec-and-resolution check.

Cons: Shallow. No bitrate granularity, no audio-track detail, no GPS. QuickTime sometimes refuses formats it can't decode (like many MKV files).

Compresto for Mac

Most metadata extractors stop at telling you what's inside. The reason you're reading the bitrate and codec in the first place is usually to do something — and the most common something is making the file smaller. Compresto is a native Mac app that surfaces a clip's codec, bitrate, resolution, and format as you load it, then compresses or re-encodes it using hardware acceleration.

How to use it: Drop a video into Compresto. It reads the file and shows you the technical details, then lets you compress or convert — for example HEVC to H.264 for compatibility, or a high-bitrate H.264 export down to a sensible target size. Everything runs locally on your Mac.

Pros: Reads codec/bitrate info and acts on it in one app. VideoToolbox hardware acceleration makes re-encoding fast. Fully offline, files never leave your machine. Batch processing for whole folders.

Cons: It's a compression and conversion tool, not a dedicated forensic metadata editor — for deep EXIF/GPS forensics or tag rewriting, reach for ExifTool. Mac only.

If your end goal is to inspect and then act, this closes the loop. Pair it with a dedicated reader when you need exhaustive detail.

Extract Video Metadata Step by Step

Here's how to pull a full readout with each of the three command-line tools. Install whichever you need via Homebrew on Mac (brew install ffmpeg mediainfo exiftool) or your package manager on Windows/Linux.

1. Full technical breakdown with ffprobe. This is the most useful single command — clean JSON covering container and every stream:

ffprobe -v quiet -print_format json -show_format -show_streams video.mp4

Look at codec_name, bit_rate, width, height, and r_frame_rate in the output.

2. Human-readable report with MediaInfo. When you want something readable instead of JSON:

mediainfo video.mkv

You'll get neatly grouped General, Video, and Audio sections. Add --Output=JSON if you need to parse it programmatically.

3. EXIF, timestamps, and GPS with ExifTool. When you care about where and when a clip was made, and what shot it:

exiftool video.mov

Scan for GPS Position, Create Date, and Make/Model. If those fields exist and you plan to share the file publicly, strip them with exiftool -all= video.mov first.

A good habit: run ffprobe for the encoding specs, then exiftool for the descriptive layer. Between them you've read everything the file knows about itself.

Comparison Table

ToolBest forReads codec/bitrateReads GPS/EXIFEdits metadataRe-encodesPlatform
MediaInfoDeepest technical readoutYes (excellent)PartialNoNoMac/Win/Linux
ffprobeScripting & automationYes (excellent)PartialNoNo (use ffmpeg)Mac/Win/Linux
ExifToolEXIF, GPS, timestampsBasicYes (excellent)YesNoMac/Win/Linux
macOS Get Info / QuickTimeQuick built-in checkBasicNoNoNoMac only
ComprestoInspect + compressYesNoNoYes (HW accel)Mac only

Why Metadata Matters for Compression

Reading metadata isn't an academic exercise — it directly tells you how to shrink a file without wrecking it. Two readings drive almost every compression decision.

Bitrate tells you how much fat there is to trim. If ffprobe reports a 1080p clip running at 25 Mbps, that's roughly three times what 1080p needs for clean delivery. You can cut it to 8 Mbps and most viewers won't see a difference, but the file drops to a third of its size. Without reading the bitrate first, you're guessing, and guessing either leaves bloat on the table or crushes quality. The video bitrate guide covers how to pick a sensible target.

Codec tells you whether to re-encode at all. If the metadata shows old H.264, switching to HEVC or AV1 can halve the size at the same quality — see HEVC vs H.264 and AV1 vs H.265 for the trade-offs. If the clip is already efficient AV1, re-encoding it gains little and just adds a generation of quality loss. The metadata is what tells you which situation you're in.

This is the loop Compresto is built around: it reads the codec and bitrate, you see exactly what you're working with, and it re-encodes on your Mac with VideoToolbox hardware acceleration so the job finishes in seconds instead of minutes. Read the numbers, then act on them in the same place.

FAQ

What is the best free video metadata extractor?

For depth, MediaInfo is the most complete free reader — it surfaces more fields than anything else with a single drag. For automation and scripting, ffprobe (bundled with FFmpeg) is unbeatable. For EXIF, GPS, and timestamps, ExifTool wins. Many people keep all three installed since they cover different layers.

How do I see the codec and bitrate of a video?

The fastest reliable command is ffprobe -v quiet -print_format json -show_format -show_streams video.mp4, then read the codec_name and bit_rate fields. On a Mac with no installs, open the clip in QuickTime Player and press Cmd+I to see codec, resolution, and data rate, though it omits fine-grained bitrate detail.

Does video metadata include GPS location?

Often, yes. Phones, action cameras, and drones routinely embed latitude and longitude in the file's QuickTime or EXIF tags. Run exiftool video.mov and look for a GPS Position field. If it's there and you plan to share the video, strip it with exiftool -all= video.mov before publishing.

Can I extract metadata without uploading my video anywhere?

Yes, and you should prefer to. Command-line tools (ffprobe, MediaInfo, ExifTool) and native apps like Compresto run entirely on your machine — nothing leaves your computer. Browser tools that use WebAssembly also process locally, but always confirm a tool isn't uploading before feeding it private footage.

Is a video metadata extractor different from a regular metadata viewer?

They overlap. A general metadata extractor or metadata viewer app handles many file types, while a video-focused extractor goes deeper on streams — per-track codec, frame rate, color space. For documents you'd reach for a PDF metadata viewer instead; for photos, an EXIF viewer. The underlying engines (like ExifTool) are often shared across all of them.

Bottom Line

A video metadata extractor turns an opaque file into a readable spec sheet: container, codec, bitrate, resolution, frame rate, audio tracks, and the EXIF and GPS data your camera quietly stamped in. Pick the tool by what you need — MediaInfo for the deepest technical readout, ffprobe for scripting, ExifTool for EXIF, GPS, and stripping privacy data, or the built-in macOS tools for a quick glance.

But reading the metadata is usually step one. The reason you checked the bitrate and codec is to make the file smaller, more compatible, or both. That's where Compresto fits: it shows you the codec and bitrate, then compresses and re-encodes on your Mac with hardware acceleration, fully offline. Read the numbers, then put them to work — there's a free trial if you want to try it on your own footage.

Sources: Probe.video, OpenMediaTools, ExifTool forum, Stellar — Fixing Photo and Video Metadata with ExifTool.

Ready to compress your files? Join thousands of creators using Compresto ⚡