Skip to the content

Transcribe service

Any video or meeting in, a searchable record out, with every run costed

Role
Solo, directing agents
Status
In progress
Source
Private repository
Stack
PythonFastAPIReactTypeScriptffmpegSQLiteOpenRouter
Illustrative output of one run on a fictional 47 minute product meeting. A strip of frames from the screen recording carries timestamps, with repeated screens marked as duplicates, above a timeline of the apps on screen. Below are a diarised transcript excerpt with Speakers A, B and C, four de-duplicated screenshots named by their time, and the merged meeting record with speech, screen activity and screenshot entries.
Illustrative content: a fictional meeting, not a real recording.

In numbers

4

outputs from one run: transcript, screen timeline, screenshots and one meeting record

~90min

longest recordings it was hardened on, in three languages including Bulgarian

1

call site for every model request, with pooled key rotation

2

billing modes, personal or company, declared on every job with no default

The problem

Decisions live in meetings, demos and screen recordings, and a transcript alone loses what was on screen. A recording I cannot search is a recording I will not use. I needed a record I could audit: who said what, when, and what was shown at that moment.

The approach

The idea is one pipeline that turns any video or meeting into a single record. The audio becomes a diarised transcript. The video is cut into segments, each segment goes to a model to build a timeline of what happened on screen, and screenshots of the moments that mattered are grabbed, de-duplicated and described using the transcript around them. A final merge joins everything into a meeting record. I built it first as a skill that Claude and Codex could run and hardened it on recordings of up to about 90 minutes in three languages, including Bulgarian. Then I wrapped it as a local service with a job ledger and kept the command line.

Job page of the transcribe service for a demo recording of a weekly sync: status done, a pipeline strip with speech, video and screenshot stages, a detail pane, a log tail and a list of output files such as transcript, meeting record and meeting notes.
Demo data only.

How it works

  1. Parallel stages, one merge

    Transcript and video ingestion start together. Each video clip goes to the model as soon as ffmpeg has cut it, and a segment's screenshots are picked as soon as its events exist. One merge barrier, which can be re-run, assembles the record.

  2. Screenshots only for moments that mattered

    Screenshots are picked from the timeline's events, grabbed and de-duplicated against a hash set shared across segments, so repeated frames collapse to one image. Gap settings keep the cost of a long recording low.

  3. Who is speaking

    A roster file says who speaks and in which languages. A folder with one photo per person lets the pipeline name people on camera. Camera footage and screen recordings are treated differently.

  4. One call site and a repository without keys

    All model calls go through one function to OpenRouter, which pools API keys, rotates on 402 and 429 responses and retires a key on 401 and 403. A test reads the source back to confirm that no key lives in the repository.

  5. A bill for every run

    A job must declare a billing mode, personal or company, and there is no default. The mode decides which keys the run may use and wins over the environment file, and the ledger records what each run cost.

  6. Gaps get refilled

    Failed transcript windows, video segments and screenshots are retried at the end of their stage. A retry reuses the good parts and redoes only what failed, so one bad call does not cost a whole recording.

Jobs ledger listing two demo jobs numbered 001 and 002, with columns for media, status, billing, stage, length, cost and creation date, and buttons for Scan and Import and New Job.

What I chose, and what lost

Chose

A billing mode declared on each job

Over

A default taken from the environment file

The mode is visible on the job and a stray environment setting cannot override it.

Outcome

I use it every day. The service has a licence, a contributing guide and a test suite that covers the parallel stages, the billing environment and the check that no key sits in the source. A speaker-harmonising defect that cost 776 labels over two runs was still open in the skill version it grew from. The recordings it was validated on belong to clients and teams, so none are shown.

What comes next

Run it on a fresh set of recordings and confirm the speaker defect is gone.