Video Metadata Basics: ExifTool, QuickTime Atoms, and Technical Streams
Beneath the visible pixels and audible sound waves of every digital video lies a treasure trove of invisible structured data: metadata. From camera sensor models and GPS coordinates to encoding profiles, color matrix specifications, and creation timestamps, metadata tells the technical backstory of a media asset.
Whether you are verifying the forensic authenticity of an eyewitness clip or troubleshooting playback problems, knowing how to inspect and interpret video metadata is an essential skill.
1. What Is Video Metadata?
Video metadata falls into three primary categories:
- Descriptive Metadata: Title, author handle, event description, and copyright licensing tags.
- Technical Stream Metadata: Codec identifier (e.g., avc1), pixel resolution, bitrate, display aspect ratio, frame rate, and audio channel count.
- Administrative & Device Metadata: Device serial numbers, smartphone camera make/model, firmware version, and creation timestamps.
2. The MP4 Atom Hierarchy (moov, mvhd, trak)
MP4 files are structured as a tree of nested binary chunks known as atoms or boxes. The most critical atom is the moov (movie) atom, which contains the structural index of the video:
mvhd(Movie Header): Contains timescale, duration, and matrix display rotation flags.trak(Track): Discrete containers holding the individual video (vide) and audio (soun) elementary streams.mdat(Media Data): The massive payload box holding the actual compressed audio/video frames.
3. Stream-Level Technical Metadata
Modern video decoders read stream headers to calibrate hardware rendering: color space (BT.709 vs. BT.2020), transfer characteristics, chroma subsampling (e.g., 4:2:0 vs. 4:2:2), and audio sample rates (44.1 kHz vs. 48 kHz).
4. Essential Inspection Tools: ExifTool & ffprobe
Inspect metadata using the two industry-standard command-line tools:
# Inspect technical streams with ffprobe:
ffprobe -v quiet -print_format json -show_format -show_streams video.mp4
# Extract all Exif and QuickTime tags with ExifTool:
exiftool video.mp4
5. Scrubbing Sensitive GPS & Device Metadata
Before sharing videos publicly, scrub sensitive metadata that could expose your personal safety. Social platforms (like X) automatically scrub EXIF metadata upon upload to protect user privacy, which is why social media downloads rarely contain camera GPS coordinates.
Frequently Asked Questions
Can I find the exact GPS coordinates of a video downloaded from X?
No. Major social media platforms intentionally strip camera EXIF and geolocation metadata during server-side processing to protect users against stalking and doxing.
What is faststart in MP4 metadata?
The "faststart" flag moves the "moov" index atom from the end of the file to the very beginning, allowing web browsers to start playing the video immediately before the entire file finishes downloading.