MP4 Metadata: How to View, Edit and Remove It Safely

November 08, 2026 · MP4.now Editorial · MP4 Essentials

Understand which MP4 metadata is useful, sensitive or required for correct rendering.

MP4 Metadata: How to View, Edit and Remove It Safely

MP4 files carry data beyond video and audio streams inside the moov (movie) atom and its sub-atoms. This metadata controls playback behavior, describes content, and can expose private information. Understanding which metadata is essential for correct rendering, which is useful for organization, and which is a privacy liability matters for anyone handling MP4 files.

Metadata Layers Inside the moov Box

The primary storage location for MP4 metadata is the Movie Box (moov), defined in the ISO Base Media File Format standard (ISO/IEC 14496-12) and documented by the Library of Congress in FDD000155. Within moov, several child atoms hold distinct categories of data.

mvhd (Movie Header Box): Stores global parameters including timescale, duration, and creation/modification timestamps. This atom is required for correct rendering. Stripping it produces an unplayable file.

tkhd (Track Header Box): Per-track information for video, audio, and subtitle streams, including track ID, width, height, and language. Also required for correct rendering.

udta (User Data Box): The primary target for metadata editing. Custom metadata lives here, including:

  • ©nam (Track Title)
  • ©ART (Artist)
  • ©alb (Album)
  • ©day (Year)
  • ©gen (Genre)
  • ©too (Encoding Tool/Software)
  • ©cmt (Comment)
  • ©des (Description)
  • ©cpy (Copyright)
  • Custom tags such as embedded XMP metadata or ID3 tags

meta (Metadata Box): Contains a hdlr (Handler Reference Box) and an ilst (Item List Box) for iTunes-style tags, operating as a parallel metadata system to udta.

Decision boundary: mvhd and tkhd atoms are structural and required. The udta and meta atoms are safe to remove entirely without affecting playback, provided the structural atoms that reference them remain intact.

Useful vs. Sensitive Metadata

Category Example Tags Purpose Sensitivity
Structural (Required) mvhd, tkhd, stbl, mdat Playback, timing, decoding None — do not remove
Descriptive (Useful) ©nam, ©ART, ©alb, ©day Library organization, search Low — safe to share
Provenance (Sensitive) ©too, ©cmt, embedded GPS data (rare but possible in udta), custom app-specific tags Reveals encoding software, internal project names, file history High — can identify you, your workflow, or your organization
Platform-specific iTunes ©grp (Grouping), ©wrk (Work) Specific app sorting Low — unnecessary for general distribution

Active data risk: The ©too tag, set by encoding software such as OBS Studio, FFmpeg, or Adobe Premiere, often contains the exact version and build string. Examples include "FFmpeg 6.1.1-tessus 2023-11-20" or "Lavf58.76.100". Removing this tag before distributing a file is a basic privacy step.

Viewing Metadata: Tools and Commands

FFprobe (FFmpeg suite)

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

Outputs all atoms in the format.tags object and per-stream tags, including creation_time, encoder, and any © tags.

Validation check: If format.tags is empty or contains only major_brand, minor_version, and compatible_brands, no user-editable metadata exists in the file.

AtomicParsley (Cross-platform CLI)

AtomicParsley input.mp4 -t

Lists all metadata atoms by their four-character code. This provides the most accurate view of raw atom structure.

Validation check: A file with no user metadata produces output containing only structural atoms. Any line containing udta, meta, or © indicates editable metadata remains.

exiftool (Perl-based)

exiftool -a -G1 input.mp4

Shows the entire metadata tree, including embedded XMP, ID3, and GPS data. The -a flag shows duplicate tags; -G1 shows group names such as QuickTime:©too.

Hard limit: exiftool cannot modify atoms inside the moov box of fragmented MP4 files without breaking the fragment structure.

MediaInfo (GUI and CLI)

mediainfo --Output=JSON input.mp4

Provides a human-readable summary. Less raw than AtomicParsley but sufficient for quick inspection.

Editing Metadata Without Breaking Playback

Adding or Modifying Tags with FFmpeg

FFmpeg remuxes streams without re-encoding and only touches the udta box:

ffmpeg -i input.mp4 -map 0 -c copy -metadata title="My New Title" -metadata artist="Artist Name" -metadata date="2024" output.mp4

This replaces existing values for the specified keys. It does not clear other pre-existing tags in udta.

Precise Atom Control with AtomicParsley

AtomicParsley input.mp4 --overWrite --title "New Title" --artist "Artist Name" --year "2024"

This adds or overwrites specific atoms without touching other udta content. The --overWrite flag modifies the file in place.

Replacing the ©too Tag

ffmpeg -i input.mp4 -map 0 -c copy -metadata encoder=" " output.mp4

Setting the encoder to a space or a generic string replaces the sensitive version string. An empty string ("") may leave the atom present but blank; a single space ensures the atom contains a non-identifying value.

Removing Metadata: Stripping udta and meta Boxes

Complete Strip

ffmpeg -i input.mp4 -map_metadata -1 -map 0 -c copy output.mp4
  • -map_metadata -1: Discards all metadata from the input.
  • -map 0: Copies all streams (video, audio, subtitle, data) from the input.
  • -c copy: Stream copies without re-encoding.

What this removes: All udta and meta box content, including ©nam, ©ART, ©too, ©cmt, iTunes tags, XMP data, and custom application tags.

What this preserves: mvhd, tkhd, stbl, mdat, and all structural atoms needed for playback.

Selective Tag Removal

ffmpeg -i input.mp4 -map 0 -c copy -metadata title="" -metadata encoder="" -metadata comment="" output.mp4

This clears only ©nam, ©too, and ©cmt, leaving other tags intact.

Verification After Stripping

Run FFprobe against the output file:

ffprobe -v quiet -print_format json -show_format output.mp4 | jq '.format.tags'

If the output is null or shows only structural tags (major_brand, minor_version, compatible_brands), the strip succeeded.

For deeper inspection, use AtomicParsley:

AtomicParsley output.mp4 -t | grep -E "udta|meta|©"

No output means all user metadata was removed.

When Metadata Cannot Be Removed Safely

Embedded cover art: Some MP4 files store cover art in a separate vide track containing a single still image. Stripping metadata does not remove this track. Remove it explicitly with -map -0:v:1 (if it is the second video stream) or re-encode without it. Verify track count with ffprobe -show_streams input.mp4 | grep codec_type before removal.

Gapless playback metadata: iTunes iTunNORM and iTunSMPB atoms live in udta. Removing them breaks gapless playback on Apple devices. If gapless playback is required, preserve udta or re-add these atoms after stripping using AtomicParsley with the appropriate reverse-DNS atom identifiers.

Fragmented MP4 (fMP4): Streaming-optimized files store metadata in the initial segment. Stripping requires re-muxing the entire file, which may break the fragment structure. Verify fragmentation with ffprobe -v error -show_entries format=format_name input.mp4 — output containing mov,mp4,m4a,3gp,3g2,mj2 without fragmented indicates a standard MP4 safe for metadata operations.