PrimeCam

metadata sidecar

Why Professional Editors Need Video Metadata Sidecars: A New Standard for Android Cinematography

Learn how JSON sidecar files turn an Android clip into a self-describing asset, and what an editor can do with measured frame rate, colour tags and lens data that never fit inside the container.

An Android smartphone video file metadata sidecar provides editors with an external, human-readable record of camera settings, lens optics, and sensor telemetry that MP4 and QuickTime containers fail to store reliably. When working with mobile captures on professional timelines, relying solely on container tags leads to conform errors, colour mismatches, and lost production notes. Adopting a structured Android smartphone video file metadata sidecar bridges the gap between mobile camera hardware and non-linear editing systems, giving post-production teams the exact technical parameters recorded at the instant of capture.

What an Android smartphone video file metadata sidecar actually is

A video metadata sidecar is an independent text or structured data document that shares the identical base filename of a recorded media asset and sits in the same directory. If a camera writes CLIP_0042.mov, the corresponding sidecar is written simultaneously as CLIP_0042.json. The file exists to hold operational, optical, and hardware-level metadata that mobile media frameworks drop, corrupt, or lack standardized fields to store.

Choosing JSON metadata for video production offers practical advantages over binary sidecars or proprietary database blobs. As defined in the IETF RFC 8259 JSON specification, JSON is a text-based, UTF-8 encoded format designed for portable data interchange. A post-production assistant can inspect clip parameters in a basic terminal window, an editor can parse the file using standard Python scripts, and modern non-linear editing (NLE) environments or asset management tools can ingest it natively without reverse-engineering a binary structure. Because JSON is structured as key-value pairs, objects, and arrays, schemas can introduce new hardware metrics over time without invalidating older parsing scripts.

To understand the role of video file sidecar files, consider the three distinct locations where digital video metadata typically resides:

  • Container atoms located inside the QuickTime or MP4 file header (such as moov, trak, mdia, and the colr parameter within the video sample description) survive file renaming. Transcode utilities or editing apps often strip or rewrite them during pass-through exports.
  • System databases, such as Android MediaStore or gallery caches, preserve arbitrary tags locally on the handset, but nothing leaves the device when copying media across a raw file system or external drive.
  • Sidecar files sitting beside the media on the storage volume survive file transfers across file systems, direct card copies, and storage area network migrations without relying on the original recording software.

The primary benefit of a sidecar is persistence across platforms. When offloading media via a card reader, USB connection, or local network share, the sidecar travels beside the video asset as an autonomous record. The tradeoff is physical separation: because the sidecar is a distinct entity on the disk, batch renaming tools, careless folder reorganizations, or media-only drag-and-drop actions can orphan the metadata file, severing the link between the footage and its technical history.

Why embedded metadata is not enough for mobile footage

Mobile operating systems prioritize consumer capture features over archival workflows. According to the Android MediaMuxer documentation, the class muxes elementary video, audio, and metadata streams into container formats such as MP4, WebM, and 3GP. Nuanced production variables selected by a cinematographer are discarded because standard container specifications contain no designated storage locations for them.

Certain parameters must remain embedded inside the file wrapper. Colour interpretation tags are the clearest example: non-linear editors evaluate the sample entry box and color atoms on import to determine how pixels map to the display. According to the technical specifications documented in the ExifTool QuickTime tag repository, QuickTime containers support dedicated parameters for video colour primaries, transfer characteristics, and matrix coefficients. If an editor imports a wide-gamut clip lacking an embedded colr atom, the software falls back to standard definition or Rec. 709 assumptions, producing a washed-out or heavily clipped image. For this reason, core image interpretation belongs inside the container atom structure, as detailed in our guide to Android smartphone video file structure for editors.

Beyond baseline colour tags, critical craft parameters lack standardized container locations. Modern mobile cinematography involves hardware choices that QuickTime specification tables did not anticipate:

  • Physical lens rail selections, including specific ultrawide, wide, or folded periscope telephoto optical modules.
  • Algorithmic focus states, such as active subject-tracking rungs locking to eyes, faces, or torsos.
  • Hardware-level measured frame rate variations caused by thermal throttle limits or maximum sensor readout integration times.
  • Sensor crop profiles, digital stabilization margins, and exact millimetre focal length equivalents.

This reality dictates a split rule for mobile production: interpretation-critical data needed by the video decoder must be embedded directly within the container, while provenance, hardware metrics, and craft decisions belong in an external JSON metadata sidecar. Editors who assume that every operational variable can be queried from the media container end up spending valuable post-production hours diagnosing sync slips, guessing focal lengths, and matching exposure curves by eye.

What JSON metadata for video should carry: a field-by-field checklist

A production-ready sidecar file must provide comprehensive context for assistant editors, lead colourists, and archival conform conformists. Below is a structured checklist outlining the mandatory data categories an Android video metadata workflow requires.

{
  "$schema": "https://primecam.app/schemas/video-sidecar/v1.json",
  "identity": {
    "clipName": "CLIP_20261026_001.mov",
    "takeName": "SCENE_4_TAKE_01",
    "partIndex": 1,
    "totalParts": 1,
    "spanned": false,
    "deviceManufacturer": "Google",
    "deviceModel": "Pixel 10 Pro",
    "softwareVersion": "PrimeCam 0.1.0",
    "timestampUtc": "2026-10-26T14:32:08.412Z",
    "localTimezoneOffset": "-04:00"
  },
  "format": {
    "codec": "hevc",
    "sampleEntry": "hvc1",
    "bitDepth": 10,
    "width": 3840,
    "height": 2160,
    "colorSpace": {
      "primaries": "Rec.2020",
      "transferFunction": "HLG",
      "matrixCoefficients": "Rec.2020 non-constant luminance"
    },
    "nominalFps": 24.0,
    "measuredFps": null
  },
  "optics": {
    "lensRailSelection": "24mm wide",
    "focalLengthMm": 6.9,
    "focalLength35mmEquivalent": 24.0,
    "cropFactor": 3.48,
    "apertureFNumber": 1.68
  },
  "craft": {
    "iso": 100,
    "shutterSpeedNumerator": 1,
    "shutterSpeedDenominator": 48,
    "whiteBalanceKelvin": 5600,
    "tint": 0,
    "focusMode": "subject_tracking",
    "trackingRung": "EYE",
    "operatorNotes": "A-camera master, talent seated"
  }
}

The schema covers four operational categories:

1. Asset identity

This group records the file's lineage. It connects the media file to slate information, including scene, setup, and take designators. When long takes are broken into segmented files to protect storage pipelines, identity parameters specify part numbers and sequence indices. Knowing the exact operating system build, application version, and microsecond-level UTC capture timestamp allows multi-angle synchronization scripts to calculate spatial and temporal alignments automatically.

2. Container and encoding format

Format metadata documents the video signal's encoding structure. It specifies whether the HEVC bitstream utilizes an hvc1 or hev1 sample description box, the pixel dimensions, the bit depth, and the colour primaries. It also manages frame rate reality. In professional workflows, requested frame rates are targets, subject to hardware load.

The measuredFps field establishes clear logic for post-production software: it evaluates to null when the take maintained its rate close to nominal, and outputs an explicit floating-point value whenever thermal constraints or sensor readouts dragged performance below spec. Editors parsing this field can automatically flag drifted takes before dropping them onto a sequence.

3. Optical configuration

Mobile devices use separate physical lenses on a fixed array. The optics block records the exact rail module active during the take, whether it is an ultra-wide module, a primary wide sensor, or a folded telephoto lens. Preserving actual focal lengths, 35mm-equivalent fields of view, and native optical crop factors ensures visual effects supervisors and matchmove artists have access to undistorted lens geometry data.

4. Cinematographic craft parameters

The craft block logs variable camera settings chosen on set. It tracks sensor sensitivity (ISO), manual shutter angle or speed, calibrated white balance Kelvin, and algorithmic focus states. If an intelligent autofocus system locks to a target, this block logs the active rung, such as EYE, FACE, BODY, or NO SUBJECT, providing a factual record of optical performance throughout the shot.

How a sidecar changes the edit: conform, sync and grade

Integrating video file sidecar files directly into post-production removes ambiguity across three core editorial phases: sequence conforming, multicam synchronization, and primary colour correction.

Conforming without frame-drop surprises

Variations in mobile frame rates remain a frequent source of editorial frustration. Handset operating systems prioritize battery thermals and processing budgets. If ambient temperatures climb during a take or an automatic exposure algorithm expands the shutter duration across the boundary of a frame interval, the hardware sensor cannot read out data in time. The resulting file drops frames or registers an erratic average rate.

When media is dropped into an NLE without prior analysis, small frame drops cause subtle audio drift that becomes noticeable several minutes into an interview. Editors can resolve this issue by following steps to conform mobile footage in Final Cut Pro, using the sidecar's measuredFps field to spot deviations immediately. If the field is null, the clip drops cleanly onto a standard 24.000 fps timeline. If it carries an active measurement (such as 23.94 fps), an assistant editor knows to perform an optical-flow conform or apply an audio pull-down before cutting sync dialogue.

Multicam alignment and clip selection

Timecode tracks generated across consumer operating systems can drift without dedicated hardware synchronization boxes. Sidecars supply an alternative timeline anchor through microsecond-accurate UTC start and stop stamps. A Python ingest script can evaluate all JSON sidecars across three camera angles, match scene and take tags, read temporal timestamps, and generate a pre-aligned multicam clip container ready for editorial review.

Sidecars also streamline footage review. An assistant editor working with hundreds of takes across an intensive production day can query the JSON data to filter clips before opening video decoders. A shell script can parse the directory, flag shots where the focus rung stayed stuck on NO SUBJECT during an interview, or highlight takes where the shutter speed dropped below a 180-degree exposure angle. The editorial team reviews valid assets first, avoiding dead takes.

Streamlining the initial colour grade

Modern colour-managed workflows require precise identification of transfer characteristics and camera sensor spaces. While cinema cameras embed extensive metadata inside proprietary raw wrappers, mobile HEVC clips often force colourists to guess source transforms. Using our documented Android video color grading HLG workflow, a colourist inspects the sidecar to confirm the exact transfer curve, target gamut, and physical lens position. Identifying whether a shot was captured on an ultra-wide or telephoto module allows the colourist to apply customized lens correction matrices and chromatic aberration profiles in the initial node tree.

Consider an interview setup involving two primary cinema cameras and an Android phone covering a tight third angle. The primary cameras maintain timecode sync, but the mobile device must be matched manually. If the mobile angle drops to 23.92 fps over a twenty-minute take, it drifts out of sync by dozens of frames. Without a sidecar, the editor assumes an audio sample rate error and spends time re-exporting scratch audio. With an Android smartphone video file metadata sidecar, the editor reads the measuredFps flag instantly, applies a single timing compensation, and aligns the angle on the first pass.

Building an Android video metadata workflow that survives the card transfer

A metadata pipeline works only if the external sidecar files stay attached to their primary media files throughout the data management cycle. To maintain an unbroken Android video metadata workflow from device storage to timeline ingest, follow these operational procedures:

  1. Transfer complete directory trees without cherry-picking media files out of their recording folder. Use automated copy tools or disk-cloning utilities that ingest the entire parent folder, ensuring all .json sibling files transfer alongside their companion .mov files.
  2. Verify pairing using checksums before formatting capture storage. Run a script to verify that every video container matches an adjacent sidecar of the identical basename. Calculate SHA-256 checksums across both assets to confirm no truncation occurred during the offload.
  3. Preserve flat sidecar pairings inside project directories. Moving JSON sidecars into a distant metadata folder leads to linking errors during project archiving. Keep them beside the original media inside the primary rushes structure (for example, /Project_A/Rushes/Day_01/Cam_C/).
  4. Promote essential values into project databases. Use NLE asset management tools or ingest scripts to read the JSON schema and map its values into clip commentary tracks, shot fields, and reel columns inside the project file. This ensures searchability inside the editing software while keeping the original sidecar intact on disk.
  5. Archive sidecars in long-term storage alongside the video assets. Five years after production, an editor or visual effects artist revisiting the archive will rely on that sidecar as the surviving record of camera models, lens equivalents, and exposure configurations.

The most common failure in mobile file management occurs when technicians rename files in the field. Renaming CLIP_001.mov to SCENE_1_TAKE_1.mov while leaving CLIP_001.json intact breaks the basename association. Downstream scripts will fail to match the data. If renaming is necessary, use batch processing tools that rename both matching extensions concurrently, or defer asset renaming until files are cataloged inside the editing application.

Sidecar, embedded tag or database: choosing where a fact belongs

Modern mobile video capture systems deal with dozens of hardware variables per frame. Deciding where each variable belongs requires evaluating how client applications access and interpret that data. The table below outlines clear boundaries for post-production routing:

Data parameter Correct storage layer Primary consumer Failure risk if misplaced
Colour space & transfer function Embedded container atom (colr) NLE video decoder / image pipeline Incorrect gamma mapping, clipping, incorrect saturation
Codec & sample entry (e.g. hvc1) Embedded sample description (stsd) Hardware media framework Decoder rejects file or falls back to software rendering
Measured frame rate deviations JSON metadata sidecar Assistant editor / conform scripts Gradual audio drift across long timeline takes
Lens rail identity & focal equivalents JSON metadata sidecar VFX artists, colourists, archival team Guesswork required for optical correction models
Active autofocus tracking rung JSON metadata sidecar Editorial team reviewing take usability Time lost screening soft takes manually
In-app playback cache & thumbnails Internal application database Mobile camera user interface None to post-production (data is transient)

Duplicating certain facts across multiple locations is practical when metadata feeds distinct systems. Colour profiles and target frame rates should exist inside the container atoms so media decoders read them instantly, but recording those same parameters inside the JSON sidecar allows automated pipeline scripts to parse technical specifications without spawning an FFmpeg or ExifTool process to scan deep video headers.

Subjective production data like operator notes, focus states, and scene tags should not be forced into non-standard binary atoms inside the video wrapper. Inserting custom atoms into QuickTime containers risks file corruption if an operating system updates its media multiplexer. JSON provides an open canvas that adapts without breaking standard player decoders.

Interoperability depends on schema documentation. A camera application that writes JSON files using unversioned, undocumented structures forces post-production teams to maintain custom reverse-engineered scrapers. When evaluating production software for mobile workflows, verify whether the software provider publishes an explicit, versioned schema with defined data types, and check that software updates maintain backwards compatibility with existing ingest scripts.

Where PrimeCam's sidecar fits, and what it does not solve

PrimeCam approaches mobile video capture by maintaining a clean separation between container-level video signals and external operational metadata. PrimeCam writes HEVC Main 10 in a .mov file with the hvc1 sample entry and a full Rec. 2020 HLG colour tag, which Final Cut Pro reads natively. Because interpretation tags are written directly into standard container atoms, editors open clips in Final Cut Pro without transcoding or applying manual color adjustments.

The companion JSON sidecar supplements the container by documenting production variables that QuickTime headers do not track. It carries the asset's take identification, the physical lens rail selection (such as the 13mm ultrawide, 24mm wide, or 104mm 5x telephoto optical options), and the exact state of the autofocus system. Subject detection runs on models bundled inside the app, not on a server, and names the rung it is holding—EYE, FACE, BODY, or NO SUBJECT. Logging this rung directly to the sidecar gives post-production teams a concrete record of autofocus performance throughout each setup.

The sidecar also provides real-world performance logging. PrimeCam targets 24 fps, and says so rather than assuming it. A take can come in marginally under nominal (auto exposure opening the shutter to the whole frame period leaves the sensor no time to read one out), so the app reports the rate it actually achieved in three places: the strip switches to the measured rate in warning colour while the take is rolling, the take card reads "23.92 fps measured, not 24.000", and the JSON sidecar carries measuredFps beside the requested fps. measuredFps is null when the take held its rate close to nominal and a number when it did not, so an editor conforming a timeline can tell the two cases apart.

While structured metadata improves editorial workflow, a sidecar file cannot fix physical recording issues. A sidecar documents camera errors; it does not eliminate them. PrimeCam 0.1.0 is an early build and nothing irreplaceable should be shot on it yet. If an operator misjudges manual exposure, the sidecar logs the chosen shutter speed and ISO, but it cannot restore dynamic range lost to clipped highlights. A structured JSON sidecar provides a transparent view of the take's parameters, giving post-production teams the technical context needed to work efficiently.

For operations requiring spanned files during long recording sessions, data durability is managed at the storage layer. A take is written as a spanned clip: numbered parts of a few seconds each, each one finished as it is written. If the app stops unexpectedly the last few seconds are lost rather than the whole take, and the parts carry the take's name and import as one clip. That is a floor on what a crash costs, not a promise that nothing is lost: PrimeCam 0.1.0 is an early build and nothing irreplaceable should be shot on it yet. You can read more about file safety in our overview of Android smartphone video spanned clip workflows.

Common mistakes and how to avoid them

Integrating video sidecars into mobile capture setups can reveal unexpected pipeline vulnerabilities. Post-production teams frequently encounter these specific operational mistakes:

  • Deleting sidecar files during storage cleanup: Operators unfamiliar with metadata workflows often view .json documents as temporary caches and delete them to save disk space. A JSON file rarely exceeds 10 kilobytes. Keep sidecars linked to their sibling media files through all stages of production.
  • Expecting sidecars to correct missing container tags: If a video file was recorded with an incorrect or missing colour matrix tag, modifying the transfer curve entry inside the JSON sidecar will not fix the image in standard NLEs. Video decoders evaluate the binary container's internal atoms to determine initial colour transforms. The sidecar acts as an informational guide, not an override for the media decoder.
  • Failing to preserve directory structures during offload: Pulling only .mov files into an ingest drive leaves the .json files behind on phone storage. Automated ingest scripts fail when the sidecar is absent, forcing assistants to inspect camera settings manually.

Frequently asked questions

What is an Android smartphone video file metadata sidecar?

It is an external text document, typically in JSON format, stored beside a recorded video file using the identical base filename. It logs capture parameters, physical lens details, measured frame rates, and autofocus data that standard MP4 or QuickTime containers omit.

Why are video metadata sidecars necessary instead of embedding all metadata in the video container?

Mobile multiplexers such as Android MediaMuxer discard specialized production metadata because standard container boxes lack fields for lens rail choices or autofocus tracking states. While decoder-critical tags like colour primaries belong in container atoms, craft parameters and sensor telemetry remain intact when written to an external JSON sidecar.

Does an Android video metadata sidecar require an internet connection to generate?

No. In PrimeCam, metadata sidecars are generated entirely on device at the time of capture. PrimeCam does not request Android INTERNET permission. Recording and subject detection run locally, with no PrimeCam account, analytics SDK or cloud sync.

How do editing applications read JSON sidecars?

Editors and assistant editors use Python scripts, shell utilities, or custom asset management plugins to read JSON keys and map them into bin columns or shot metadata. Because JSON is UTF-8 text, files can also be inspected directly in any text editor.

Can a JSON sidecar fix out-of-sync audio or dropped frames automatically?

A sidecar does not alter the video stream or repair corrupted frames. It records the measured frame rate alongside the requested rate, allowing post-production teams to identify frame rate deviations immediately and apply optical-flow or pull-down conforms before editing sync sound.

metadata sidecarJSON metadataAndroid video workflowFinal Cut Pro10-bit HEVCpost-production