Skip to main content

millet-record

CI PyPI PyPI Downloads

Lightweight capture-only subset of millet (formerly meetscribe-record).

Records dual-channel meeting audio — your microphone on the left channel, system/remote audio on the right — into a single stereo WAV via PipeWire or PulseAudio + ffmpeg. Ships none of millet's transcription, diarization, summarization, or PDF dependencies; install footprint is ~30 MB instead of ~3 GB.

Full release history in CHANGELOG.md. Named after the Ottoman millet system. Part of the vezir ecosystem.

When to use which

Need Install
Just record audio (e.g., for vezir thin clients, or local archival) pip install millet-record
Record + transcribe + diarize + summarize + PDF pip install millet-pipeline (depends on millet-record)

Install

pip install millet-record

System deps (apt example):

sudo apt install ffmpeg pulseaudio-utils

CLI

millet check                   # verify prerequisites
millet devices                 # list audio sources
millet record                  # record dual-channel WAV; Ctrl+C to stop
millet archive                 # compress past WAV recordings to OGG/Opus

millet record writes to ~/meet-recordings/meeting-YYYYMMDD-HHMMSS/...wav unless -o is passed. See millet record --help for options.

When millet-pipeline is also installed, additional subcommands (transcribe, run, label, sync, gui, ...) become available under the same millet command via Click entry-points.

System-audio silence warning (0.5.1)

The system-audio monitor is resolved once, at session start. If the meeting app's output is later routed elsewhere — switching apps mid-call, plugging in headphones — that monitor goes silent while your mic keeps the stereo file growing. The remote side is lost with no process failure and nothing in the output to suggest it.

millet record now samples per-channel RMS while recording and warns inline the first time the system channel goes quiet:

⚠ System audio silent — remote participants may not be recorded
✔ System audio restored

session.json records system_ever_active and system_silent_detected, so a downstream tool can flag a recording that captured only one side. An unreadable sample counts as unknown, never as silent, so a transient ffmpeg hiccup cannot produce a false alarm.

Crash resilience (0.6.0)

Recorders run start_new_session=True-detached on purpose: if the controlling app (TUI, CLI) crashes, the recording survives — the meeting is still happening. 0.6.0 adds the bookkeeping to make that survivable in practice:

  • recording.lock in the recordings root blocks a second concurrent recording (RecordingInProgressError, PID-checked, stale locks auto-reclaimed; MEET_RECORD_LOCK=0 disables).
  • <stem>.recorder.json identifies the live recorder process (pid + owner pid + start ticks); removed on clean stop/pause.
  • <stem>.session.json is now written at recording start (status: "recording") and rewritten at stop (status: "stopped").
  • millet_record.capture.find_interrupted_sessions(root) scans a recordings dir for sessions that never finished, distinguishing in progress / orphaned recorder / interrupted; and millet_record.capture.recover_session(dir) stitches leftover chunks into the final WAV (repairing SIGKILL-damaged headers).

Legacy meet command (removed in 0.6.0)

The pre-rename meet console script and the meet_record import alias were removed in millet-record 0.6.0, after the announced two-minor-version deprecation window. Use millet / millet_record.

Architecture

millet-record exposes a stable package millet_record containing:

  • millet_record.capture — ffmpeg-backed dual-channel capture (RecordingSession, watchdog, drain buffer)
  • millet_record.audio — stereo channel reading, per-channel RMS sampling (system-silence detection), ffmpeg-based audio compression
  • millet_record.utils — formatting helpers (HH:MM:SS, file sizes)
  • millet_record.languages — language constants used by capture flow
  • millet_record.cli — millet console-script entry point

millet-pipeline depends on this package and re-uses these modules, plus its own heavy modules (transcribe, label, voiceprint, summarize, sync, pdf, gui).

macOS (Apple Silicon)

pip install millet-record on macOS 14.4+ Apple Silicon ships a bundled meet-record-mac Swift sidecar that captures via Core Audio Process Tap + AVAudioEngine — no PulseAudio, no BlackHole, no extra install. millet record uses it by default.

Note: the Swift binary itself is still named meet-record-mac for now — renaming would require macOS code-signing bundle-path changes that aren't worth doing as part of the package rename. Tracked as a follow-up; doesn't affect end users.

First run prompts for Microphone and System Audio Recording permissions via the standard macOS TCC dialogs; both are required for full dual- channel capture (mic on left, system on right). See mac/README.md for the sidecar's CLI surface, level analysis recipes, and environment variables.

On macOS Sequoia 15+, Apple removed the manual + button from System Settings → Privacy → Microphone, so users can no longer add permissions before running the app. Instead, run millet check: it invokes the sidecar's request-permissions routine, which calls AVCaptureDevice.requestAccess(for: .audio) to trigger the TCC dialog, and reports which permission is still missing. (request-permissions is a subcommand of the bundled meet-record-mac binary, not of the millet CLI — millet check is the user-facing entry point.)

Set MEET_RECORD_MAC=0 to force the legacy ffmpeg+PulseAudio path (diagnostic kill switch only — that path will fail on a stock macOS install because there is no PulseAudio device). Intel Macs and macOS < 14.4 are unsupported.

License

GPL-3.0-or-later, same as parent millet.

Metadata

Release files for millet-record 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for millet-record 0.6.1
File Size Uploaded Provenance Actions
millet_record-0.6.1.tar.gz 58.6 kB With provenance Details for millet_record-0.6.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for millet-record 0.6.1
File Interpreter ABI Platform Actions
millet_record-0.6.1-py3-none-macosx_14_0_arm64.whl Python 3 none macOS 14.0+ ARM64 Details for millet_record-0.6.1-py3-none-macosx_14_0_arm64.whl
millet_record-0.6.1-py3-none-any.whl Python 3 none any Details for millet_record-0.6.1-py3-none-any.whl

Total release size: 331.8 kB

Release files / millet_record-0.6.1.tar.gz

Download URL millet_record-0.6.1.tar.gz
Size 58.6 kB
Tags Source
SHA-256 checksum
How to use checksums
758fdb59fdef33c212743e78b977e542dec177804cb410e63fb9f65830da689a
BLAKE2b-256 checksum
How to use checksums
2db3387fd139973c142cb4d24dc80ddda524b01fc2340b009ffeee463cef9ef4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Release files / millet_record-0.6.1-py3-none-macosx_14_0_arm64.whl

Download URL millet_record-0.6.1-py3-none-macosx_14_0_arm64.whl
Size 136.6 kB
Tags Python 3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
39dae370d64bc7829a3bd245041e9487baf8a98b15414f01a5487698da710d1f
BLAKE2b-256 checksum
How to use checksums
4ea42790a13de4b4db7880c85c4ae535db40f785109a51eff4596f4e184406d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Release files / millet_record-0.6.1-py3-none-any.whl

Download URL millet_record-0.6.1-py3-none-any.whl
Size 136.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a10949665b95ac10ab89de143319f6fac9049d8a2d07ee1cc2a022a45d1935af
BLAKE2b-256 checksum
How to use checksums
35f039a969bf10c3ad9691431eb19a145397bd70ed9e36c4fec2c03c94d5fb37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Security for millet-record 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for millet_record-0.6.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page