Skip to content

MAM – Media Asset Management

Portfolio

MAM: Media Asset Management

Stop digging through folders. MAM turns every photo, video and audio file a business owns into one searchable, AI-readable catalog, so the right clip, the right spoken line or the right shot is found in seconds, by a person or by an assistant. It saves hours of hunting on every project, and it is built so AI can come in and pull exactly the information it needs.

Find in seconds Built for AI agents Transcripts, tags, OCR Originals never touched In production
The MAM catalog shown on a desktop browser and on a phone
The catalog on desktop and phone. Real screens from the running system, with identifying details removed.

Where the time goes, and where it comes back

In a busy media operation, a surprising share of every project is spent not creating but looking. Which folder was that in? Which take had the line about the estimate? Is this the current version? Can we use it? Every one of those questions used to mean opening files, scrubbing video and asking around. MAM answers them in one place, and it keeps the answers current without anyone typing them in.

Find

Search what was said

Every video and recording is transcribed with timestamps. Search a phrase and land on the exact moment, not just the file.

See

Search what is on screen

Visual labels for objects and colours, plus text read from the picture, make footage findable by what it shows: a truck, a ladder, something blue.

Preview

Check before you open

Thumbnails and lightweight playable proxies mean you judge a clip in a second, without pulling a multi-gigabyte original across the network.

Reuse

Stop duplicating work

Identical content is recognised even when it lives in several folders, and near-identical files are grouped, so the same shot is not found, edited and filed twice.

Trust

Know what is usable

Each asset carries a permitted-use value, computed conservatively, so nobody has to guess whether a clip is cleared before it ships.

Hand off

Straight into the edit

A selected asset hands off as a path and a time range, ready for an editor or an automation, with the use recorded.

Abstract illustration of a vast grid of media tiles with a search beam picking out one
Illustration: one beam, one right answer, out of thousands of files.

The scale it was built for. The archive it indexes holds more than 17,000 files and roughly 4.6 TB of footage, photos, music and recordings. At last count more than 5,800 recordings and videos already had full timestamped transcripts, and the catalog keeps growing without anyone feeding it by hand.

Built for AI to pull from

MAM has two kinds of users. People get a fast, clean browser app. AI assistants and automations get something different and just as important: a documented JSON API, a plain-language agent guide and a ready-made tool adapter, all designed so a machine can ask a question and get a precise, structured, trustworthy answer.

  • One API for everything. Assets, locations, thumbnails and proxies, transcripts, on-screen text, visual labels, rights, collections and duplicate groups are all plain JSON endpoints with filters, sorting and paging.
  • Search an agent can use. A phrase search over spoken words, a visual search over objects and colours with a published vocabulary, and filters by media type, folder, date, status and collection.
  • An agent guide, not just docs. A single document tells an AI session how to connect, which calls are safe, how to read coverage, how to report, and the hard rules it must never break.
  • Tool adapter. A small Model Context Protocol server exposes the catalog as read-only tools, so any compatible assistant can search and inspect assets without custom glue.
  • Honest answers. If nothing has been analysed yet, the API says so with a distinct “not collected” response and a coverage summary. An assistant is taught that “not collected yet” never means “does not exist”.
  • Predictable errors. One error format with a machine-readable code and a request identifier, so an agent can recover or report a failure precisely.
Abstract illustration of an assistant made of light nodes pulling a card from a structured catalog
Illustration: an assistant pulling one card from a structured catalog.
An assistant asksMAM answers with
“Find footage where someone mentions a free estimate.”Matching assets and the timestamped transcript moment, with duration, folder and permitted use.
“Show me clips with a blue truck and a ladder.”Visual matches ranked by confidence, each with a thumbnail and a playable proxy to check.
“Which files have not been analysed yet?”An analysis-status filter and a coverage report, so the assistant knows what it cannot yet see.
“Is this clip safe to publish?”The asset’s permitted-use value and rights state, computed as the strictest applicable rule.
“Pick background music for this reel.”Music tracks from their own category, kept separate from voice recordings so the two are never confused.
Least privilege

Read-only by default

Agents use a service credential that can search and read, and nothing more. Starting scans, changing rules, approving reviews or touching settings needs a separate operator credential that is only used when a human asks for that exact action.

Privacy rules for machines

Guardrails written down

The guide forbids printing credentials, modifying originals, sending media to outside AI providers without a policy, and sending personal data such as phone numbers or e-mail addresses to any external service. Those fields come back masked from the API.

How it works

Point MAM at a folder and it does the rest. Cheap steps run first, expensive analysis runs only where it is wanted, and every result is stored against the exact version of the file it came from.

  1. ScanWalks the approved folders read-only, noticing what is new, changed, moved or missing.
  2. FingerprintA content hash identifies each file, so the same bytes in several places become one asset with several locations.
  3. ProbeDuration, codecs, frame rate, dimensions and audio layout are read from the file itself.
  4. DerivativesThumbnails and light proxies are generated for fast, safe previews.
  5. TranscribeSpeech-to-text produces timestamped transcripts for video and audio.
  6. Read and seeOn-screen text is extracted and a vision model labels objects and colours from sampled frames.
  7. SynthesiseA summary merges transcript, text and visuals into one timestamped account with topics and entities.
  8. Group duplicatesPerceptual hashing groups near-identical files, even when they are re-encoded.
  9. ServeEverything is searchable and available to people and AI through the same API.
Abstract illustration of raw files flowing through glowing processing nodes and emerging as indexed cards
Illustration: raw files in, indexed cards out.

Per-folder control over cost

Each tier of analysis can be set per folder to run automatically, run only on demand, or stay off. A folder of music might get only the basics; a folder of recorded interviews gets full transcription; a folder of product photos gets visual labels. Sampling rate and provider are set the same way.

Analysis that uses an outside provider is governed by a data-egress policy and a daily call cap that a human controls. Local engines are the default, and a stronger speech-to-text engine on a more powerful machine can be switched in with automatic fallback to the local one.

Incremental

Rescans are cheap

A rescan skips files whose size and modified time are unchanged and only backfills what is missing, so keeping a huge archive current costs a fraction of the first pass. Reading structured sidecar files, such as call metadata, ran at about 14 milliseconds per file, 5,887 files in 84 seconds in a dry run.

Polite

Yields to the host

A yield policy watches processor load, memory, disk space and database connections, and defers or refuses background work when the machine is busy, with hysteresis so it does not flap. A pause switch and a hard stop file give an operator immediate control.

What it extracts

Technical

File facts

Size, duration, codecs, resolution, frame rate, orientation and audio layout, plus every location where the same content lives.

Spoken

Transcripts

Timestamped segments with word-level evidence, and a clear distinction between “no speech detected” and “not analysed yet”.

Written

On-screen text

Optical character recognition on sampled frames, so a sign, a slide or a caption becomes searchable.

Visual

Objects and colours

Per-frame descriptions and labels from a vision model, with confidence values and a published vocabulary for search.

Conversations

Call analysis

For recorded calls with a sidecar, an outcome, interest level, objections and next step, plus talk-time metrics computed from the timestamps rather than guessed. Speaker roles are flagged as a machine estimate, and phone numbers are always masked.

Meaning

Synthesis

A combined summary with topics and entities, so a ten-minute video becomes a few lines an assistant can reason over before it decides to open anything.

Abstract illustration of an audio waveform turning into lines of text-like bars with time markers
Illustration: sound becomes searchable text with timestamps.

Safety invariants

A catalog is only useful if people trust it with the only copy of their footage. These rules are enforced by design, not by good intentions.

Abstract illustration of a media cube sealed in glass with an append-only ledger of light beads around it
Illustration: the original stays sealed; every action is logged.
  • Originals are never modified, moved, renamed or deleted. The storage is mounted read-only for the service, and the code never writes to a source folder.
  • Catalog rows are never deleted. A file that disappears becomes “unavailable”. An outage or a permissions error is never mistaken for a deletion.
  • Every mutation is audited. Imports, analysis runs, reviews, rights changes, settings and exports leave an append-only record.
  • Results are tied to file versions. Analysis is reused for unchanged files and invalidated when a file changes.
  • Handoff by path. The system hands an editor a reference to the original and a time range. It does not copy or rewrite media.
  • Drafts are not raw material. Edited exports can be catalogued for context but are excluded from raw-footage searches.
  • Break glass. A single documented command stops background work immediately and reports a verdict, and an agent may only use it when a human says so.
Rights

Conservative by default

The permitted-use value is the strictest of the asset’s own rule and every collection it belongs to. A recognisable person without verified consent is never reported as cleared, and an editorial approval never grants commercial rights.

Privacy

Personal data stays masked

Phone numbers in call metadata are masked in every response, and the reveal path is restricted to an operator. Personal fields are kept out of prompts and external services.

Operator review

Machines find candidates. People decide. The review workflow records an editorial decision on an asset or on a segment of one: approved, rejected, needs review or needs changes.

  • Optimistic concurrency. Every decision carries the revision the reviewer saw. If someone else changed the item first, the server refuses with a conflict instead of silently overwriting.
  • Server-side identity. The reviewer’s identity comes from the credential, never from the request body.
  • Atomic audit. The decision and its audit record are written in one transaction, so there is never a decision without a trail.
  • Separate from rights. A review is an editorial opinion. Commercial use still requires current rights, an available source and approved transcript evidence.

Operations: backups, drills and self-healing

  • Backups with proof. The database is dumped, table-of-contents checked, hashed and written with a manifest. Retention keeps recent dumps and always preserves a minimum number.
  • Restore drills. A drill restores the newest backup into a scratch database, compares counts with the live one, then drops it. In the recorded drill, at about 4,700 assets, the backup took roughly 2 seconds, the restore under 2 seconds and the whole drill under 15.
  • Regenerable by design. Thumbnails, proxies and model caches are not backed up because a rescan rebuilds them. Originals are protected by their own storage.
  • Self-healing scans. Jobs are leased, retried and parked with a reason and a next-try time. A stopped worker finishes its current item and requeues the rest. Incremental scans simply pick up where the archive changed.
  • A progress dashboard. Queue depth per tier, running jobs, last scan, failure counts and provider usage against its cap. An open, aggregate-only view contains no names, paths or text, so it is safe to share.
Abstract illustration of gauges, a database cylinder with a backup arc and a restore arrow
Illustration: backed up, restorable, observable.
The progress dashboard showing analysis tiers and queue state
The progress dashboard: how much of the archive each analysis tier has covered, and what is queued.

The app, on a phone and on a desk

Designed so the same catalog works wherever the question comes up. Tap any image to enlarge it.

Three phone screens of the catalog: library, search and dashboard
Library, search and progress on a phone.
The asset grid on a desktop browser

Gallery and detail in one view

Results appear as a gallery of thumbnails. Selecting one opens its details beside the grid: technical facts, locations, rights, collections and, where analysis exists, its transcript, text and labels. On a phone the same pieces stack into a single column with a collapsible library panel.

Full feature list

Catalog and identity

Content-hash identity, many locations per asset, version tracking, availability states, and reconciliation of new, changed, moved and missing files.

Derivatives

Thumbnails, 720p proxies and audio proxies, with byte-range support for smooth video seeking, generated with ffmpeg and skipped for very long media.

Analysis tiers

Transcript, visual, on-screen text and synthesis, each switchable per folder, each stored with the analyzer and version that produced it.

Search

Phrase search, visual search with a vocabulary, filename and folder browsing, and filters by type, status, date, source and collection.

Collections

Curated sets with subject names and permitted use that cascade down to their members.

Duplicates

Exact and perceptual duplicate groups, with a quarantine area that is excluded from scans by default.

Intake

A controlled intake path for new files, with decisions recorded and files filed into the right place by an operator.

Sidecars

Structured metadata files that sit beside recordings are read into the catalog, with personal fields masked.

Reviews and audit

Versioned review decisions, an append-only audit log and role-separated credentials.

Provider gateway

Local and cloud models behind one gateway with per-tier provider choice, a data-egress switch and daily caps.

Agent surface

OpenAPI description, an agent guide, a read-only tool server and an open aggregate progress feed.

Operations

Backups, restore drills, retention, a yield policy, pause and stop controls and a progress dashboard.

Technology, in generic terms

NeedTool category
API and workersPython services, JSON over HTTP, OpenAPI description
Catalog, jobs and auditPostgreSQL with numbered migrations
Probing, thumbnails and proxiesffmpeg and ffprobe
Speech to textLocal speech-to-text models, optional GPU engine with fallback
On-screen textOpen-source OCR
Visual labels and synthesisVision and language models behind a provider gateway
Front endStatic, mobile-first web app served by the same API
StorageNetwork attached storage, mounted read-only
PackagingContainers on a single server
AI accessBearer-token API, agent guide and a Model Context Protocol adapter

Status

Today

In production, an older project

MAM is one of the earlier systems I built, and it is running now: scanning, analysing and serving a large working archive every day. Later projects, including the content engine on this site, build on its ideas.

Where it is heading

More coverage, deeper hand-off

Broader visual and on-screen text coverage, richer editor integration, and individual sign-in with assigned review roles for larger teams.

Want something like this? Get in touch.

If your team loses hours to searching folders, re-watching footage or wondering what you are allowed to use, a catalog like this pays for itself quickly, and it makes every AI assistant you add afterwards far more useful.

Tell me what you have, how much of it, and what you wish you could ask it.