Independent product studio · Swedenhello@karelialabs.com

Guide

Hidden data in MP4 and MOV videos: a reference

Short answerMP4, MOV, M4V and 3GP files are trees of boxes, which QuickTime calls atoms. Boxes and extra tracks can hold the filming position, device, recording times, software, GPS routes, Content Credentials and AI prompts. The table lists each item and where it sits.

Updated

Box names have four characters; © is the byte A9 that starts QuickTime text boxes. Rows follow what the PureVideo engine reads and its test files plant.

ItemWhere it sitsWhat it can reveal
GPS position: ©xyzQuickTime text box in moov/udtaWhere the video was filmed, as ISO 6709 coordinates
GPS position: com.apple.quicktime.location.ISO6709meta box with keys and ilst (handler mdta), in moov or moov/udtaPosition and altitude; keys beside it add accuracy, place name and facing direction
GPS position: loci, locationloci box in udta (3GPP); location key in FFmpeg-style tagsLatitude, longitude and altitude
Make and model©mak, ©mod; com.apple.quicktime.make and .model; com.android.manufacturer and .modelThe phone or camera
Software and encoder©swr, ©too, ©enc, com.apple.quicktime.software, encoder; hdlr names; vendor and compressor names in sample entriesThe app, system version and converting program
Recording and edit timesmvhd, tkhd, mdhd; com.apple.quicktime.creationdate, ©day, ©ed1 to ©ed9, creation_time; the timecode trackWhen the video was recorded and edited
Lens and cameracom.apple.quicktime.camera.lens_model, camera.identifier, focal_length.35mm_equivalent; com.android.capture.fpsLens, which camera of the phone, focal length, frame rate
Live Photo and face datacontent.identifier and live-photo keys; detected-face in a mebx timed metadata trackWhich photo a clip belongs to; where faces are in the frames
GoPro telemetrygpmd track samples in mdat; GPMF, FIRM, CAME and LENS boxes in udtaGPS route, sensor data, firmware, camera ID
Drone and camera tracksdjmd (DJI), rtmd (Sony), camm (camera motion) tracks; GPS in tx3g subtitlesFlight path, altitude, lens data, position over time
Maker boxesudta boxes from Samsung (smta), Canon (CNTH, CMT1 to CMT4), Nikon (NCDT), Panasonic (PANA) and others; Sony uuid boxesCamera settings, EXIF copies, thumbnails, Canon GPS
C2PA (Content Credentials)uuid box d8fec3d6-1b0e-483c-9297-5828877ec481The signer, the tool that made the claim, any "made with AI" statement
XMPuuid box be7acfcb-97a9-42e8-9c71-999491e3afac; XMP_ box in udtaEditing app, edit history, creator, camera, GPS, file paths, AI label (digital source type)
AI prompts and workflowsText fields such as comment or description; prompt and workflow keysThe prompt, generation settings or a ComfyUI workflow
Titles, comments, authors, cover©nam, ©cmt, ©aut, ©ART, ©key, covr and similarText and pictures the author or an app added
Data after the last boxEnd of the file, such as Insta360 and Samsung trailersCamera data stored after the video

©xyz and the ISO6709 key

©xyz is a QuickTime text box in the user data (udta). com.apple.quicktime.location.ISO6709 is a key in a QuickTime meta box, where a keys box names the keys and an ilst box holds the values. Both hold a string such as +59.3293+018.0686+012.000/: latitude, longitude, optional altitude.

Telemetry tracks from action cameras and drones

An action camera or a drone can record a whole route. GoPro writes GPMF data in a gpmd track, DJI uses djmd, Sony rtmd, and some drones write GPS as subtitle text. These tracks sit beside the video and audio, with samples in mdat, so removing the tags in udta leaves them in place. PureVideo overwrites those samples with zeros.

C2PA, XMP and AI prompts

C2PA manifests (Content Credentials) and XMP packets sit in uuid boxes with fixed IDs. A C2PA claim can name the signer and the tool, and can state that the video was made with AI. Some AI video tools store the prompt or a workflow in a text field. Watermarks woven into the pixels, such as SynthID, are not metadata and stay.

How to look at this in your own file

PureVideo opens MP4, MOV, M4V and 3GP files offline in your browser, lists every item it finds on a receipt and overwrites each metadata box in place in a new copy, so video and sound stay byte for byte the same. A switch keeps the recording date. MKV, WebM, AVI, MTS and WMV are not covered.

FAQ

Where do iPhone videos keep the GPS position?

In a QuickTime meta box, under com.apple.quicktime.location.ISO6709, with keys for accuracy and place name beside it.

Does removing metadata mean re-encoding the video?

No. A metadata box can be overwritten in place with a free box of the same size, so chunk offsets stay valid and the samples are untouched. PureVideo works this way.

What stays in a cleaned file?

What a player needs: rotation, 360° video info, chapter titles, subtitles. The ftyp brand, track language codes and encoder settings in the bitstream also stay.

More guides

More from Karelia Labs