Blog

AI implementation

Your Video Archive Needs Timecodes. Build the Search with Clipstral and DigiRAG

Digitrans · · 5 min

A loupe enlarges a frame of an orange canopy opening in a film archive.

AI-generated illustration of a moment selected from a film archive.

AI-generated editorial illustration.

In this article

An editor has an hour to find a shot of a crew opening an orange canopy beside a river. She knows which event it was. The archive has six cameras, three days of footage and a spreadsheet that labels most of it “setup”. If her search returns an hour-long recording, she still has an hour of work.

A good result is a clip she can open at 00:17:42, with the original file and the rights record beside it. That is a useful target for a multimodal search pilot. Mistral’s Clipstral can find likely scenes. The way you index the archive determines whether people can use what it finds.

Index moments people can open

A multimodal embedding gives a photo, a video clip or a piece of text a set of coordinates in the same mathematical space. A description such as “an orange canopy unfolds beside a railing” can land near footage showing that action. A still frame from a rough edit can serve as the query too. Clipstral is Mistral’s 1.24-billion-parameter model for this job. It returns 1,024 numbers per input and processes a clip as a sequence of sampled frames. Mistral uses 16 frames in its reference recipe. Mistral’s release and benchmarks.

Give each short clip an original asset ID, its start and end times, and a link that can open the source at the right moment. Keep the same asset ID on its captions, stills and rights records. Index stills and useful text alongside the segments. You can try overlapping clips to catch actions that span a cut, and adjust the duration or sampling rate after inspecting missed scenes.

Index spoken material through a separate timestamped transcript. A German query can retrieve an uncaptioned visual clip from a French production, while the transcript can tell the editor where the speaker actually named the sponsor. Keep exact identifiers, dates and rights in fields your search can filter directly. Clipstral model card and inference examples.

Test the archive with questions you can mark

Select a small batch with known answers before processing the full library. Mark the relevant start and end times and include shots that look almost right. Try the same intent in the languages your team works in, record whether the answer appears in the first five results, and check how far the suggested timecode is from the moment you marked.

Example test cases for a multimodal archive
ArchiveQueryWhat a good result includes
Event productionAn orange canopy starts to open beside a river.The start of the action, the source recording and the clearance record for the proposed use.
Property inspectionsUse a recent image to find earlier pictures of a damaged loading-bay door.Candidate images filtered by site and date, plus the corresponding repair note.
Product developmentFind where a prototype tips during a tray-loading test.The relevant test segment, the prototype revision and a link to the operator’s notes.

Include questions for which there is no usable result, such as a take that was never filmed or a shot the viewer lacks permission to open. For an editor, a shortlist is useful. For an agent making a decision about clearance, the asset register supplies the authoritative answer.

Give a DigiRAG agent a search tool

Digitrans can connect a Clipstral-powered media index to DigiRAG through an authenticated search tool. In the DigiRAG agent designer, a workflow can send the query and filters to the media service, then use DigiRAG retrieval to look up relevant passages in authorised text collections. The media tool should return asset IDs, source links, time ranges and available metadata. It should enforce archive access before returning results. DigiRAG’s guide to connecting external tools.

A production assistant could assemble three candidate takes with timecodes and show the applicable licence next to each one. An inspection agent could attach comparable photos and work-order references to a review task. You can configure a routine internal action to run directly within its granted permissions or wait for review where the context calls for it.

Choose where to run the embedding model

Teams without a GPU can use Clipstral through Mistral’s API or OpenRouter. The media service uses the provider endpoint and credentials and sends the inputs for embedding. Where the archive needs to stay on the company network, start with Mistral’s Apache 2.0 weights and Python inference examples, then serve the model behind an internal endpoint.

For short clips at moderate resolution and small batches, an affordable 8 GB consumer GPU is a starting point. A 16 GB consumer card provides more headroom for bigger batches and higher-resolution footage. Measure indexing speed and peak memory on representative clips. A collection’s size chiefly affects the amount of storage and total indexing time. Resolution, frame count and batch size matter for memory use on each run.

Start with one archive, five questions with known timecodes, and one result someone needs to use. Talk to Digitrans about a Clipstral and DigiRAG pilot.

Related product

DigiRAG

Build agents in plain language, search your knowledge and handle mail, tasks and document outputs in one dedicated platform.

Explore AI consulting and implementation ↗Open product page